![]() ![]() Our phone number
+371 6-7887-000
|
||||||||||||||||||||||||||||||
SMS solutions / How to connectWe have developed several ways of notification about an SMS-query being received for customers' convenience: using SMPP protocol, alerting the client via e-mail and the most popular way - through HTTP protocol by using POST and GET methods.Distinctive features of an HTTP protocol connection Having received an SMS-query from a client, we perform two HTTP GET/POST requests for a prearranged script in your system or website to report the data at hand. The first request is meant to deliver the information about the messages received. Moreover, you can set any SMS price when composing a reply to the first request, which depends on the message text. http://www.yourpage.com/sms.php?sms-id=%sms-id%&operator-id=%operator-id%&from=%from%&to=%to%&text=%text%&service-id=%service-id% If you are willing to change the rate of an SMS-query, you will need to indicate that in the header: header("x-esteria-price: 1.25"); // pricing for 1.25 Ls header("x-esteria-price: 3.00"); // pricing for 3.00 Ls The price is indicated in local currency in X.XX format (otherwise the base service price is applied) The second request is identical to the first one with the exception of it containing an additional parameter charged=1, which implies that the money was successfully deducted from the client's mobile account or added to his/her phone bill, depending on the contract with the operator (postpay/prepay). http://www.yourpage.com/sms.php?sms-id=%sms-id%&operator-id=%operator-id%&from=%from%&to=%to%&text=%text%&service-id=%service-id%&charged=1 For your attention: We recommend providing the service to the client ONLY after receiving the second request. Otherwise ESTERIA does not guarantee payment for the respective SMS-query. Parameter interpretation:
Additional parameters can be employed for your convenience, if necessary. For example, service name or index number of the query for the current day/week/month. As for the SMPP protocol connection, all matters are discussed individually with every client. We try to meet every client's demands, in order to speed up the connection process and decrease the workload. For your guidance
We are always glad to help! |
|
|||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||