Open Source Training Seminar


Not Logged in - No Account?

Don't have an account? Registering an account with us allows you to post to the forums, easily track new posts, subscribe to threads, pm (private message) other forum members, and receive periodic news letters (you can opt out if you desire). Once you are logged in this message will no longer appear. If you don't have an account, you can create one by registering here. Lost your password, request a new password. We respect your privacy which means we collect minimal information when you register and we do not resell that information or use it in any objectionable way. You can review our privacy policy for full details.


NAT Issue

Sapana Patel's picture

Hello,

I have one problem in Asterisk.

I have created one SIP extension using FreePBX.
I am using Xlite Soft phone.
My Asterisk server is on another nework and Xlite phone is on another network.

SIP Detail

[2001]
type=friend
secret=2001
record_out=Adhoc
record_in=Adhoc
qualify=yes
port=5060
pickupgroup=
nat=yes
mailbox=2001@device
host=dynamic
dtmfmode=rfc2833
disallow=
dial=SIP/2001
context=from-internal
canreinvite=no
callgroup=
callerid=device <2001>
allow=ulaw
accountcode=

I am using username 2001 and password 2001 and my asterisk server domain in my Xlite Phone configuration.

But I am not able to register it. I am getting Call Fail : Service Unavailable.


__________________

Sapana Patel


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

when crossing multiple

fskrotzki's picture

when crossing multiple networks you need to look into setting up the sip_nat.conf so that the server knows what local networks are versus non-local.

If you are traversing firewalls on these networks then it is Manditory. You'll also need to open up firewall ports and do forwarding. Remember google.com is your friend and this is covered in hundreds of places on the net.

Also see http://www.freepbx.org/support/documentation/howtos/howto-setup-a-remote...