[Asterisk-Users] Snom 220 Active Call Lights

Phil Smith apc-is at advancepkg.com
Mon Jun 27 13:09:50 MST 2005


I am screwing something up and any help to get me straight will be greatly
appreciated.

When I put this altogether the buttons light up on the Snom immediately and
there are no calls being placed.  I am trying to get it so they lights only
light when that particular line is in use.

I have a Snom 220 firmware 3.56y and an Asterisk Stable version
CVS-v1-0-06/24/05-09:32:51

Worked withe Subscribe/Notify section of this wiki
http://www.voip-info.org/tiki-index.php?page=Asterisk+phone+snom

sip.conf
[0]
username=0
type=friend
secret=0
qualify=no
port=5060
nat=never
host=dynamic
dtmfmode=rfc2833
context=iax-trunk
canreinvite=no
callerid="Operator" <0>
accountcode=operator
subscribecontext=iax-trunk

[200]
username=200
type=friend
secret=200
qualify=no
port=5060
nat=never
mailbox=200 at default
host=dynamic
dtmfmode=rfc2833
context=iax-trunk
canreinvite=no
callerid="Xten Soft Phone" <200>
callgroup=5
pickupgroup=5
accountcode=infoserv

[202]
type=friend
username=202
secret=202
host=dynamic
callerid="Polycom IP300" <202>
mailbox=202 at default
context=local
canreinvite=no
accountcode=infoserv

[204]
username=204
type=friend
secret=204
qualify=no
port=5060
nat=never
mailbox=204 at default
host=dynamic
dtmfmode=rfc2833
context=iax-trunk
canreinvite=no
callerid="Cisco 7940" <204>
callgroup=5
pickupgroup=5
accountcode=infoserv

[214]
username=214
type=friend
secret=214
qualify=no
port=5060
nat=never
mailbox=214 at default
host=dynamic
dtmfmode=rfc2833
context=iax-trunk
canreinvite=no
callerid="Cisco 7940" <214>
callgroup=5
pickupgroup=5
accountcode=infoserv

[299]
username=299
type=friend
secret=299
qualify=no
port=5060
nat=never
mailbox=299 at default
host=dynamic
dtmfmode=rfc2833
context=internal
canreinvite=no
callerid="Cisco 7912" <299>
callgroup=5
pickupgroup=5
accountcode=infoserv

Extensions.conf
[inside]
; Phone Extensions
exten => 0,1,Dial(SIP/0)
exten => 200,Hint,SIP/200
exten => 200,1,Macro(stdexten,200,SIP/200)
exten => 201,Hint,SIP/201
exten => 201,1,Macro(stdexten,201,ZAP/1)
exten => 202,Hint,SIP/202
exten => 202,1,Macro(stdexten,202,SIP/202)
exten => 204,Hint,SIP/204
exten => 204,1,Macro(stdexten,204,SIP/204)
exten => 214,Hint,SIP/214
exten => 214,1,Macro(stdexten,214,SIP/214)
exten => 299,Hint,SIP/299
exten => 299,1,Macro(stdexten,299,SIP/299)

On the Snom 220 phone I have set the function keys to DESTINATION and the
number such as <sip:299 at 192.168.3.9> where 192.168.3.9 is the Asterisk
server IP address.

In Asterisk when I issues sip show subscriptions it returns
Peer             User        Call ID                URI
192.168.3.43     0           3c2a52ea8b7f-p2oj4ghz
192.168.3.43     0           3c2a52ea881d-rxbiieu1
192.168.3.43     0           3c2a52ea84eb-42v2bi60
192.168.3.43     0           3c26700edd75-273ij1u6
192.168.3.43     0           3c26700ed7c6-wwx1bsfc
0 active SIP subscriptions(s)

The Snom 220 is IP address 192.168.3.43




More information about the asterisk-users mailing list