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
generate SMPP event on GSM-
sp_NewPost Add Reply sp_NewTopic Add Topic
May 21, 2016
1:45 pm
Henk Helmantel
Admin
Forum Posts: 1487
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The response 'result=1' to the 'message_out' callback causes the SMPP Connector to send a positive SMPP 'submit_sm' response. The response 'result=1' causes a negative SMPP 'submit_sm' response. A positive SMPP 'submit_sm' response does not allow an error code so the 'error_code' response parameter in the HTTP callback response is ignored in that case.

The response to the 'message_out' callback never triggers sending a receipt to the SMPP Client. That only happens when the message is delivered or when a status update is received for the message with a permanent error.

Regards, Henk

May 20, 2016
11:44 am
alex
Guest
Guests

Hello!

i also can suggest a bit different way for it:

i am using call_back script - message_out.php
i tried to change it like this

if ($credits >= $messageParts) {
$credits -= $messageParts;
//$response = 'result=1';
$response = 'result=1&error_code=0';

but seems in case of result=1 any error code being ignored so it does not generate SMPP event (i also tried error_code=69)

so my question is:
if call_back script returns

$response = 'result=1&error_code=0';

does error code processed/analyzed by diafaan? is it possible to enable such processing so it may affect intermediate event generation?

regards Alex

April 8, 2016
10:17 am
Henk Helmantel
Admin
Forum Posts: 1487
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

An option to trigger a delivery report in the SMPP Connector when the message has been sent with status code 200 is not difficult to add to the SMPP Connector. But an option to forward intermediary status updates from the GSM Modem Gateway is more difficult because at the moment Diafaan SMS Server does not have a mechanism to send intermediary delivery reports from the Gateways to the Connectors.

I can't find your email address in our license database, but if you send the serial number of your license to dms@diafaan.com I can send you a plugin for the SMPP Connector that implements the first option.

I'll put the second option on the list with requested features for Diafaan SMS Server but I can't guarantee that we will implement this feature in a future version of Diafaan SMS Server.

Regards, Henk

April 7, 2016
3:14 pm
alex
Guest
Guests

Dear Henk,

Can you please add an Option to GSM Modem Gateway Settings to enable/disable filtering of intermediary delivery reports?
What is your conditions for making such tweak?

Possible this could be very convenient option for many users, as many GSM-operators not give back all DLRs but they do give Intermediary reports which at least confirms the message was sent to GSM. The same is for status 200.

Kindest regards, Alexander

April 7, 2016
9:50 am
Henk Helmantel
Admin
Forum Posts: 1487
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Alex,

Both options are not available in Diafaan SMS Server and there is no method to implement this with a script. The SMPP Connector does not generate a delivery report for message status 200, because it only indicates that the message is sent to the mobile network, and the GSM Modem Gateway filters out intermediary delivery reports.

Best regards, Henk

April 7, 2016
1:02 am
alex
Guest
Guests

Hello Henk!

please advice when using SMPP connector and GSM-gateway scenario:

is that possible to generate some event and send this to SMPP when Modem accepts SMS for delivery (arrived from SMPP)
1) 200, Success: Message accepted by GSM modem gateway (so CMGS issued).
and
2) generate some SMPP event when GSM operator sends intermediary DLR with status 48 like this

Status: 48
Status description: Values specific to each SC

Original values:
TP-ST: 30

Is it possible to reach just by some custom Scripting for example?

Regards, Alex

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 529

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 671

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 1140

Posts: 3897

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 1487