Hi,
i have just commited some latest changes to my branches. I did some more testing and did fix a few things. I have also added the modified RTP-Proxy in order to test the RTP-Timeout (with my two User-Agents it worked pretty well). The RTP-Kamailio-Timeout-Notification will only be enabled, when you have libcurl and the libxmlrpc-client-dev-libs installed (using autoconf).
I had to change one thing to the dialog module, in order to make it work, where i'd like to get some feedback:
I had to change the method, how the "h_id" is calculated. Until now, it was calculated using the Call-Id and the From-Tag, making it impossible to find the dialog when you only have Call-ID. When calling dlg_list_dlg the From-Tag was not optional, it would simply not find the dialog. My new MI-Method "dlg_terminate_dlg" would also require both call-id and from-tag. Are there any objections in changing the method, how the "h_id" is calculated?
Kind regards, Carsten
2010/8/19 Iñaki Baz Castillo ibc@aliax.net
2010/8/18 Carsten Bock lists@bock.info:
Hi, 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...
Hi, it sounds very good. Just take into account that current dialog module can only terminate dialogs in "stablished" status and it cannot terminate early-dialogs. So it's required that your new MI function checks whenever dialog state is 4 or 5. Timo fixed this issue some weeks ago in dld_end_dlg MI function.
I will test it when I finish my holidays :)
Regards.
-- Iñaki Baz Castillo ibc@aliax.net