<div>Dear Klaus,</div><div><br></div><div>Since I have <span class="Apple-style-span" style="font-family: Arial; font-size: 12px; ">Usrloc record made for registration of myUA behind nat looks like:</span></div><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.35">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 15.0px; font: 12.0px Arial}
</style>
<div>Contact: <sip:1234@192.168.10.50:2305;transport=TCP;line=7e1d8b95f65b25a>;expires=600;received="sip:27.96.63.122:49202;transport=TCP"</div><div><br></div><div>I thought my rtpproxy is running.</div><div>
However , the call can be established even without NAT enable, and it also ends unusually after 36s.</div><div><br></div><div>Attachment is the ngrep log in my Kamailio server side on 5060 port.</div><div>( I have replaced my server ip as xx.xx.xx.xx and the UA name as myUA)</div>
<div><br></div><div>Any hint will be great appreciated.</div><div><br></div><div>Coca</div><div><br></div><div><br></div><div><br></div><br><br><div class="gmail_quote">2011/7/21 Klaus Darilion <span dir="ltr"><<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This sounds like a NAT problem, where the callee does not receive the<br>
ACK request (INVITE-200OK-ACK).<br>
<br>
regards<br>
klaus<br>
<br>
Am 21.07.2011 10:32, schrieb Coca:<br>
<div class="im">> Hi List,<br>
><br>
> I have a Kamailio3.1 server and RTPProxy running in WAN.<br>
><br>
> The calls between UA will automatically terminated in Callee UA side 36s<br>
> after connected, while no one sends a BYE.<br>
><br>
> While Kamailio and UA are in LAN at all , everything is just working well.<br>
><br>
> Is it my rtpproxy doesn't working correctly or something else is wrong?<br>
> What can I do to fix it.<br>
><br>
> Any hint??<br>
><br>
> BTW,<br>
> Kamailio is installed following official guide<br>
> <a href="http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/install:kamailio-3.1.x-from-git</a><br>
> The kamailio.cfg wasn't changed at all except for below:<br>
> -----------------------------------------------------------------------------------------<br>
> 1) adding the following lines:<br>
> #!define WITH_MYSQL<br>
> #!define WITH_AUTH<br>
> #!define WITH_USRLOCDB<br>
> #!define WITH_NAT<br>
><br>
> 2)uncommenting the line below in route[REGISTRAR],<br>
> setbflag(FLB_NATSIPPING);<br>
><br>
> 3)change rtpproxy port corresponding<br>
> modparam("rtpproxy", "rtpproxy_sock", "udp:<a href="http://127.0.0.1:22222" target="_blank">127.0.0.1:22222</a><br>
</div>> <<a href="http://127.0.0.1:22222" target="_blank">http://127.0.0.1:22222</a>>")<br>
<div class="im">><br>
> -----------------------------------------------------------------------------------------<br>
><br>
> and my rtpproxy1.2.1 was installed by apt-get install rtpproxy,<br>
> with<br>
> 1) /etc/default/rtpproxy changed into:<br>
><br>
> # Defaults for rtpproxy<br>
><br>
><br>
> # The control socket.<br>
><br>
> #CONTROL_SOCK="unix:/var/run/rtpproxy/rtpproxy.sock"<br>
><br>
> # To listen on an UDP socket, uncomment this line:<br>
><br>
</div>> CONTROL_SOCK=udp:<a href="http://127.0.0.1:22222" target="_blank">127.0.0.1:22222</a> <<a href="http://127.0.0.1:22222" target="_blank">http://127.0.0.1:22222</a>><br>
<div class="im">><br>
> LISTEN_ADDR=xx.xx.xx.xx<br>
><br>
><br>
> # Additional options that are passed to the daemon.<br>
><br>
> EXTRA_OPTS="-l ${LISTEN_ADDR}"<br>
><br>
> 2) and started by<br>
> rtpproxy -l xx.xx.xx.xx -s udp:localhost:22222 -u kamailio<br>
><br>
><br>
><br>
> Your help will be great appreciated.<br>
><br>
> Coca<br>
><br>
><br>
><br>
</div>> _______________________________________________<br>
> sr-dev mailing list<br>
> <a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br>
_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>--------------------------<br>Room to Fly, Endless Sky!<br><br> --Yi Chen<br>