Asterisk settings Net2phone

This is from a working config used to call out to net2phone using their SIP server
The only trick is they restrict access to specific user agents, so you must falsify Asterisks user agent string.

sip.conf
[general]
useragent = X-Lite release 1103m
register => PHONENUMBER:PASSWORD@sip.net2phone.com

[net2phone]
type = peer
host = sip.net2phone.com
username = PHONENUMBER
secret = PASSWORD
fromuser = PHONENUMBER
fromdomain = net2phone.com
context = incoming
insecure = very
canreinvite = no

extensions.conf
[outgoing]
exten => _9NXXNXXXXXX,1,Dial(SIP/net2phone/${EXTEN:1})

I tested with above configuration and it works perfectly..............Nahid

Edit by RazaMetaL:
I've tested it with:
useragent=Cisco ATA 186 v3.1.0 atasip (040211A)

And works very well :)
This is from a working config used to call out to net2phone using their SIP server
The only trick is they restrict access to specific user agents, so you must falsify Asterisks user agent string.

sip.conf
[general]
useragent = X-Lite release 1103m
register => PHONENUMBER:PASSWORD@sip.net2phone.com

[net2phone]
type = peer
host = sip.net2phone.com
username = PHONENUMBER
secret = PASSWORD
fromuser = PHONENUMBER
fromdomain = net2phone.com
context = incoming
insecure = very
canreinvite = no

extensions.conf
[outgoing]
exten => _9NXXNXXXXXX,1,Dial(SIP/net2phone/${EXTEN:1})

I tested with above configuration and it works perfectly..............Nahid

Edit by RazaMetaL:
I've tested it with:
useragent=Cisco ATA 186 v3.1.0 atasip (040211A)

And works very well :)
Created by: nethab, Last modification: Fri 27 of Jan, 2006 (06:33 UTC) by razametal
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+