In the current version of Diafaan SMS Server (188.8.131.52) it is not possible to change the error code and error message of the 'send-message' HTTP API response. The 'message_out' HTTP callback already has options to return an alternative error code and error text for each message but this is only implemented for the SMPP Connector at the moment.
I had a quick look at the code and it is not difficult to implement this functionality for the HTTP API of the Web Connector. We will implement this in the next version of Diafaan SMS Server.
Is there anyway that we can change the HTTP API Responses Codes , example when the sender id empty or the message empty , currently only can have error code 311 as message rejected , so we need to have a specific error code showing that the sender id for example left as blank.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 546
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1073