On Friday 04 September 2015 10:19:07 jay binks wrote:
Initially I mis-read the dialog module documentation and assumed that dialog would provide me this ability, when used with a database. however it seems that the dialog module does not pull data from the DB after the initial startup.
Apparantly you are not the only one, I just checked and counting of dialogs is in memory only.
But isn't the easiest/best solution to just use sqlops to count the number of dialogs for the current endpoints? select count(id) from dialog where xdata like '"name":"maxchannels","value":"$dlg_var(key)"' where the dialog var contains callid.