Re: [SR-Users] RTPPROXY timeout patch.

2011-03-23 Thread Carsten Bock
Hi all, by the way, the RTPProxy-Repository already contains a fix for this: author sobomax Sun, 27 Feb 2011 03:26:31 + (19:26 -0800) Move initialization of the notification thread after the rtpp_daemon() call. Threads started before fork(2) may not remain running afterwards. Reported by

Re: [SR-Users] RTPPROXY timeout patch.

2011-03-22 Thread Carsten Bock
Hi Alexandre, it took quite a lot of searching, but now it's done. It was a general RTPProxy/PThread issue. The problem seems to be, that the PThread is created before the fork of the main process. Then the Thread waits forever... Attached an changed main.c + rtpp_defines.h which modifies this be

Re: [SR-Users] RTPPROXY timeout patch.

2011-03-22 Thread Carsten Bock
Hi Alexandre, it seem to be a general RTP-Proxy/PThread issue. It seems not to be related to the XML-RPC notification; the thread, which processes the timeouts, seems to waits forever... I will check... Carsten 2011/3/21 Alexandre Abreu : > Hi Carsten, > > After more testing, I just realized tha

Re: [SR-Users] RTPPROXY timeout patch.

2011-03-17 Thread Carsten Bock
Hi, that is a general Kamailio question. I think it should work like this: local_route { [... do whatever you like here ...] } (a route for locally generated requests). Carsten 2011/3/17 Alexandre Abreu : > Hi Carsten, > > Thank you very much. Finally it is working now. > Quick question: how

Re: [SR-Users] RTPPROXY timeout patch.

2011-03-16 Thread Carsten Bock
Hi Alexandre, My version of RTP-Proxy is following: bock@bock-tde:~/ims/rtpproxy$ ./rtpproxy -v Basic version: 20040107 Extension 20050322: Support for multiple RTP streams and MOH Extension 20060704: Support for extra parameter in the V command Extension 20071116: Support for RTP re-packetizatio

Re: [SR-Users] RTPPROXY timeout patch.

2011-03-16 Thread Carsten Bock
Hi Alexandre, That is strange: I run the RTP-Proxy like this (directly from the TAR-File, i sent you) and Kamailio with attached config-file. bock@bock-tde:~/ims/rtpproxy$ sudo ./rtpproxy -T 10 -f -F -i -l 127.0.0.1 -s udp:*:2 -d DBUG -n tcp:127.0.0.1 rtpproxy: Timer started. INFO:main: rtpp

Re: [SR-Users] RTPPROXY timeout patch.

2011-03-16 Thread Carsten Bock
Hi Alexandre, i don't have a clue, what is going wrong there. The timeout socket, you provide, must not necessarily point to the Kamailio-XML-RPC-Port, in my test-cases it just pointed anywhere... (i hope it does not mess up the XML-RPC Process of Kamailio if you connect there and do nothing). I a

Re: [SR-Users] RTPPROXY timeout patch.

2011-03-16 Thread Carsten Bock
Hi, Sorry for confusion: You will have to define a Timeout socket, when starting RTP-Proxy (-n, may be invalid): bock@bock-tde:~/ims/sr-rtpp/sip-router/modules/rtpproxy/test$ cat ./exec_rtpproxy.txt ./rtpproxy -T 10 -f -F -i -l 127.0.0.1 -s udp:*:2 -d DBUG -n tcp:127.0.0.1 Recent Versions of