I installed Asterisk and use a soft phone (X-Lite) to call succesfully. But can I connect a VoIP Phone (MAX IP10) to Asterisk and make a call? I tried to connect but it didn’t work. This is my code:
sip.conf
[code]useragent = X-Lite release 1103m
register => PHONENUMBER:PASSWORD@call1.net2phone.com
[net2phone]
type = peer
host = call1.net2phone.com
username = PHONENUMBER
secret = PASSWORD
fromuser = PHONENUMBER
fromdomain = net2phone.com
context = incoming
insecure = very
canreinvite = no
[PHONENUMBER]
type=friend
secret=3507
auth=md5
nat=yes ; we assume clients are behind NAT
host=dynamic ; and have dynamic IP addresses
reinvite=no ; if so, we need to make them
canreinvite=no ; always go through Asterisk
qualify=1000
dtmfmode=inband
callerid=“PHONENUMBER”
disallow=all
allow=gsm ; add whatever other codecs we fancy
context=PHONENUMBER ; use a context that exists ;-)[/code]
extensions.conf
[code][PHONENUMBER] ; Our context for IP Phone clients
;
; Catch all five digit numbers, no leading zeroes
exten => _[123456789]XXXX,1,NoOp(“call for “${EXTEN})
exten => _[123456789]XXXX,2,Dial(SIP/${EXTEN},60,tr)
exten => _[123456789]XXXX,3,Congestion
[outgoing]
exten => _9NXXNXXXXXX,1,Dial(SIP/net2phone/${EXTEN:1})
[/code]
asterisk_additional.conf
[PHONENUMBER]
username=PHONENUMBER
type=friend
secret=3507
qualify=no
port=5060
pickupgroup=
nat=yes
host=dynamic
dtmfmode=rfc2833
disallow=
context=from-internal
canreinvite=no
callgroup=
callerid="PHONENUMBER" <PHONENUMBER>
allow=
permit=xx.144.231.45
Can any one show me how to use MAX IP10 with Asterisk?[/code]