Support forum
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
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
9:26 pm
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.
9:23 pm
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.
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
5:46 pm
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.
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
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
10:43 am
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.
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
7:06 pm
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.
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