login | register
Wed 09 of Jul, 2008 [07:28 UTC]

voip-info.org

Discuss [1] History

Asterisk settings Net2phone

Created by: nethab,Last modification on Fri 27 of Jan, 2006 [06:33 UTC] by razametal
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 :)

Comments

Comments Filter
222

333it did not function...

by angones, Tuesday 09 of May, 2006 [12:28:13 UTC]
did not function here with me... some thing moved? these accounts belong to voiceaccess or voiceline? Somebody could help me? necessary very to connect to net2phone...