[SR-Users] Best practise for limiting concurrent calls across a cluster
Daniel Tryba
d.tryba at pocos.nl
Fri Sep 4 10:54:42 CEST 2015
On Friday 04 September 2015 10:15:29 Daniel Tryba wrote:
> 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.
That makes no sense.... the key should be a unique identifier for the
caller/callee (resp. $au and $rU (and taking the domain in consideration if
you use multi domain))
More information about the sr-users
mailing list