[SR-Users] [sr-dev] testing phase for 3.1
lists at bock.info
Wed Aug 18 22:52:46 CEST 2010
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).
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).
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...
2010/8/18 Iñaki Baz Castillo <ibc at aliax.net>
> 2010/8/18 Carsten Bock <lists at bock.info>:
> > Hi Inaki,
> > probably you are right. I have not thought about this. I will take a look
> > it and put a patch for this on the tracker. But i think, you are right,
> > should be easy to implement.
> I've added a comment about it in the wiki:
> > By the way: If you make a dlg_list_dlg with Call-ID and From-Tag (what i
> > do), you just get the one dialog and you do not get the full list...
> Yes, but anyhow it requires two MI calls and makes the operation
> complex (the "terminating" party must first invoke "dlg_list", then
> parse the MI body and finally invoke "dlg_end_dlg").
> > Carsten
> > 2010/8/18 Iñaki Baz Castillo <ibc at aliax.net>
> >> 2010/8/18 Carsten Bock <lists at bock.info>:
> >> > - if the name of the timeout-socket starts with "http://", it assumes
> >> > is
> >> > an Kamailio-XML-RPC-Server. It will then retrieve the according
> >> > dialog-info
> >> > by issueing a dlg_list with the call-id and with this information
> >> > execute a
> >> > dlg_end_dlg using XML-RPC.
> >> Hi. Having to retrieve the dialogs full list for each time a rtpproxy
> >> session expires wouldn't be efficient, am I right?
> >> IMHO there could be a new MI function in dialog module allowing to
> >> terminate a dialog by providing its Call-ID and From-tag rather than
> >> the internal hash_id:hash_entry.
> >> Regards.
> >> --
> >> Iñaki Baz Castillo
> >> <ibc at aliax.net>
> > --
> > Carsten Bock
> > Schomburgstr. 80
> > 22767 Hamburg
> > Germany
> > Mobile +49 179 2021244
> > Home +49 40 34927217
> > Fax +49 40 34927218
> > mailto:carsten at bock.info
> Iñaki Baz Castillo
> <ibc at aliax.net>
Mobile +49 179 2021244
Home +49 40 34927217
Fax +49 40 34927218
mailto:carsten at bock.info
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users