Hi,
i did implement such mechanism once using a htable and DMQ, that worked like a charm.
Thanks, Carsten
2015-09-04 10:54 GMT+02:00 Daniel Tryba d.tryba@pocos.nl:
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))
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users