There is no simple way in Diafaan SMS Server to forward received messages to one specific connector when they are a reply to a previously sent messages. Received messages will normally be forwarded to all connectors that have the inbound routing enabled for the receiving gateway. The SMS systems does not support the concept of a reply so it is never clear that a message is a reply to a previous message or just a new message.
It is possible to use the HTTP callbacks functionality of Diafaan SMS Server to specify a specific connector (list) but for this application that means that you have to use a (PHP) script to store all outbound messages to be able to match inbound messages and see if they are a possible reply. This is not easy to set up.
Henk, thanks for answering my query, what I was really querying is the following:
my server has x modem for sending messages, I have two smpp connectors that send messages through those modems, when a response arrives to the modem, the response is delivered to both smpp, as I can send it only to the one who sent the last one.
I hope it is better understood
I am not sure I understand your question correctly. When Diafaan SMS Server sends a message with gateway g1, a response from the phone should also be received by gateway g1.
Diafaan SMS Server delivers the received (response) messages to all the connectors that are set up to receive the messages from this gateway.
Please let me know if I have not answered your question in the way you expected.
Hello, we need to know how to deliver the sms response to the SMPP gateway that sent it, I have the g1 and g2 gateways. If g1 sends an sms to number x and it responds, how do I deliver that response to g1 and not both?
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 575
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1188