Hi,<div>Asterisk is quite good with resolving the NAT issues specially the kind of issue you are facing ,as I see it, shouldn't be a problem. A few steps you can troubleshoot this problem.</div><div><br></div><div>1-a:Are your SIP packets from PC/SoftPhone reaching the server !! On Asterisk CLI execute "*CLI>sip set debug on" - are you even able to ping your server.</div>
<div>1-b: check if you've iptables ON on your server? "iptables -L" if its ON then you just flush it "iptables -F" and then see packets reaching your server !</div><div><br></div><div>2- If packets are reaching , do your phone registers successfully ? or it becomes unreachable soon after it says it is registered on asterisk console ?</div>
<div>3- If your phone registers successfully and you are able to make calls, but unfortunately calls drop after 30 seconds, then your asterisk maybe sending packets back to your Private LAN IP directly (which of course won't ever go anywhere) . then "externip" and "localnet" settings will help you.</div>
<div><br></div><div>These basic steps should get you rolling.</div><div><br></div><div>BR</div><div>Sammy</div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Aug 10, 2012 at 1:12 AM, Sazzad <span dir="ltr"><<a href="mailto:sazzadbinkamal@gmail.com" target="_blank">sazzadbinkamal@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>I've successfully setup Asterisk on my
local PC and can make call using Twinkle to the server. But, I cannot call to
my Asterisk server at Rackspace. I have been trying several things to figure it out, no luck. My PC is behind NAT, so I've set that up in sip.conf (nat=yes). I can ping my Rackspace server so it seems to be Public-static IP. Anyway, I tried with setting externip, netmask etc. No luck.<br>
<br>Recently I tried out two things. Sending UDP packets with python scripts, with a client on my PC and a server on Rackspace. I cannot receive any packets. As far as I remember, I can send TCP packets using nc, with client and server at both ends. But when I use UDP switch I don't get anything.<br>
<br>My question is how can I troubleshoot this scenario? (Is this question within the scope of this mailing list?)<span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br>Sincerely,<br>Sazzad Bin Kamal<br><br>
</font></span><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>