[Asterisk-Users] Snom subscribe/notify problem

Michael George george at mutualdata.com
Mon Apr 18 08:34:03 MST 2005


I have a Snom-190 that I've successfully used on a * box with the LED's
lighting up when a line goes active.

I have moved it to another box, though, and I'm having trouble with it.

It almost seems as though there is a limit to how long a sip channel name can
be for the subscribe/notify to work right.

If I have the following in sip.conf:
--------------------------------------------------------------------------
[snom]
type=friend                   ; Friends place calls and receive calls
context=PewTest-snom       ; Context for incoming calls from this user
host=dynamic         ; This peer register with us
callerid="Snom190" <201>
dtmfmode=rfc2833     ; Choices are inband, rfc2833, or info
disallow=all
allow=ulaw                     ; dtmfmode=inband only works with ulaw or alaw!
mailbox=201 at PewTest      ; Mailbox(-es) for message waiting indicator
accountcode=PewTest
amaflags=documentation        ; default AMA flag

[PewTest-grandstream]
type=friend                   ; either "friend" (peer+user), "peer" or "user"
callgroup=1                   ; We are in caller groups 1,3,4
pickupgroup=1                 ; We can do call pick-p for call group 1,3,4,5
context=PewTest-internal
username=grandstream1         ; usually matches the [section] title
callerid="grandstream" <202>
host=dynamic             ; we have a static but private IP address
canreinvite=yes               ; allow RTP voice traffic to bypass Asterisk
dtmfmode=info                 ; either RFC2833 or INFO for the BudgeTone
outgoinglimit=1               ; disable callwaiting signal (2nd call to phone)
incominglimit=1               ; permit only 1 outgoing call at a time
mailbox=202 at PewTest
disallow=all                  ; need to disallow=all before we can use allow=
allow=ulaw                    ; Note: In user sections the order of codecs
accountcode=PewTest
amaflags=documentation        ; default AMA flag

--------------------------------------------------------------------------

and this in extensions.conf:
--------------------------------------------------------------------------
[PewTest-snom]
;include => PewTest-internal
   ; extensions for monitoring
exten => 200,hint,SIP/PewTest-sipura1
exten => 201,hint,SIP/snom
exten => 202,hint,SIP/PewTest-grandstream
exten => 203,hint,SIP/PewTest-grandstream
exten => 200,1,Dial(SIP/PewTest-sipura1)
exten => 201,1,Dial(SIP/snom)
exten => 202,1,Dial(SIP/PewTest-grandstream)
exten => 203,1,Dial(SIP/PewTest-grandstream)
--------------------------------------------------------------------------

and the snom is set to light up it's LEDs for extensions 200-203.

The LED's work just find when I call the snom (SIP/snom), but the light for
the grandstream will not light up (SIP/PewTest-grandstream).

If I change the entries for the grandstream from "PewTest-grandstream" to
"grandstream", then the light will work for that line, too.

If I change the entries for the snom from "snom" to "PewTest-snom", then the
snom light fails to work.

I have run sip debug mode on the snom peer and * is not sending out the NOTIFY
messages, so it does not appear to be an issue with the Snom.

Is there some type of limit to the SIP SUBSCRIBE/NOTIFY stuff that only allows
8 character channel names?

Thank you.

-- 
-M

There are 10 kinds of people in this world:
	Those who can count in binary and those who cannot.



More information about the asterisk-users mailing list