Support forum

Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
DLR problem when sending to same gw which have 4 binds
sp_NewPost Add Reply sp_NewTopic Add Topic
May 7, 2020
1:02 pm
Mixa
Guest
Guests

Hello Henk,

We successfully set HTTP callbacks like you told us and now DLR works like it should.

Thanks for your support.

May 6, 2020
10:19 am
Henk Helmantel
Admin
Forum Posts: 1159
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

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:

if ($_REQUEST['action'] == 'validate_user') {
// 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

May 5, 2020
4:48 pm
Mixa
Guest
Guests

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

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 565

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 928

Posts: 3192

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1159