Support forum
Hello Gerik,
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.
Regards, Henk
5:16 pm
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?
Hello Gerik,
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.
Regards, Henk
12:06 pm
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: 529
Currently Online:
37 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Member Stats:
Guest Posters: 672
Members: 0
Moderators: 0
Admins: 1
Forum Stats:
Groups: 2
Forums: 3
Topics: 1141
Posts: 3899
Newest Members:
, Henk HelmantelAdministrators: Henk Helmantel: 1488