<br><div class="gmail_quote">2010/4/21 Roberto Ovani <span dir="ltr"><<a href="mailto:roberto.ebay@gmail.com">roberto.ebay@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
Il martedì 20/04/10 15.31, Laszlo ha scritto:
<blockquote type="cite"><div><div></div><div class="h5">Hi,<br>
<br>
<br>
<div class="gmail_quote">2010/4/20 Roberto Ovani <span dir="ltr"><<a href="mailto:roberto.ebay@gmail.com" target="_blank">roberto.ebay@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">This is what I get in
/var/log/syslog at RTPPROXY's host,<br>
when I get "ERROR:nathelper:force_rtp_proxy_body: incorrect port 0 in
reply from rtp proxy" at opensips' host :<br>
<br>
<small>Apr 20 14:34:45 ate rtpproxy[32664]: DBUG:handle_command:
received command "1338_6 V"<br>
Apr 20 14:34:45 ate rtpproxy[32664]: DBUG:doreply: sending reply
"1338_6 20040107 "<br>
Apr 20 14:34:45 ate rtpproxy[32664]: DBUG:handle_command: received
command "1338_7 VF 20050322"<br>
Apr 20 14:34:45 ate rtpproxy[32664]: DBUG:doreply: sending reply
"1338_7 1 "<br>
Apr 20 14:34:45 ate rtpproxy[32664]: DBUG:handle_command: received
command "1338_8 VF 20071116"<br>
Apr 20 14:34:45 ate rtpproxy[32664]: DBUG:doreply: sending reply
"1338_8 1 "<br>
Apr 20 14:34:45 ate rtpproxy[32664]: DBUG:handle_command: received
command "1338_9 VF 20081102"<br>
Apr 20 14:34:45 ate rtpproxy[32664]: DBUG:doreply: sending reply
"1338_9 1 "<br>
Apr 20 14:34:45 ate rtpproxy[32664]: DBUG:handle_command: received
command "1338_10 Uc3,8,0,101
<a href="mailto:9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22" target="_blank">9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22</a>
151.68.60.80 49164
4563395591901985372;1"<br>
Apr 20 14:34:45 ate rtpproxy[32664]: INFO:handle_command: new session
<a href="mailto:9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22" target="_blank">9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22</a>,
tag
4563395591901985372;1 requested, type strong<br>
Apr 20 14:34:47 ate rtpproxy[32664]: ERR:handle_command: can't create
listener<br>
Apr 20 14:34:47 ate rtpproxy[32664]: DBUG:doreply: sending reply
"1338_10 E10 "<br>
Apr 20 14:34:47 ate rtpproxy[32664]: DBUG:handle_command: received
command "1338_10 Uc3,8,0,101
<a href="mailto:9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22" target="_blank">9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22</a>
151.68.60.80 49164
4563395591901985372;1"<br>
Apr 20 14:34:47 ate rtpproxy[32664]: INFO:handle_command: new session
<a href="mailto:9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22" target="_blank">9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22</a>,
tag
4563395591901985372;1 requested, type strong<br>
Apr 20 14:34:48 ate rtpproxy[32664]: ERR:handle_command: can't create
listener<br>
Apr 20 14:34:48 ate rtpproxy[32664]: DBUG:doreply: sending reply
"1338_10 E10 "<br>
Apr 20 14:34:48 ate rtpproxy[32664]: DBUG:handle_command: received
command "1339_8 D <a href="mailto:9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22" target="_blank">9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22</a>
4563395591901985372"<br>
Apr 20 14:34:48 ate rtpproxy[32664]: INFO:handle_command: delete
request failed: session
<a href="mailto:9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22" target="_blank">9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22</a>,
tags
4563395591901985372/NONE not found<br>
Apr 20 14:34:48 ate rtpproxy[32664]: DBUG:doreply: sending reply
"1339_8 E8 "<br>
Apr 20 14:34:48 ate rtpproxy[32664]: DBUG:handle_command: received
command "1339_8 D <a href="mailto:9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22" target="_blank">9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22</a>
4563395591901985372"<br>
Apr 20 14:34:48 ate rtpproxy[32664]: INFO:handle_command: delete
request failed: session
<a href="mailto:9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22" target="_blank">9313C89A-1DD2-11B2-899C-81EF5B6DD5A7@192.168.1.22</a>,
tags
4563395591901985372/NONE not found<br>
Apr 20 14:34:48 ate rtpproxy[32664]: DBUG:doreply: sending reply
"1339_8 E8 "</small><br>
<br>
<br>
Roberto<br>
<br>
<br>
<br>
<br>
Il martedì 20/04/10 14.05, Bogdan-Andrei Iancu ha scritto:
<div>
<div>
<blockquote type="cite">Hi
Roberto, <br>
<br>
start RTPproxy with debugs (in foreground) and check for errors - a 0
port returned means some error on the rtpproxy side. <br>
<br>
Regards, <br>
Bogdan <br>
<br>
Roberto Ovani wrote: <br>
<blockquote type="cite">Hi ! <br>
I logged with xlog to answer to Bogdan's question : <br>
this is what I can read in syslog: <br>
Scenario : 1000@mydomain is trying to call 1002@mydomain : <br>
<br>
/*Apr 20 11:44:58 opensips opensips[32557]:
>>>>>>>>>>>>>>>>>>>>>>>
entering
route 6 !!!!!
<<<<<<<<<<<<<<< <br>
Apr 20 11:44:58 opensips opensips[32557]: Method : INVITE --->
forceRTPproxy !!!!*/ <br>
Apr 20 11:44:58 opensips opensips[32558]: fix nated contact <br>
*/Apr 20 11:44:59 opensips opensips[32557]:
ERROR:nathelper:force_rtp_proxy_body: incorrect port 0 in reply from
rtp proxy <br>
Apr 20 11:44:59 opensips opensips[32557]: new branch at
<a>sip:1002@151.16.40.175:58056;rinstance=0b5635955004021c/*</a>
<br>
Apr 20 11:44:59 opensips opensips[32556]: incoming reply <br>
Apr 20 11:44:59 opensips opensips[32556]: Qui siamo nella route onreply
: onreply_route[2]: ovvero nella gestione delle risposte 200OK o
183........... !!!!! <<<<<<<<<< <br>
Apr 20 11:45:00 opensips opensips[32558]: incoming reply <br>
Apr 20 11:45:00 opensips opensips[32558]: Qui siamo nella route onreply
: onreply_route[2]: ovvero nella gestione delle risposte 200OK o
183........... !!!!! <<<<<<<<<< <br>
<br>
I'm a newbie in opensips, so I sometimes lose control of it :( <br>
any other advice ? <br>
<br>
thanks in advance <br>
Roberto <br>
<br>
<br>
<br>
Il martedì 20/04/10 11.29, Bogdan-Andrei Iancu ha scritto: <br>
<blockquote type="cite">Hi Roberto, <br>
<br>
does the error pop up when doing force_rtp_proxy() for the INVITE
request or for the 200 OK INVITE ? <br>
<br>
Regards, <br>
Bogdan <br>
<br>
Roberto Ovani wrote: <br>
<blockquote type="cite">Hello, <br>
i have : <br>
<br>
1) one host with opensips installed (<a href="http://opensips.roberto.com" target="_blank">opensips.roberto.com</a>)
on one
public ip <br>
2) one host with rtpproxy installed (<a href="http://rtpproxy.roberto.com" target="_blank">rtpproxy.roberto.com</a>)
on another
public ip <br>
<br>
3) two clients into another LANs... <br>
<br>
I forwarded the ports for making all work : <br>
1) opensips : 5060 udp (for the registering in sip) <br>
2) rtpproxy : 7890 udp (the socket), and the range 10,000 : 20,000 (i
compiled with this range) <br>
<br>
when on sip client wants to call another sip clients (they're both
behind different nats and into different lans), then opensips must
rewrite the sdp so that the rtp flow goes through rtpproxy: in this
moment, opensips logs tell me : <br>
/nathelper:force_rtp_proxy_body: incorrect port 0 in reply from rtp
proxy <br>
<br>
/and the communication cannot happen correctly...... any advice ? what
shoul I have to check ? <br>
<br>
Roberto <br>
------------------------------------------------------------------------
<br>
<br>
_______________________________________________ <br>
Users mailing list <br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
Hmm, can you run netstat -uap during you calling out for testing?<br>
Do you see established connections or any connections to the remote
rtpproxy?<br>
<br>
<br>
-Laszlo<br>
<br>
</div></div><pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<div class="im"><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</div></pre>
</blockquote>
This is what i see doing NETSTAT -UAP on the host with opensips : <br>
<small>Active Internet connections (server e stabiliti)<br>
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name<br>
udp 0 0 <a href="http://192.168.1.12:56671" target="_blank">192.168.1.12:56671</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2868/opensips <br>
udp 0 0 <a href="http://192.168.1.12:39775" target="_blank">192.168.1.12:39775</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2863/opensips <br>
udp 0 0 <a href="http://192.168.1.12:57074" target="_blank">192.168.1.12:57074</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2870/opensips <br>
udp 0 0 <a href="http://192.168.1.12:56185" target="_blank">192.168.1.12:56185</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2861/opensips <br>
udp 0 0 <a href="http://192.168.1.12:59775" target="_blank">192.168.1.12:59775</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2859/opensips <br>
udp 0 0 <a href="http://192.168.1.12:54656" target="_blank">192.168.1.12:54656</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2874/opensips <br>
udp 0 0 <a href="http://192.168.1.12:57868" target="_blank">192.168.1.12:57868</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2860/opensips <br>
udp 0 0 <a href="http://192.168.1.12:40208" target="_blank">192.168.1.12:40208</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2864/opensips <br>
udp 0 0 <a href="http://192.168.1.12:54550" target="_blank">192.168.1.12:54550</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2865/opensips <br>
udp 0 0 <a href="http://192.168.1.12:53912" target="_blank">192.168.1.12:53912</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2876/opensips <br>
udp 0 0 <a href="http://192.168.1.12:48410" target="_blank">192.168.1.12:48410</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2880/opensips <br>
udp 0 0 <a href="http://192.168.1.12:35763" target="_blank">192.168.1.12:35763</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2866/opensips <br>
udp 0 0 <a href="http://192.168.1.12:53817" target="_blank">192.168.1.12:53817</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2878/opensips <br>
udp 0 0 192.168.1.12:sip
*:* 2858/opensips <br>
udp 0 0 localhost:sip
*:* 2858/opensips <br>
udp 0 0 <a href="http://192.168.1.12:53718" target="_blank">192.168.1.12:53718</a> <a href="http://151.16.40.175:7890" target="_blank">151.16.40.175:7890</a>
ESTABLISHED 2862/opensips </small><br>
<br>
and this is what I see on the host with rtpproxy : <br>
<small>Active Internet connections (server e stabiliti)<br>
Proto Recv-Q Send-Q Local Address Foreign Address
State PID/Program name<br>
udp 0 0 ate.local:netbios-ns
*:* 4505/nmbd <br>
udp 0 0 *:netbios-ns
*:* 4505/nmbd <br>
udp 0 0 ate.local:netbios-dgm
*:* 4505/nmbd <br>
udp 0 0 *:netbios-dgm
*:* 4505/nmbd <br>
udp 0 0 ate.local:7890
*:* 617/rtpproxy</small> <br>
<br>
I can't still do any call.... <br>
<br>
Roberto<br>
<br>
<br></div></blockquote><div><small>ERR:handle_command: can't create
listener</small> <br></div></div><br>This one is more interesting. <br>Which version of gcc do you have installed?<br>can you run gcc -v and paste the output ?<br><br>-Laszlo<br><br><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup">
</div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>