Hi,<div><br></div><div>I'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 "mi_terminate_dlgs" 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"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></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 <<a href="mailto:lists@bock.info">lists@bock.info</a>>:<br>
</div><div class="im">> Hi Inaki,<br>
> probably you are right. I have not thought about this. I will take a look at<br>
> it and put a patch for this on the tracker. But i think, you are right, that<br>
> should be easy to implement.<br>
<br>
</div>I'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>
> By the way: If you make a dlg_list_dlg with Call-ID and From-Tag (what i<br>
> 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 "terminating" party must first invoke "dlg_list", then<br>
parse the MI body and finally invoke "dlg_end_dlg").<br>
<br>
<br>
Regards.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
> Carsten<br>
><br>
> 2010/8/18 Iñaki Baz Castillo <<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
>><br>
>> 2010/8/18 Carsten Bock <<a href="mailto:lists@bock.info">lists@bock.info</a>>:<br>
>><br>
>> > - if the name of the timeout-socket starts with "http://", it assumes it<br>
>> > is<br>
>> > an Kamailio-XML-RPC-Server. It will then retrieve the according<br>
>> > dialog-info<br>
>> > by issueing a dlg_list with the call-id and with this information<br>
>> > execute a<br>
>> > dlg_end_dlg using XML-RPC.<br>
>><br>
>> Hi. Having to retrieve the dialogs full list for each time a rtpproxy<br>
>> session expires wouldn't be efficient, am I right?<br>
>> IMHO there could be a new MI function in dialog module allowing to<br>
>> terminate a dialog by providing its Call-ID and From-tag rather than<br>
>> the internal hash_id:hash_entry.<br>
>><br>
>> Regards.<br>
>><br>
>><br>
>><br>
>> --<br>
>> Iñaki Baz Castillo<br>
>> <<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><br>
><br>
><br>
><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>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Iñaki Baz Castillo<br>
<<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>><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>