I´m trying to use a Dlink 1402S VOIP router with my Asterisk PBX but, after looking for howtos and info in the internet it couldn´t register yet.
In my sip.conf I put:
bindaddress=0.0.0.0
maxexpirey=3600
[6011]
username=6011
type=friend
secret=sdruws
record_out=Never
record_in=Never
qualify=no
port=5061
nat=no
host=dynamic
disallow=all
defaultip=10.1.1.75
context=longdistance
canreinvite=no
callerid=“6011”<6011>
allow=g729
[6012]
username=6012
type=friend
secret=sdruws
record_out=Never
record_in=Never
qualify=no
port=5062
nat=no
host=dynamic
disallow=all
defaultip=10.1.1.75
context=longdistance
canreinvite=no
callerid=“6012”<6012>
allow=g729
and the 1402S
Model DVG1402S P# BVG1402SA-A1
Boot PROM Version L4.0B03
Firmware Version S4.0S49
Is configured as follows:
Manual IP on WAN and LAN
I connected the Dlink wan port to my LAN hub where the Asterisk is.
SIP Server: IP 10.1.1.111
Port: 5060
Initial Unregister: disabled
Register Expiration: 3600
Session Exp: 180
Outbound Proxy: disabled
User agent:
Same Phone # disabled
Phone Number 1 - 6011 and 2 - 6012
Display Name: 1- Phone1 and 2 - Phone2
User agent port: 1 - 5061 and 2- 5062
Authentication Username: 1 - 6011 and 2- 6012
When I try the Query and Register Buttons I see in the registration state:
get_error_code
and at the Asterisk CLI:
Oct 21 12:41:03 NOTICE[2335]: chan_sip.c:5627 check_auth: stale nonce received from 'Phone1 sip:6011@10.1.1.111’
Oct 21 12:41:03 NOTICE[2335]: chan_sip.c:5627 check_auth: stale nonce received from ‘Phone1 sip:6011@10.1.1.111’
Please help-me.
Thanks, Carlos