[Asterisk-Users] MWI indicator on SNOM200 doesn't disappear

Pertti Pikkarainen ppik at lanwan.fi
Fri Apr 23 00:18:07 MST 2004


I have also complained about the change in MWI to SNOM.
My 2.03o phones still work with Asterisk but 2.04 versions do not.
However, you can turn off the MWI by pressing the MWI button but not 
remotely ( NOTIFY ).

I once got the example under from SNOM ( Asterisk version is under it ).

According to SNOM this is an example of the format the phone is expecting
in order to get MWI turned off.
The relevant difference really looks like to be the 'Message-Account'.

NOTIFY sip:444 at 192.168.195.156:5060;line=jet7pbic SIP/2.0
Via: SIP/2.0/UDP 
192.168.0.1:5060;branch=z9hG4bK-7c9c323d4898e621adb7244baa8cab62.1
Via: SIP/2.0/UDP 192.168.0.8:5062;branch=z9hG4bK-zt7bd9vxqo74
Record-Route: <sip:intern.snom.de:5060;maddr=192.168.0.1;lr>
From: <sip:9444 at 192.168.0.8:5062>;tag=vn8jb3vkko
To: <sip:444 at intern.snom.de>
Call-ID: 080c3240fe29-inavlowinxv8 at 192-168-0-8
CSeq: 23 NOTIFY
Max-Forwards: 69
Contact: <sip:9444 at 192.168.0.8:5062>
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 85

Message-Waiting: no
Message-Account: sip:9444 at 192.168.0.8:5062
Voice-Message: 0/0


This is what Asterisk is sending at the moment.
And this is ok with 2.03o.
Does chan_sip2 send somehow different NOTIFY ?


NOTIFY sip:601 at 10.1.15.6 SIP/2.0
Via: SIP/2.0/UDP 10.1.15.30:5060;branch=z9hG4bK3f99907b
From: "Asterisk" <sip:Asterisk at 10.1.15.30>;tag=as243abda7
To: <sip:601 at 10.1.15.6>
Contact: <sip:Asterisk at 10.1.15.30>
Call-ID: 5297e974529ebea11298f3844aedc13e at 10.1.15.30
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/0



--  Pertti



Olle E. Johansson wrote:

> Geert Nijpels wrote:
>
>> Ian White wrote:
>>
>>>
>>> On recent releases of the snom200 firmware, the MWI indicator will 
>>> turn on, but won't turn off when the message has been checked. It 
>>> works on firmware 2.03o, but not in 2.04g or newer. I filed a bug 
>>> report with snom, but they're claiming it is an asterisk issue and 
>>> that it should have been resolved. They suggested that I ask on the 
>>> list.
>>>
>>> "Anyway, Asterisk had a bug where it didn't send the NOTIFY 
>>> correctly to
>>> turn off the MWI.  The message doesn't contain the line so the phone
>>> doesn't know which line to apply the messages to.
>>>
>>> Basically the NOTIFY message should contain something like the
>>> following:
>>> NOTIFY sip:dephone at 209.232.233.232;line=34n34jed SIP/2.0
>>>
>>> There was a bugfix for this in Asterisk for this problem, do you have
>>> that applied?"
>>>
>>> I am running the current CVS version, and don't see anything in the 
>>> code that looks like this has been touched, and I haven't seen 
>>> reference to it on this list. They are right in that the line 
>>> information isn't being sent, looking at the SIP debugs on both 
>>> ends. Anybody have ideas?
>>>
>>> Ian
>>>
>> This is a problem I have been digging into a bit. In my case asterisk 
>> did not send out the NOTIFY with the header Content-Type: 
>> "application/simple-message-summary", but with "Content-Type: 
>> text/plain", so the NOTIFY is treated as a txt message. In result, 
>> when I pressed the MWI button, I saw the text from asterisk stating 
>> the amount of messages I have. I changed it to work, and now asterisk 
>> calls the extension the message is sent from (asterisk at sip-server). 
>> After calling this the MWI indication disappears, I'm not sure if it 
>> also disappears after calling from another phone.
>>
>> I'm using chan_sip2 and I changed some stuff, so I'm not sure if this 
>> is also a problem with standard chan_sip (the txt vs vm issue).
>
>
> Chan_sip2 handles Contact: differently than chan_sip and works better 
> with Snom phones.
> It's actually where the whole chan_sip2 project started... :-)
> /O
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list