-I have configured my Asterisk server and my Snom phones to monitor extension state using the SUSCRIBE/NOTIFY instructions on the WIKI.
-My extensions.conf look like this:
[snom-sip]
exten => 9000,hint,SIP/wumh
exten => 9001,hint,SIP/snom
exten => 9002,hint,SIP/fancy
-My sip.conf look like this:
[wumh]
type=friend
;callerid=wumh
username=wumh
secret=wumh
host=dynamic
dtmfmode=inband
mailbox=wumh
vmexten=voicemail
disallow=all
allow=ulaw
subscribecontext=snom-sip
[snom]
type=friend
username=snom
secret=snom
host=dynamic
dtmfmode=inband
mailbox=fancy
vmexten=voicemail
disallow=all
allow=ulaw
subscribecontext=snom-sip
[fancy]
type=friend
username=fancy
secret=fancy
host=dynamic
dtmfmode=inband
mailbox=fancy
vmexten=voicemail
disallow=all
allow=ulaw
subscribecontext=snom-sip
-I have the Snom set up correctly, setting up the function keys to “destination”
However, I can’t get the following:
-LED does not light up when extenion is active, or blink when extension is called or ringing.
And I check the sip trace whick looks like this:
Sent to udp:192.168.1.170:5060 at 24/5/2006 01:38:42:390 (458 bytes):
SUBSCRIBE sip:9002@192.168.1.170;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.1.44:1033;branch=z9hG4bK-k6p2thui0du3;rport
From: sip:snom@192.168.1.170;tag=ww48tuhhx9
To: sip:9002@192.168.1.170;user=phone
Call-ID: 4fa47344a903-509xr7y1qpgy@snomSoft-000413FFFFFF
CSeq: 36 SUBSCRIBE
Max-Forwards: 70
Contact: sip:snom@192.168.1.44:1033;line=ojn9itpa;flow-id=1
Event: dialog
Accept: application/dialog-info+xml
Expires: 3600
Content-Length: 0
Received from udp:192.168.1.170:5060 at 24/5/2006 01:38:42:390 (510 bytes):
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.44:1033;branch=z9hG4bK-k6p2thui0du3;rport;received=192.168.1.44
From: sip:snom@192.168.1.170;tag=ww48tuhhx9
To: sip:9002@192.168.1.170;user=phone;tag=as1ddbfb46
Call-ID: 4fa47344a903-509xr7y1qpgy@snomSoft-000413FFFFFF
CSeq: 36 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:9002@192.168.1.170
WWW-Authenticate: Digest realm=“asterisk”, nonce="2776a164"
Content-Length: 0
Sent to udp:192.168.1.170:5060 at 24/5/2006 01:38:42:390 (629 bytes):
SUBSCRIBE sip:9002@192.168.1.170;user=phone SIP/2.0
Via: SIP/2.0/UDP 192.168.1.44:1033;branch=z9hG4bK-vvz9niqu66je;rport
From: sip:snom@192.168.1.170;tag=ww48tuhhx9
To: sip:9002@192.168.1.170;user=phone
Call-ID: 4fa47344a903-509xr7y1qpgy@snomSoft-000413FFFFFF
CSeq: 37 SUBSCRIBE
Max-Forwards: 70
Contact: sip:snom@192.168.1.44:1033;line=ojn9itpa;flow-id=1
Event: dialog
Accept: application/dialog-info+xml
Authorization: Digest username=“snom”,realm=“asterisk”,nonce=“2776a164”,uri="sip:9002@192.168.1.170;user=phone",response=“1530dae1db3963060ce8ec41003ab3c9”,algorithm=md5
Expires: 3600
Content-Length: 0
Received from udp:192.168.1.170:5060 at 24/5/2006 01:38:42:406 (446 bytes):
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 192.168.1.44:1033;branch=z9hG4bK-vvz9niqu66je;rport;received=192.168.1.44
From: sip:snom@192.168.1.170;tag=ww48tuhhx9
To: sip:9002@192.168.1.170;user=phone;tag=as1ddbfb46
Call-ID: 4fa47344a903-509xr7y1qpgy@snomSoft-000413FFFFFF
CSeq: 37 SUBSCRIBE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: sip:9002@192.168.1.170
Content-Length: 0
I need a HINT!
thanks.