Support forum
Hello Bernd,
The easiest way to make sure that the received messages only go to the correct connector is using two gateways and route the messages to/from connector 1 only to gateway 1 and messages to/from connector 2 only to gateway 2. You can use two GSM Modem Gateways or two SMPP Gateways with a different return address.
There is no easy way to use only one gateway and still make sure that the received message is only routed to the connector which last sent a message to the sender phone number of the reply. The only option is to use the HTTP callback functionality in Diafaan SMS Server. The HTTP callback function can send an HTTP call to a PHP or ASP.NET script for every message that is sent and/or received. The script can store or change the message details before they are sent or routed back to the connectors. The script would have to store a list with the destination phone numbers of all sent messages and the name of the connector that initiated the message. When a message is received, the script looks up the connector name and sets the connector as the only destination for the message.
The SMS system does not know that a message is a reply to another message. That means that it is difficult to route the reply back to the original sender of the message. There is always a possibility that the reply is sent to the wrong user.
Regards, Henk
3:01 pm
Hello!
I try to use the web and smtp connector simultaniously and to assign the received sms to the local user according to the last outgoing sms to the number in question. However if the number had an outgoing sms by the smtp as well as the web connector, then any following received answer sms is received two times - by the smtp as well as the web connector. Can that get changed?
Thanks!
Bernd
Most Users Ever Online: 529
Currently Online:
2 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 672
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1141
Posts: 3899
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1488