[SR-Users] Best practise for limiting concurrent calls across a cluster
Daniel Tryba
d.tryba at pocos.nl
Fri Sep 4 10:15:29 CEST 2015
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.
More information about the sr-users
mailing list