The GUID of the HTTP API response can be changed with the 'message_out' HTTP callback, but that will not solve this issue. The last part of the message ID (the 'B' in 'A:+xxxxxxx:B') is the message reference number that is returned by the GSM modem when the message is sent. This reference number is not yet available when the HTTP API call is made, it may take seconds, minutes, or even hours before the reference number is generated.
The GUID in the HTTP API response is used to add the message_id to the message as soon as the message is sent by the gateway. Changing this value would not solve the real issue, that the mobile network does not return the same number in the delivery report than in the original message.
is it possible to modify the output text of http api?
i want to echo the message_id instead of message-guid like this
Thank you for the log. Unfortunately there is no solution for this issue. Your mobile network returns a modified phone number in the delivery report that is different from the destination number in the message. If the phone number in the outgoing message and the delivery report are not exactly the same, Diafaan SMS Server cannot match the message with the delivery report and the status of the message will not be updated.
i have sent an email including the log. is there any way to get message_id as http api send output reply. currently http api output something like this
but if there is anyway that it can give something like this
ok: message_id (X:+xxxxxxx:X)
then we will be able to use this application. i know i can use custom message-guid but unfortunately it's not same as the message_id is different for send and delivered output.
Can you send me the communication log of the GSM Modem Gateway that includes at least one mismatch between the message and the delivery report? I would also like to see the configurations file (menu options 'File-Export-Configuration).
You can send the two files to email address 'firstname.lastname@example.org'.
I have checked your demo software. it can send SMS properly using gsm modem but can't provide accurate delivery report. i have sent three sms and got only one delivered status when all the sms delivered successfully. After checking the log i found that the message id is not returning accurately. if i send sms to +xxyyzzzzzzzzz number the message id should be something like a:+xxyyzzzzzzzzz:b but it return a:+xxzxyzyyzzzzzzzzz:b like this. sometime it can return accurate message_id though ! but not everytime. that's why the delivery report can't update properly. so what should i do now?
i'm using http api to send sms.
so is there any way to set message_id while sending sms through http api just like message-guid?
i want to purchase the application but this is the problem that is preventing me as it is important to get accurate delivery status. can you please give me any plugin or way to change message_id with gsm modem via http api.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 539
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1067