[asterisk-users] Asterisk on Rackspace, My SIP phone behind NAT

SamyGo govoiper at gmail.com
Fri Aug 10 00:04:26 CDT 2012


Hi,
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.

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.
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 !

2- If packets are reaching , do your phone registers successfully ? or it
becomes unreachable soon after it says it is registered on asterisk console
?
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.

These basic steps should get you rolling.

BR
Sammy



On Fri, Aug 10, 2012 at 1:12 AM, Sazzad <sazzadbinkamal at gmail.com> wrote:

> Hi,
>
> 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.
>
> 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.
>
> My question is how can I troubleshoot this scenario? (Is this question
> within the scope of this mailing list?)
>
> --
> Sincerely,
> Sazzad Bin Kamal
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120810/2512581e/attachment.htm>


More information about the asterisk-users mailing list