<div>YES ! This solved my problem.<br></div><div><br></div><div>The problem was that I was added line:</div><div>alias="77.XX.XX.XX:5060" - getting error too many hops</div><div>and now I've added:</div><div>
alias="77.XX.XX.XX" - successfully registering</div><div><br></div><div>Now I am facing one way audio and I will read more about NAT issues.</div><div><br></div><div>Thanks for all !</div><br><div class="gmail_quote">
2011/4/7 federico cabiddu <span dir="ltr"><<a href="mailto:federico.cabiddu@gmail.com">federico.cabiddu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
in this case it would be useful to have a look on your kamailio cfg<br>
file and on the packets, but as a quick tip, did you add<br>
alias="77.XX.XX.XX"<br>
to your config file?<br>
<div><div class="h5"><br>
regards,<br>
<br>
Federico<br>
<br>
2011/4/7 <a href="mailto:spamasbl@gmail.com">spamasbl@gmail.com</a> <<a href="mailto:spamasbl@gmail.com">spamasbl@gmail.com</a>>:<br>
> Hi,<br>
><br>
> I have tried to sniff SIP packets, and maybe someone could check my results<br>
> ?<br>
> <a href="http://pastebin.com/6EY5VYeP" target="_blank">http://pastebin.com/6EY5VYeP</a><br>
><br>
> Now I am getting Too Many Hops (483)<br>
><br>
> 77.YY.YY.YY = IP from which client trying to register<br>
> 77.XX.XX.XX = My Public IP<br>
> 192.168.1.137 = Kamailio<br>
><br>
> Thanks for all!<br>
><br>
><br>
><br>
> 2011/4/7 federico cabiddu <<a href="mailto:federico.cabiddu@gmail.com">federico.cabiddu@gmail.com</a>><br>
>><br>
>> Hi,<br>
>> try to sniff the traffic on your Kamailio server to see if SIP packets<br>
>> are reaching the server or not and where, eventually, Kamailio is<br>
>> sending the replies.<br>
>><br>
>> Regards,<br>
>><br>
>> Federico<br>
>><br>
>> 2011/4/7 <a href="mailto:spamasbl@gmail.com">spamasbl@gmail.com</a> <<a href="mailto:spamasbl@gmail.com">spamasbl@gmail.com</a>>:<br>
>> > Thank you, Klaus for your prompt reply.<br>
>> ><br>
>> > Now Kamailio listens on local IP (192.168.1.137)<br>
>> > I've added advertised_address line into my conf (I've added here my<br>
>> > public<br>
>> > hostname)<br>
>> > Also I have configured RTPProxy on port 22222, and now Kamailio starts<br>
>> > without errors or<br>
>> > warnings:<br>
>> > Apr 7 04:58:37 sipbox kamailio[2465]: INFO: rtpproxy [rtpproxy.c:1403]:<br>
>> > rtp<br>
>> > proxy <udp:<a href="http://127.0.0.1:22222" target="_blank">127.0.0.1:22222</a>> found, support for it enabled<br>
>> > But still the problem persists. I am not able to register with kamailio<br>
>> > via<br>
>> > public IP.<br>
>> > DMZ is turned on, so I guess router should forward all ports to .137<br>
>> > address.<br>
>> > When trying to register, I am getting request timed out.<br>
>> ><br>
>> > Any ideas ?<br>
>> > Thanks<br>
>> > 2011/4/7 Klaus Darilion <<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>><br>
>> >><br>
>> >><br>
>> >> Am 07.04.2011 09:10, schrieb <a href="mailto:spamasbl@gmail.com">spamasbl@gmail.com</a>:<br>
>> >> > Hello all,<br>
>> >> ><br>
>> >> > I have installed latest Kamailio 3.1.3 on latest ubuntu server.<br>
>> >> > Everything seems to be working well<br>
>> >> > on my LAN. I can successfully register with local Kamailio IP address<br>
>> >> > (192.168.1.137).<br>
>> >> ><br>
>> >> > The issue is that I can not run Kamailio on my public IP:<br>
>> >> > listen=udp:77.XX.XX.XX:5060<br>
>> >> > listen=udp:<a href="http://192.168.1.137:5060" target="_blank">192.168.1.137:5060</a><br>
>> >> > port=5060<br>
>> >><br>
>> >> Kamailio can only listen to local IP addresses. The public IP address<br>
>> >> is<br>
>> >> not on your server, but on the public interface of the NAT Router. I<br>
>> >> guess the NAT router just does a forwarding to 192.168.1.137.<br>
>> >><br>
>> >> Having a SIP proxy behind NAT will give you lot of headache. Anyway,<br>
>> >> listen only to the local IP address (192.168.1.137) and try<br>
>> >> advertised_address:<br>
>> >><br>
>> >><br>
>> >><br>
>> >> <a href="http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x#advertised_address" target="_blank">http://www.kamailio.org/dokuwiki/doku.php/core-cookbook:3.1.x#advertised_address</a><br>
>> >><br>
>> >> klaus<br>
>> >><br>
>> >><br>
>> >><br>
>> >> ><br>
>> >> ><br>
>> >> > Kamailio runs behind Linksys WRT54GL router with latest Linksys<br>
>> >> > firmware<br>
>> >> > and DMZ is turned on (192.168.1.137).<br>
>> >> ><br>
>> >> > Here is the error I am getting when trying to run kamailio with my<br>
>> >> > public IP:<br>
>> >> ><br>
>> >> > Apr 7 02:57:40 sipbox kamailio[1050]: ERROR: <core><br>
>> >> > [udp_server.c:400]:<br>
>> >> > ERROR: udp_init: bind(7, 0x82cc6e4, 16) on 77.XX.XX.XX: Cannot assign<br>
>> >> > requested address<br>
>> >> ><br>
>> >> > Do you have any idea what I'm doing wrong ?<br>
>> >> ><br>
>> >> > Thanks !<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > _______________________________________________<br>
>> >> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing<br>
>> >> > list<br>
>> >> > <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
>> >> > <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>> >><br>
>> >> _______________________________________________<br>
>> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
>> >> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
>> >> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
>> > <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
>> > <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
>> ><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
>> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
>> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
><br>
> _______________________________________________<br>
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
> <a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
> <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
><br>
><br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br>