The external SQL database where you keep the send log does not show the message queue. Apart from the method that I described in my first response, it is not possible to get a list of messages that are still in the send queue of Diafaan SMS Server.
The request-server-status HTTP API call returns a the status information of Diafaan SMS Server, including the number of messages in the send queue.
Hi sorry I just found this thread again.
I am sending the messages thru HTTP but i cannot see them in the message queue in the SQL Connector.
I want to be able to see how many and what messages are still on queue via SQL is there any way?
When Diafaan SMS Server reads the MessageOut table of the database, it removes records or sets the IsSent flag immediately after the messages are imported. Only after the message is sent by Diafaan SMS Server (or failed to send) and is removed from the send queue, a log record is added to the MessageLog table. The SQL Connector does not keep a list in the external database of messages that are still in the send queue of Diafaan SMS Server.
In theory you could use a database trigger to remove messages from the MessageOut table when they are added to the MessageLog table, or set a specific flag. But I don't recommend this because it will have a negative effect on the performance of the database processing.
Hi how can i see the messages that are still queued for sending when I check the database even when the messages are not yet sent and not yet in the MessageLog they are already flagged as isSent in the MessageOut table. Is this a bug? and is there a bugfix for this?
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 634
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1352