SIP Router Project
FS#196 - rtpproxy timeout functionality via dlg_terminate_dlg mi command
Attached to Project:
sip-router
Opened by Nick Altmann (nikbyte) - Saturday, 07 January 2012, 08:34 GMT
Opened by Nick Altmann (nikbyte) - Saturday, 07 January 2012, 08:34 GMT
|
DetailsTwo small patches to add rtpproxy timeout functionality for latest rtpproxy git (2011-03-17) and modules/rtpproxy (3.2.1).
It works by sending dialog terminate command to management interface. kamailio-3.2.1.patch - bugfix for rtpproxy module (with any rtpproxy timeout patch) rtpproxy_git_2011_03_17.patch - adds support for tcp/udp sockets and dlg_terminate_dlg mi command Usage example: modparam("rtpproxy", "timeout_socket", "udp:127.0.0.1:7700") modparam("mi_datagram", "socket_name", "udp:127.0.0.1:7700") I hope, you include rtpproxy bugfix to the current release and place my rtpproxy patch in wiki for everybody. |
This task depends upon
You forgot to attach patches.
Sorry, browser bugs. :-)
I see the patch to rtpproxy.c of kamailio's module is rather small, sending the timeout socket address for U command, not based on to_tag. Is it?
rtpproxy "understand" additional parameters only in U command. In other case it sends error. With my patch or without it. Maybe it will be right to write there if (opts.s.s[0] == 'U') && (to_tag.len > 0). I don't know. :-)
Patch to rtpproxy module was applied with condition on U command and to_tag.len>0.