<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Localnet is wrong... try localnet=192.168.1.0/24<DIV><BR class="khtml-block-placeholder"></DIV><DIV>/b</DIV><DIV><BR><DIV><DIV>On Sep 3, 2007, at 9:13 PM, neoh kumyee wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="text-align: left;"><BR></DIV><BLOCKQUOTE><DIV style="text-align: left;">Hi,<BR><BR>I am trying to run an Asterisk (1.4.11) server on Linux Suse. The server is behind NAT. I am testing with SIP client that developed from PJSIP running on Pocket PC Windows Mobile 5.0 . The client is also behind another NAT.<BR><BR>STUN server is implement in SIP client. <BR><BR>When a register Message send from client to server, Asterisk receive it and reply with 100 trying msg. However, there is no reply on 200 OK from server, as it course my SIP client registration failure.<BR><BR><BR>1. On the other hand, if i tested with OPENSER SIP server, registration is fine.<BR><BR>Important details are below:<BR><BR><SPAN style="font-weight: bold;">sip.conf</SPAN><BR>[global]<BR> nat=yes<BR> canreinvite=no<BR> localnet=192.168.1.46<BR> externip=60.xx.xx.xx.xx<BR><BR><BR>[8000]<BR>type=friend<BR>secret=8000<BR>nat=yes<BR>host=dynamic<BR>canreinvite=no<BR><BR><BR><SPAN style="font-weight: bold;">How can i solve it? <BR><BR>p/s : Network traffic capture in Ethereal are attached.<BR> ~ cobra client.cap - capture at client side<BR> ~ cobra server - capture at Asterisk server<BR><BR></SPAN>Thanks<BR><BR>Regards<BR>kum<BR><SPAN style="font-weight: bold;"></SPAN></DIV><BR><HR>Live Search: Better results, fast <A href="http://get.live.com/search/overview" target="_blank">Try it now!</A> </BLOCKQUOTE><BR><HR>Call and stay connected with your friends and family for free. Seen and be heard with high-definition video calls on Windows Live Messenger. <A href="http://www.get.live.com/messenger/features" target="_new">Try it!</A><SPAN><DIV><cobra client.cap></DIV></SPAN><SPAN><DIV><cobra server.cap></DIV></SPAN><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">--Bandwidth and Colocation Provided by <A href="http://www.api-digital.com--">http://www.api-digital.com--</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">asterisk-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">To UNSUBSCRIBE or update options visit:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN class="Apple-converted-space"> </SPAN><A href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>