|
||||
SMPP to SMS |
Using SMPP to send SMS messages
You can easily connect to our servers using the Industry Standard SMPP protocol. The SMPP 3.3 protocol specification is available here in PDF format as are the SMPP 3.4 and SMPP 5.0 specifications. We particularly draw your attention to the SMPP Acceptance Test Plan mentioned towards the bottom of this document. Completing the Acceptance Test will ensure that your servers and our servers communicate correctly. IntroductionYou can easily connect to our servers using the Industry Standard SMPP protocol using your own login credentials. Although the SMPP API is mainly aimed at high-volume customers, we do not currently put any restrictions on its usage. The current API supports the following SMPP version 3.3 and 3.4 Protocol Description Units (PDU’s):
You must honour the unbind PDU by issuing a unbind_resp PDU before disconnecting. Binding Port 2775 on both s3.itsarrived.net and s4.itsarrived.net are open for SMPP connections. You should bind to both servers as either one may be taken off-line for maintenance. Binding to both will greatly enhance your service reliability. When you are using our 2-way MO service it is essential that you are bound in either as a receiver or a transceiver to both servers. The following credentials should be used in all bind PDU's:
Submitting messages Our SMSC default alphabet (data_coding=0x00) is the GSM 03.38 7-bit ASCII alphabet.
We support the SMPP version 3.4 message_payload (tag ID 0x0424) optional parameter. This allows you to send us messages that are longer than160 characters. We will split long messages before passing them to Network Operators. The message ID is returned in the sm_submit_resp PDU as an 8-digit hexadecimal number. ReceiptsTo receive delivery receipts, you need to configure SMPP as the delivery mechanism for delivery receipts on your account. You can do this via the website: log into your account and select "Configure Services" => "Delivery Receipts Self-Provisioning". This will route all delivery receipts for messages sent on your account to your SMPP Receiver or Transceiver bind. The format of delivery receipts is as given in Appendix B of the SMPP v3.4 specification. The message ID in the delivery receipt is given as a 10-digit decimal number. If your SMPP Receiver or Transceiver bind is unavailable we will try to resend receipts for up to 24 hours. Error handling The SMPP API supports the SMPP command_status as specified in section 5.1.3 of the SMPP Protocol Specification v3.4 In addition to the standard command_status values it is important that you expect and deal correctly with the command_status 0x00000400 – ESME_RNOCREDIT. This code will be returned when you are out of credit. If you receive this code in response to a bind PDU you should NOT try to rebind into either server until you have sufficient funds in your account. If you receive this code as a response to a submit PDU you should NOT try to resend the message to either server and an unbind PDU will be issued which must be honoured. Standoff If your Bind or Submit PDU is refused and you wish to resend it, please adhere to our stand-off strategy. You should wait for 30 seconds up to a maximum of 3 attempts after which you should wait for 5 minutes before resending the PDU. Do not try to resend PDU's that have been refused for a genuine reason like invalid number [ESME_RINVDSTADR (0x0000000B)] or out of credit [ESME_RNOCREDIT (0x00000400)]. Mobile Numbers for testing The number range 07700 900000 to 900999 is designated by Ofcom for Drama purposes i.e. for Radio and Television. This range of 1000 numbers can be used for testing and no messages will be sent or charges incurred. Systems for testing For testing only, the primary bind should be to a test system whose IP address will be advised. Access to the test system will be provided on request. SMPP Acceptance Test Plan We strongly encourage all customers with SMPP connection to work with us to complete our SMPP Acceptance Test. Passing this test will ensure that our systems are configured correctly and thus ensure the best possible service. If your system does not behave appropriately, for example by repeatedly retrying failed messages, then we reserve the right to block your access until the problem is resolved. We would much prefer to work with you to prevent such problems occurring in the first place. A pf copy of the SMPP Acceptance Test Plan Version 10 is available here.
|
|||
| SMS This page was last modified at 10:52 UTC on Tuesday June 09, 2009 | ||||