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
HTTP commands
sp_NewPost Add Reply sp_NewTopic Add Topic
December 18, 2016
11:11 am
Henk Helmantel
Admin
Forum Posts: 722
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Artem Savelev said

What time setting message delivery priority ? Received from the SMPP gateway or configured in the settings of the modem (gateway). Thank you.  

The validity period of the message has priority over the validity period of the gateway. If the validity period of the message is zero, meaning that it is not set in the connector, the validity period of the gateway is used.

Regards, Henk

December 18, 2016
11:01 am
Henk Helmantel
Admin
Forum Posts: 722
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Artem Savelev said
We contacted the operator, he claims that returns the correct status (70). Please check again your program. Tell me how we can check the information from the operator, without your program ? Thank you.  

Diafaan SMS Server does not change the status codes for messages, you can be fairly certain that the error code for a message is the status code that is returned by your mobile operator. To be absolutely sure, you can enable the communication logging for the GSM modem and check the status codes of the received PDU's with our online PDU decoder.

Regards, Henk

December 16, 2016
9:26 pm
Artem Savelev
Guest
Guests

Henk Helmantel said
Diafaan SMS Server 3.2.0.0 added support for per-message validity periods. The validity period of the message as received by the SMPP Connector is forwarded to, and used in, the GSM Modem Gateway or the SMPP Gateway.
Regards, Henk  

What time setting message delivery priority ? Received from the SMPP gateway or configured in the settings of the modem (gateway). Thank you.

December 16, 2016
9:23 pm
Artem Savelev
Guest
Guests

We contacted the operator, he claims that returns the correct status (70). Please check again your program. Tell me how we can check the information from the operator, without your program ? Thank you.

December 13, 2016
10:01 am
Henk Helmantel
Admin
Forum Posts: 722
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

This is not a bug in Diafaan SMS Server. Your mobile operator returns error code 99 in the status update for the message, this error code means 'Service rejected' and not 'SM Validity Period Expired'. I don't know why your mobile operator does not return error code 70 for these messages but one possibility is that it does not accept messages with a validity period below a certain threshold. Another possibility is that the wireless operator simply uses the wrong error code for the message expiration..

Diafaan SMS Server 3.2.0.0 added support for per-message validity periods. The validity period of the message as received by the SMPP Connector is forwarded to, and used in, the GSM Modem Gateway or the SMPP Gateway.

Regards, Henk

December 12, 2016
5:46 pm
Artem Savelev
Guest
Guests

how do we fix this bug in the program ? or cause the operator ?
before the program update we have received the overdue status.

We also need to set ValidityPeriod transmitted via SMPP for each message which is sent via GSM.
Willing to pay revision of the plugin.
Thank you.

December 12, 2016
5:21 pm
Henk Helmantel
Admin
Forum Posts: 722
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

According to the log, the error code in the status update for the message is indeed the reason that the SMPP Connector does not return the 'EXPIRED' stat in the receipt. Error code 99 means 'Service rejected' and the SMPP Connector uses the 'UNDELIV; stat in the receipts for this error.

Regards, Henk

December 12, 2016
2:40 pm
Artem Savelev
Guest
Guests

sent log by email.

December 12, 2016
12:01 pm
Henk Helmantel
Admin
Forum Posts: 722
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

The SMPP Connector only returns a receipt with the 'EXPIRED' stat when the GSM Modem returns a status report with error 70 (0x46, SM Validity Period Expired). If I understand it correctly, you receive a status report with error 99 (0x63, Service rejected) and since that just indicates that the message cannot be delivered to the phone and not that the validity period of the message is expired, the SMPP Connector uses the 'UNDELIV' stat in the receipt.

If you send the send log of one of these messages to 'dms@diafaan.com' (right-click on the log item and select 'Export to file'), I can have a look to see if this is indeed the reason that the SMPP Connector does not return receipts with the 'EXPIRED' stat.

Regards, Henk

December 12, 2016
10:43 am
Artem Savelev
Guest
Guests

Henk Helmantel said
Hello Artem,
You can use the 'request-server-status' HTTP API to retrieve an XML document with the status of all gateways and connectors in Diafaan SMS Server (http://localhost:9710/http/request-server-status?username=admin&password=???). If the 'SendLimit' option is enabled, the 'LastSendLimitCount' XML field in the GSM Modem Gateway section displays the remaining messages.

Thank you, it works.

Henk Helmantel said
The functionality to return the 'EXPIRED' stat in the receipts of the SMPP Connector was added in version 3.2.0.0 of Diafaan SMS Server.
Regards, Henk
  

We get from the server the status DELIVRD and UNDELIV. After updating to version 4.0 in the send log can see only the status 99. In the GSM gateways set ValidityPeriod = 0x02. Can provide remote access.
Thank you.

December 12, 2016
8:57 am
Henk Helmantel
Admin
Forum Posts: 722
Member Since:
May 28, 2013
sp_UserOfflineSmall Offline

Hello Artem,

You can use the 'request-server-status' HTTP API to retrieve an XML document with the status of all gateways and connectors in Diafaan SMS Server (http://localhost:9710/http/request-server-status?username=admin&password=???). If the 'SendLimit' option is enabled, the 'LastSendLimitCount' XML field in the GSM Modem Gateway section displays the remaining messages.

The functionality to return the 'EXPIRED' stat in the receipts of the SMPP Connector was added in version 3.2.0.0 of Diafaan SMS Server.

Regards, Henk

December 10, 2016
7:06 pm
Artem Savelev
Guest
Guests

Good evening.
We need to watch the rest of the limit of SMS gateway using the HTTP commands. Is this possible ?

We also have long talked on the repayment status is EXPIRED (https://www.diafaan.com/support-forum/using-diafaan-sms-server/getting-error-code-301/). The latest version is still missing this functionality(

thank you.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 494

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Member Stats:

Guest Posters: 431

Members: 0

Moderators: 0

Admins: 1

Forum Stats:

Groups: 2

Forums: 3

Topics: 644

Posts: 2207

Newest Members:

, Henk Helmantel

Administrators: Henk Helmantel: 722