Hi Robert,
In dlg_listoutput in dialog->CALLEES->callee->callee_contact you should
have the IP of the GW - so you can identify the calls still in relation
to a certain GW, right ?
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/23/2017 05:32 PM, Mundkowsky, Robert wrote:
Thanks for the response, but I think dlg_list does not contain any
information to know which load balancer gateway the dialog is using?
Basically trying to do this:
1)Disable one of the gateways a load balancer is using
2)Then wait a reasonable amount of time for all active calls over that
gateway to finish
3)Then if some calls are still active for that gateway, end them and
make sure both sides get SIP BYE
Robert Mundkowsky
*From:*Bogdan-Andrei Iancu [mailto:[email protected]]
*Sent:* Wednesday, March 22, 2017 4:47 PM
*To:* OpenSIPS users mailling list <[email protected]>;
Mundkowsky, Robert <[email protected]>
*Subject:* Re: [OpenSIPS-Users] How do you get list of dialog ids that
are active for load balancer id?
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' <[email protected]>
<mailto:[email protected]>
*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' <[email protected]
<mailto:[email protected]>>
*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 <[email protected]
<mailto:[email protected]>>
*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
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
------------------------------------------------------------------------
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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users