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))