kneodev / ksmppd

Kurt's SMPP Daemon (SMPP Server for Kannel)
Other
56 stars 38 forks source link

Responses from phones - question #152

Closed docelic closed 3 years ago

docelic commented 3 years ago

Heya,

I am trying to get ksmppd working and so far the outbound messages work fine. (By outbound I mean enterprise->user, i.e. those with X-KSMPPD-Routing-Direction: 1). Users can connect to the ksmppd port and send messages to phones.

But I don't understand how to send/generate the responses (User->Enterprise). I thought I could use the HTTP interface to send SMS messages (the /cgi-bin/sendsms thing), but this seems to be a push path, and it seems to always generate "outbound" msgs (Routing-Direction: 1).

How or where do I need to send messages so that they classified as Routing-Direction: 2 and delivered back to SMPP clients?

Thanks!