SENDER ID in Asterisk send gsm SMS - sms

i'm new to asterisk,i wanted to send an SMS using the command
Action: smscommand command: gsm send sms $port+1 $destination "$message" $id
and i did it, the message reach to destination successfully.
What i'm trying now to achieve : is to add a SENDER ID , but by looking into the docs i didn't found any way to do that using the command gsm send sms
any help please !!
thanks in advance
here is what i'm talking about

You can't send text id or short number if you are using usual sim card and gsm gate. Your gsm provider network will not accept any id, it will be selected based on your sim info.
If you need that, you need digital connection via SMSC or third-party sms gate connected via SMSC.

Related

Send and Read SMS through a GSM Modem using AT Commands from Websites

I working on a website which have function for sending SMS messages. What i know is the GSM modem use AT COMMAND to send/receive the message. I already have the modem but i can't find a way to sending the AT COMMAND from php script to the modem. Can someone give me a clear direction.
Many thanks.

GSM SMS Gateway Buying Tips

I want to build a java application which will receive SMS & will reply automatically using text from database. I want to use GSM SMS Modem for this. I'll send/receive abt 200-250 SMS per hour. I have no idea about GSM SMS Modem. Can you give an idea which features I'll need to achieve my goal?
Thanks in advance.

send and receive SMS over PSTN

I want to know how to send and receive SMS via PC modem over PSTN? Is there any application to do this for me or what's the protocol of this process?
If you are just trying to send SMS via your PC try Google Voice. It is free and it lets you send and receive SMS from a web browser.
You need an operator who supports fixed line SMS and you need a modem that can send the SMS such as:
http://www.ntstelecom.co.uk/SMSmodem.htm
An application which can send SMS's using a GSM modem and AT commands will probably be able to use the above, in place of the GSM modem, to send the SMS over the PSTN.

Receive SMS like a modem

I have an application which can only send SMS to a serial AT modem, but I want to send this SMS via an web service.
My idea is to connect a virtual software modem to the (virtual) serial port of the application and receive the SMS in software, then I would pass this SMS to the web API.
My problem is, that i nether find a software which can recieve SMS like a modem nor find a library which offers ability to act like a modem.
Any ideas?
Your existing application expects to connect to a serial port. That means you need some kind of virtual serial port. Google will give you perfectly usable hits for that term. Any of those libs should give you a character stream.
Parsing this stream should be fairly straightforward. You can toss out all modem initialization, and just focus on the SMS command. In theory, there's a "write" and a "send" command, but you can safely assume that a PC application will send any SMS that it writes. It's not like PC's make typo's. Hence, you just need to parse the AT+CMGW command; all other commands can get a standard OK response.
Grab the phone number and message from the AT+CMGW command, and pass it to the webservice. Done!

Sending an SMS myself

I'm taking shots in the dark here. I'd like to create a web service where eventually I send an SMS by using my own hardware. I'm not sure what I need in order to send an SMS myself. I don't want to use any of the existing SMS send services out there, I need to be able to send these SMS myself.
It looks like there's one opensource project in particular that deals with this, "Kannel":
http://www.kannel.org/
what I don't understand is, do I need to get a GSM modem to be able to send SMS? Do SMS gateways (like Kannel) eventually need to get to a GSM modem to send messages, or is there some other hardware you need to be able to actually send the messages?
Thanks
Just find an online SMS Gateway. These Gateway providers are your best bet since they have handled all the heavy lifting for you. Just utilize their API and you should be able to do whatever you want. Some of these gateways are free and some are not. I've included a short list below.
https://www.clickatell.com/pricing/message_cost.php
http://www.zeepmobile.com/
(Carrier based SMS transit)
http://en.wikipedia.org/wiki/List_of_carriers_providing_SMS_transit
I'm sure there are a ton more, but this will get you started.
You always need a GSM modem to send the SMS unless you use a provider that handles this for you (but they usually want money for this).
If you want to setup your own Hardware infrastructure, you have to get GSM Modem, A Sim card and use it to send SMS.
Other option, which I recommend, is to use SMS getways and use
SMPP protocol
XML or HTTP Apis
In later, you dont have to create any infrastructure and the starting cost will be very low compared to GSM Modem. You can get up and running in a day.
Note : to reduce the SMS costs, you should choose different getways for different countries. In India you can easily find getways who provides SMS at merely 3 paise
You will have to download an API that handles the sending and recieving of messages for you. I once used this in one project where i had my GSM Phone connected to my computer thru one of the COM ports. Configured the API to communicate thru the COM Port to listen to any incoming text messages also send messages thru my GSM Phone. Here is a great link to the resources i used for that project. I hope this will help. http://www.codeproject.com/KB/cs/SMS.aspx

Resources