This is the place where the incoming SMS gateway can be defined. Before doing this you need to be sure you are subscribed for incoming SMS services from your SMS gateway provider. This is also called as Incoming SMS Messages callback URL. Once you subscribed for incoming SMS they will provide you a short/long code and also a master keyword. They also give you the URL string to post any incoming message.
For example if you bought an incoming API from www.textmagic.com then the incoming callback URL string would be as below
The variable “from” and “text” are the main variables.
Configure the SMS gateway as below
For example if you bought an incoming API from www.trumpia.com then the incoming callback URL would be as below
The tags “keyword”, “phonenumber” , “keyword” and “contents” are the main variables
Configure the SMS gateway as below
Field Definitions Gateway Name – This is the name of the gateway. This is just for reference
Gateway Type – Specify how the URL parameters are given. Some gateways offer xml type of messages.
XML Var – In case of xml type specify which variable holds the values.
Keyword Var – Specifies the variable of the keyword that holds the keyword value. It is not a mandatory field.
From Name Var – Specifies the variable of the sender mobile number.
Message Var – Specifies the variable of the message.
Active – You can define any number of gateways but it is possible to activate only one.
IP Address – This is to avoid spamming. In our example I specify the local host address. But in production scenario, you need to get the proper IP address of the gateway from the incoming URL is launched. Contact your SMS Gateway provider to get the IP address
Please E-mail your doubts to
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
.