Alex Rivera | Logout

Receiving SMS over SMPP

Asked 2011-01-08T09:08:18.283
10

I have a project coming up where I need to send and receive messages through a specific mobile operator, which only provides an SMPP interface. The whole project will be a hosted website. I have already read quite a lot, but I do not yet quite understand what is actually needed from my side to use the protocol.

Should my application try to maintain a constant connection to the smpp? Can I simply connect, send a message and then disconnect?

Are receiving messages based on push or pull?

Thanks for the help.

Edit
Report

1 Answer

8

SMPP is a peer-to-peer protocol. That should mean that SMS Gateway (your side) and SMSC (your mobile operator) need to have a proper bind/connection established. Even when there are no SMS or DLRs to send/receive, there is a continous exchange of smpp PDU (enquire_link/enquire-link_resp) that ensure that the bind is established. In detail, if you send an enquire_link PDU and you get no response (enquire_link_resp) the bind is broken. Your sms won't be delivered (will remain enqueued in your gateway store), and you won't receive MOs (incoming sms) or DLRs (delivery report). To re-establish the connection you should re-initiate the connection.

So, my answer would be that you need a constant connection to SMSC.

answered 2013-06-30T11:21:17.020

Your Answer