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:[EMAIL PROTECTED]: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:[EMAIL PROTECTED]:5062>;tag=vn8jb3vkko
To: <sip:[EMAIL PROTECTED]>
Call-ID: [EMAIL PROTECTED]
CSeq: 23 NOTIFY
Max-Forwards: 69
Contact: <sip:[EMAIL PROTECTED]:5062>
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 85
Message-Waiting: no Message-Account: sip:[EMAIL PROTECTED]: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:[EMAIL PROTECTED] SIP/2.0 Via: SIP/2.0/UDP 10.1.15.30:5060;branch=z9hG4bK3f99907b From: "Asterisk" <sip:[EMAIL PROTECTED]>;tag=as243abda7 To: <sip:[EMAIL PROTECTED]> Contact: <sip:[EMAIL PROTECTED]> Call-ID: [EMAIL PROTECTED] 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:
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 ([EMAIL PROTECTED]). After calling this the MWI indication disappears, I'm not sure if it also disappears after calling from another phone.
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:[EMAIL PROTECTED];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
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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
