[OpenSIPS-Users] How do you get list of dialog ids that are active for load balancer id?
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Mar 22 16:47:11 EDT 2017
Hi Robert,
The dlg_end_dlg MI function (
http://www.opensips.org/html/docs/modules/2.2.x/dialog.html#dlg_end_dlg
) can be triggered via any of the MI backends.
Also, instead of looking in the "dialog" table (which has older
information), better use the "dlg_list" MI function to get the realtime
list of ongoing calls.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Summit May 2017 Amsterdam
http://www.opensips.org/events/Summit-2017Amsterdam.html
On 03/08/2017 10:28 PM, Mundkowsky, Robert wrote:
>
> Argh, but there is no way to call dlg_end_dlg since it is not an MI
> function?
>
> Robert Mundkowsky
>
> *From:*Mundkowsky, Robert
> *Sent:* Wednesday, March 8, 2017 3:22 PM
> *To:* 'OpenSIPS users mailling list' <users at lists.opensips.org>
> *Subject:* RE: How do you get list of dialog ids that are active for
> load balancer id?
>
> Think I figured it out. Info is in Dialog table in database in to_uri
> column
>
> Robert Mundkowsky
>
> *From:*Mundkowsky, Robert
> *Sent:* Wednesday, March 8, 2017 2:24 PM
> *To:* 'OpenSIPS users mailling list' <users at lists.opensips.org
> <mailto:users at lists.opensips.org>>
> *Subject:* RE: How do you get list of dialog ids that are active for
> load balancer id?
>
> Forgot to mention I am trying to do this from Python script using
> XMLRPC to OpenSIPS server.
>
> Robert Mundkowsky
>
> *From:*Mundkowsky, Robert
> *Sent:* Wednesday, March 8, 2017 1:24 PM
> *To:* OpenSIPS users mailling list <users at lists.opensips.org
> <mailto:users at lists.opensips.org>>
> *Subject:* How do you get list of dialog ids that are active for load
> balancer id?
>
> How do you get list of dialog ids that are active for load balancer id?
>
> For example, if I want to end a call on a specific load balancer
> gateway, I want to invoke “dlg_end_dlg(dlg_id). But I don’t see any
> information that can help me get mapping between dlg_id and Load
> Balancer gateway id.
>
> Robert Mundkowsky
>
>
> ------------------------------------------------------------------------
>
> This e-mail and any files transmitted with it may contain privileged
> or confidential information. It is solely for use by the individual
> for whom it is intended, even if addressed incorrectly. If you
> received this e-mail in error, please notify the sender; do not
> disclose, copy, distribute, or take any action in reliance on the
> contents of this information; and delete it from your system. Any
> other use of this e-mail is prohibited.
>
>
> Thank you for your compliance.
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170322/4cf7df60/attachment-0001.html>
More information about the Users
mailing list