From aseques at gmail.com Mon Dec 1 01:01:10 2008 From: aseques at gmail.com (Joan) Date: Mon, 1 Dec 2008 10:01:10 +0100 Subject: [RTPproxy Users] Kamilio integration with rtpproxy In-Reply-To: <49306ECC.4050709@sippysoft.com> References: <49272369.5020003@sippysoft.com> <492A80C2.7080105@pernau.at> <492BEA9D.4020104@sippysoft.com> <492FBD74.9060201@sippysoft.com> <49306ECC.4050709@sippysoft.com> Message-ID: 2008/11/28 Maxim Sobolev : > Joan wrote: >> >> 2008/11/28 Maxim Sobolev : >>> >>> Joan wrote: >>>> >>>> DBUG:handle_command: received command "9506_2 U >>>> d3a1ce5e-5fb88aab at 192.168.2.50 192.168.253.12 16434 >>>> f0cdb2c2aee55197o0;1" >>>> INFO:handle_command: new session d3a1ce5e-5fb88aab at 192.168.2.50, tag >>>> f0cdb2c2aee55197o0;1 requested, type strong >>>> ERR:handle_command: can't create listener >>>> DBUG:doreply: sending reply "9506_2 E10 >>> >>> That's weird. The only case when the RTPproxy can fail like this is when >>> it cannot allocate a UDP ports for the session, either due to ports >>> already taken by other application or due to kernel not allowing to use >>> any ports in the specified range (EADDRINUSE or EACCES). Can you please >>> answer the following questions to help me identify the issue: >>> >>> 1. Did you make any changes to the sources or defines? >>> >> No, the only change I made was with the include, the one already >> commited into trunk. >> Currently I've built from a clean "cvs up" > > OK, can you please apply the attached patch, recompile, restart and send the > error output again. > Here it is ... =================================================================== INFO:main: rtpproxy started, pid 27680 DBUG:handle_command: received command "27663_4 U d8a6bbb6-9895f7c3 at 192.168.2.50 192.168.253.12 16482 a8c6a31ab42697afo0;1" INFO:handle_command: new session d8a6bbb6-9895f7c3 at 192.168.2.50, tag a8c6a31ab42697afo0;1 requested, type strong ERR:create_twinlistener: can't bind to the IPv4 port 36777: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 42645: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 53065: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 47223: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 38205: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 64181: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 40471: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 37527: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 38953: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 59449: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 52493: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 51385: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 42897: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 58173: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 36601: Address already in use ERR:create_twinlistener: can't bind to the IPv4 port 45197: Address already in use =================================================================== This is going on and on continuously until I hang the call and then I see =================================================================== ERR:handle_command: can't create listener DBUG:doreply: sending reply "27663_4 E10 " DBUG:handle_command: received command "27662_3 D d8a6bbb6-9895f7c3 at 192.168.2.50 a8c6a31ab42697afo0" INFO:handle_command: delete request failed: session d8a6bbb6-9895f7c3 at 192.168.2.50, tags a8c6a31ab42697afo0/NONE not found DBUG:doreply: sending reply "27662_3 E8 " =================================================================== Hope it helps From sobomax at sippysoft.com Mon Dec 1 01:46:31 2008 From: sobomax at sippysoft.com (Maxim Sobolev) Date: Mon, 01 Dec 2008 01:46:31 -0800 Subject: [RTPproxy Users] Kamilio integration with rtpproxy In-Reply-To: References: <49272369.5020003@sippysoft.com> <492A80C2.7080105@pernau.at> <492BEA9D.4020104@sippysoft.com> <492FBD74.9060201@sippysoft.com> <49306ECC.4050709@sippysoft.com> Message-ID: <4933B277.3090109@sippysoft.com> Joan, Were there any other calls going through the machine at the very same time? For some reason the RTPproxy was unable to locate any spare port, do you run any other software that use lot of UDP ports on that machine? Can you please send output of the "netstat -uap" command? Joan wrote: > 2008/11/28 Maxim Sobolev : >> Joan wrote: >>> 2008/11/28 Maxim Sobolev : >>>> Joan wrote: >>>>> DBUG:handle_command: received command "9506_2 U >>>>> d3a1ce5e-5fb88aab at 192.168.2.50 192.168.253.12 16434 >>>>> f0cdb2c2aee55197o0;1" >>>>> INFO:handle_command: new session d3a1ce5e-5fb88aab at 192.168.2.50, tag >>>>> f0cdb2c2aee55197o0;1 requested, type strong >>>>> ERR:handle_command: can't create listener >>>>> DBUG:doreply: sending reply "9506_2 E10 >>>> That's weird. The only case when the RTPproxy can fail like this is when >>>> it cannot allocate a UDP ports for the session, either due to ports >>>> already taken by other application or due to kernel not allowing to use >>>> any ports in the specified range (EADDRINUSE or EACCES). Can you please >>>> answer the following questions to help me identify the issue: >>>> >>>> 1. Did you make any changes to the sources or defines? >>>> >>> No, the only change I made was with the include, the one already >>> commited into trunk. >>> Currently I've built from a clean "cvs up" >> OK, can you please apply the attached patch, recompile, restart and send the >> error output again. >> > Here it is ... Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com MSN: sales at sippysoft.com Skype: SippySoft From aseques at gmail.com Mon Dec 1 05:22:36 2008 From: aseques at gmail.com (Joan) Date: Mon, 1 Dec 2008 14:22:36 +0100 Subject: [RTPproxy Users] Kamilio integration with rtpproxy In-Reply-To: <4933B277.3090109@sippysoft.com> References: <492A80C2.7080105@pernau.at> <492BEA9D.4020104@sippysoft.com> <492FBD74.9060201@sippysoft.com> <49306ECC.4050709@sippysoft.com> <4933B277.3090109@sippysoft.com> Message-ID: 2008/12/1 Maxim Sobolev : > Joan, > > Were there any other calls going through the machine at the very same > time? For some reason the RTPproxy was unable to locate any spare port, > do you run any other software that use lot of UDP ports on that machine? > This is a testing environment, the only calls in the system are the ones I'm doing, and there's only a single phone registered to to the calls. There's no much more on the machine other than a apache to manage the phpmyadmin... > > Can you please send output of the "netstat -uap" command? > Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 0 0 localhost:46090 localhost:15000 ESTABLISHED 31163/kamailio udp 0 0 localhost:15000 *:* 31180/rtpproxy udp 0 0 localhost:34863 localhost:15000 ESTABLISHED 31171/kamailio udp 0 0 localhost:34742 localhost:15000 ESTABLISHED 31165/kamailio udp 0 0 localhost:47033 localhost:15000 ESTABLISHED 31172/kamailio udp 0 0 localhost:35262 localhost:15000 ESTABLISHED 31170/kamailio udp 0 0 localhost:41407 localhost:15000 ESTABLISHED 31168/kamailio udp 0 0 192.168.253.98:sip *:* 31162/kamailio udp 0 0 localhost:sip *:* 31162/kamailio udp 0 0 localhost:42181 localhost:15000 ESTABLISHED 31174/kamailio udp 0 0 localhost:41813 localhost:15000 ESTABLISHED 31166/kamailio udp 0 0 localhost:55255 localhost:15000 ESTABLISHED 31164/kamailio udp 0 0 localhost:42585 localhost:15000 ESTABLISHED 31167/kamailio > > Joan wrote: >> 2008/11/28 Maxim Sobolev : >>> Joan wrote: >>>> 2008/11/28 Maxim Sobolev : >>>>> Joan wrote: >>>>>> DBUG:handle_command: received command "9506_2 U >>>>>> d3a1ce5e-5fb88aab at 192.168.2.50 192.168.253.12 16434 >>>>>> f0cdb2c2aee55197o0;1" >>>>>> INFO:handle_command: new session d3a1ce5e-5fb88aab at 192.168.2.50, tag >>>>>> f0cdb2c2aee55197o0;1 requested, type strong >>>>>> ERR:handle_command: can't create listener >>>>>> DBUG:doreply: sending reply "9506_2 E10 >>>>> That's weird. The only case when the RTPproxy can fail like this is when >>>>> it cannot allocate a UDP ports for the session, either due to ports >>>>> already taken by other application or due to kernel not allowing to use >>>>> any ports in the specified range (EADDRINUSE or EACCES). Can you please >>>>> answer the following questions to help me identify the issue: >>>>> >>>>> 1. Did you make any changes to the sources or defines? >>>>> >>>> No, the only change I made was with the include, the one already >>>> commited into trunk. >>>> Currently I've built from a clean "cvs up" >>> OK, can you please apply the attached patch, recompile, restart and send the >>> error output again. >>> >> Here it is ... > > Regards, > -- > Maksym Sobolyev > Sippy Software, Inc. > Internet Telephony (VoIP) Experts > T/F: +1-646-651-1110 > Web: http://www.sippysoft.com > MSN: sales at sippysoft.com > Skype: SippySoft > _______________________________________________ > Users mailing list > Users at rtpproxy.org > http://lists.rtpproxy.org/mailman/listinfo/users >