<div class="gmail_quote">2008/11/30 Iņaki Baz Castillo <span dir="ltr">&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2008/11/29 Krunal Patel &lt;<a href="mailto:krunal.lists@gmail.com">krunal.lists@gmail.com</a>&gt;:<br>
<div>
<div></div>
<div class="Wj3C7c">&gt; Hi,<br>&gt;<br>&gt; I am looking for the solution of an issue.<br>&gt; The issue is like.......<br>&gt; There are 2 UACs in call.<br>&gt; Suddenly one of The UAC died .<br>&gt; So In this case call should be hangup.<br>
&gt; Instead of that Call is not being hangup until second UAC do not hangup<br>&gt; call.<br>&gt; Is there a way that Opensips send BYE automatically to the second UAC if<br>&gt; another UAC dies in middle of call?<br><br>
<br></div></div>Answer yourself: how can OpenSIPS know that the UAC has died? Note<br>that OpenSIPS is a proxy (not a B2BUA) so it can not send in-dialog<br>requests (Session Timers with re-INVITE/UPDATE) to test if both legs<br>
of the call are alive.<br><font color="#888888"><br><br>--<br>Iņaki Baz Castillo<br>&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;<br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br></font></blockquote></div>
<div><br>use mediaproxy-2.1.0.</div>
<div>&nbsp;</div>
<div>the following is come from mediaproxy-2.1.0 Readme:</div>
<div>&nbsp;</div>
<div>Closing expired calls<br>---------------------</div>
<div>Starting with version 2.1.0, MediaProxy supports closing calls for which all<br>the media streams did timeout, but for which no BYE was received to close the<br>call in the standard way.</div>
<div>This feature will only work, when the OpenSIPS mediaproxy module uses the<br>engage_media_proxy() command to start MediaProxy for a given call. In this<br>case the mediaproxy module uses the dialog module to keep track of the call<br>
and can pass the dialog id to the media dispatcher. When a media session is<br>expired because all streams did timeout, but no closing request was received<br>from the proxy, the media dispatcher will use the dialog id that was received<br>
from the mediaproxy module, to issue a dlg_end_dlg request into the OpenSIPS&#39;<br>MI interface, instructing OpenSIPS to generate the BYEs for the call, closing<br>it in a clean way and generating the accounting records.</div>

<div>To use this, the mi_datagram module must be loaded and configured to use a<br>UNIX filesystem socket which must also be configured into the OpenSIPS section<br>of the MediaProxy configuration as socket_path.</div>
<div>This feature is not available when using the use_media_proxy/end_media_session<br>functions in the proxy configuration, because in that case there is no dialo</div>
<div><br clear="all"><br>-- <br>Regards<br>John<br></div>