Hi,<div><br></div><div>I&#39;ve noticed, my RTP-Proxy changes where for the latest K already. I have modified them, to work with the latest rtpproxy/nathelper split. I will do some more testing.... (they are in the branch carstenbock/rtpproxy).</div>

<div>I have added the suggested extension to the K-Dialog-mi-Interface: I have created a method called &quot;mi_terminate_dlgs&quot; which allows to terminate either all calls (e.g. before a proxy shutdown) or a specific dialog by providing call-id and optionally the fromtag (in branch carstenbock/dialog).</div>

<div>These changes require a little more testing, which i wil do in the next days, but probably will only be able to finish by next week...</div><div><br></div><div>Kind regards,</div><div>Carsten</div><div><br><div class="gmail_quote">

2010/8/18 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">

2010/8/18 Carsten Bock &lt;<a href="mailto:lists@bock.info">lists@bock.info</a>&gt;:<br>
</div><div class="im">&gt; Hi Inaki,<br>
&gt; probably you are right. I have not thought about this. I will take a look at<br>
&gt; it and put a patch for this on the tracker. But i think, you are right, that<br>
&gt; should be easy to implement.<br>
<br>
</div>I&#39;ve added a comment about it in the wiki:<br>
  <a href="http://www.kamailio.com/dokuwiki/doku.php/modules-new-design:dialog-module-design#proxy-initiated_dialog_termination" target="_blank">http://www.kamailio.com/dokuwiki/doku.php/modules-new-design:dialog-module-design#proxy-initiated_dialog_termination</a><br>


<div class="im"><br>
<br>
&gt; By the way: If you make a dlg_list_dlg with Call-ID and From-Tag (what i<br>
&gt; do), you just get the one dialog and you do not get the full list...<br>
<br>
</div>Yes, but anyhow it requires two MI calls and makes the operation<br>
complex (the &quot;terminating&quot; party must first invoke &quot;dlg_list&quot;, then<br>
parse the MI body and finally invoke &quot;dlg_end_dlg&quot;).<br>
<br>
<br>
Regards.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
&gt; Carsten<br>
&gt;<br>
&gt; 2010/8/18 Iņaki Baz Castillo &lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2010/8/18 Carsten Bock &lt;<a href="mailto:lists@bock.info">lists@bock.info</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; &gt; - if the name of the timeout-socket starts with &quot;http://&quot;, it assumes it<br>
&gt;&gt; &gt; is<br>
&gt;&gt; &gt; an Kamailio-XML-RPC-Server. It will then retrieve the according<br>
&gt;&gt; &gt; dialog-info<br>
&gt;&gt; &gt; by issueing a dlg_list with the call-id and with this information<br>
&gt;&gt; &gt; execute a<br>
&gt;&gt; &gt; dlg_end_dlg using XML-RPC.<br>
&gt;&gt;<br>
&gt;&gt; Hi. Having to retrieve the dialogs full list for each time a rtpproxy<br>
&gt;&gt; session expires wouldn&#39;t be efficient, am I right?<br>
&gt;&gt; IMHO there could be a new MI function in dialog module allowing to<br>
&gt;&gt; terminate a dialog by providing its Call-ID and From-tag rather than<br>
&gt;&gt; the internal hash_id:hash_entry.<br>
&gt;&gt;<br>
&gt;&gt; Regards.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Iņaki Baz Castillo<br>
&gt;&gt; &lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Carsten Bock<br>
&gt; Schomburgstr. 80<br>
&gt; 22767 Hamburg<br>
&gt; Germany<br>
&gt;<br>
&gt; Mobile +49 179 2021244<br>
&gt; Home +49 40 34927217<br>
&gt; Fax +49 40 34927218<br>
&gt; mailto:<a href="mailto:carsten@bock.info">carsten@bock.info</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Iņaki Baz Castillo<br>
&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Carsten Bock<br>Schomburgstr. 80<br>22767 Hamburg<br>Germany<br><br>Mobile +49 179 2021244<br>Home +49 40 34927217<br>Fax +49 40 34927218<br>mailto:<a href="mailto:carsten@bock.info">carsten@bock.info</a><br>

<br>
</div>