sip-router

SIP Router Project

Tasklist

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
Task Type Improvement
Category Core
Status Assigned
Assigned To Daniel-Constantin Mierla (miconda)
Andrei Pelinescu-Onciul (andrei)
Operating System All
Severity Medium
Priority Normal
Reported Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Two 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

Comment by Daniel-Constantin Mierla (miconda) - Sunday, 08 January 2012, 11:17 GMT

You forgot to attach patches.

Comment by Nick Altmann (nikbyte) - Sunday, 08 January 2012, 11:19 GMT

Sorry, browser bugs. :-)

Comment by Daniel-Constantin Mierla (miconda) - Tuesday, 10 January 2012, 21:32 GMT

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?

Comment by Nick Altmann (nikbyte) - Wednesday, 11 January 2012, 01:51 GMT

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. :-)

Comment by Daniel-Constantin Mierla (miconda) - Tuesday, 31 January 2012, 14:23 GMT

Patch to rtpproxy module was applied with condition on U command and to_tag.len>0.

Loading...