[SR-Users] Best practise for limiting concurrent calls across a cluster
Carsten Bock
carsten at ng-voice.com
Fri Sep 4 10:56:21 CEST 2015
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 at 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Carsten Bock
CEO (Geschäftsführer)
ng-voice GmbH
Schomburgstr. 80
D-22767 Hamburg / Germany
http://www.ng-voice.com
mailto:carsten at ng-voice.com
Office +49 40 5247593-0
Fax +49 40 5247593-99
Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284
Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/
More information about the sr-users
mailing list