I’m having an issue getting my Aastra 53i phones to SUBSCRIBE properly to other extensions/parking lots for BLF. I’ve read every piece of documentation that I could get my hands on, from Aastra’s docs, forum posts, you name it. I’ve got everything configured on the phone and FreePBX properly (according to what I’ve read), however, when I do a “sip show subscriptions” my read out is blank and “show hints” lists all the hints, but no watchers. I’ve turned on sip debugging and checked out the messages and from what I can tell, my problem comes up here:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.200.245:5060;branch=z9hG4bKa04035f8c459aaf65.f8e7e49cb2c5277af;received=192.168.200.245
From: "[name removed]" ;tag=ffd27ca824
To: "" ;tag=as0ad4ac9a
Call-ID: 1f49385b79d8c26d
CSeq: 26699 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7b85b2a5"
Content-Length: 0
I’m unsure if this is a problem with Asterisk or the phone configs, but here is my phone config file:
aastra.cfg
sip proxy ip: 192.168.200.10
sip proxy port: 5060
sip registrar ip: 192.168.200.10
sip registrar port: 5060
sip dial plan: *xx|3[01]xx|91xxxxxxxxxx|9xxxxxxxxxx|9xxxxxxx|7xx
sip line1 vmail: *97
sip accept out of order requests: 1
tftp server: 192.168.200.10
download protocol: TFTP
auto resync mode: 3
auto resync time: 01:00
prgkey2 type: xfer
prgkey2 label: transfer
prgkey6 type: speeddial
prgkey6 label: voicemail
prgkey6 value: *97
mac.cfg
sip screen name: [name removed]
sip screen name 2: 3146
sip display name: [name removed]
sip user name: 3146
sip password: 0000
sip proxy ip: 192.168.200.10
sip proxy port: 5060
sip registrar ip: 192.168.200.10
sip registrar port: 5060
sip dial plan: *xx|3[01]xx|91xxxxxxxxxx|9xxxxxxxxxx|9xxxxxxx|7xx
sip vmail: *97
prgkey1 type: blf
prgkey1 value: 3145
prgkey1 line: 1
And last but not least my FreePBX config for the 2 extensions I’m trying to get working:
[3145]
type=friend
secret=****
qualify=yes
port=5060
pickupgroup=1
nat=yes
mailbox=3145@default
host=dynamic
dtmfmode=rfc2833
dial=SIP/3145
context=from-internal
canreinvite=no
callgroup=1
callerid=device <3145>
pickupgroup=1
nat=yes
mailbox=3145@default
host=dynamic
dtmfmode=rfc2833
dial=SIP/3145
context=from-internal
canreinvite=no
callgroup=1
callerid=device <3145>
accountcode=
call-limit=50
[3146]
type=friend
secret=****
qualify=yes
port=5060
pickupgroup=1
nat=yes
mailbox=3146@default
host=dynamic
dtmfmode=rfc2833
dial=SIP/3146
context=from-internal
canreinvite=no
callgroup=1
callerid=device <3146>
pickupgroup=1
nat=yes
mailbox=3146@default
host=dynamic
dtmfmode=rfc2833
dial=SIP/3146
context=from-internal
canreinvite=no
callgroup=1
callerid=device <3146>
accountcode=
call-limit=50
The Aastra’s are running latest firmware (2.3.0.82). Server is running Asterisk 1.4.21.2, FreePBX 2.5.0rc1.1 (also tried on 2.4 stable before upgrading) on CentOS 5.2.
I would appreciate any help that is offered!
Thanks,
Dan