Support forum
1:02 pm
Hello Henk,
We successfully set HTTP callbacks like you told us and now DLR works like it should.
Thanks for your support.
Hello Mixa,
The SMPP Connector does not use the IP number of the original connection to send the delivery reports, it just uses the user ID (login name) of the sender. If there are multiple connections to the SMPP Connector with the same user ID, the delivery reports are sent randomly to all the active connections.
There is no option in Diafaan SMS Server to force the delivery reports back to the same IP number but if you use the HTTP callbacks for user validation you can use it to include the IP number in the user ID so that delivery reports are always sent back to the same user ID and the same IP number. The HTTP callback script looks something like this:
// validate user and return 'result=0' for invalid users
echo 'result=1&user_id='.urlencode($_REQUEST['user_id'].':'.$_REQUEST['ip_number']);
}
else if ($_REQUEST['action'] == 'accept_connection') {
// validate IP number and return 'result=0' for invalid IP numbers
echo 'result=1';
}
If the user also has to receive inbound messages you need to include the IP number in the user ID for inbound messages as well, otherwise the SMPP Connector won't be able to deliver them.
Regards, Henk
4:48 pm
Hello,
I have problem with DLR. Situation is next.
I have 1 SMPP Connector on which i have 4 binds from different IPs and i sending to 1 SMPP gateway messages.
Depend from situation to situation sometimes DLR is sent back to correct IP sometimes not.
How I can set Diafaan to send DLR to correct IP from which message is sent from same connector.
Regards
Most Users Ever Online: 529
Currently Online:
5 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 680
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1155
Posts: 3945
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1510