All, I'm using Asterisk 1.6 and using Polycom 500's with SIP firmware 2.1.3. I can not seem to get the Message Waiting Indicator to work reliably (and in my opinion correctly) with voicemail. I've got the following in my phone.cfg: <reginfo> <msg msg.bypassInstantMessage="1"> <mwi msg.mwi.1.callBack="*97" msg.mwi.1.callBackMode="contact" msg.mwi.1.subscribe="" ></mwi> </reginfo> and the indicator will come on if there is a new message but it won't go off when I delete the message. I think that after a period of hours it may go off. But the only way to make it go off quickly is to put some invalid chars into the subscribe string and reboot the phone and then switch it back and reboot again. Does anyone know how to setup this phone to work with asterisk so that the indicator light comes on when there's a new message and goes off quickly (less than a minute) after the message is deleted? Thanks, Brian
On Thu, Jan 20, 2011 at 12:55 PM, Brian C. Huffman <bhuffman at etinternational.com> wrote:> Does anyone know how to setup this phone to work with asterisk so that the > indicator light comes on when there's a new message and goes off quickly > (less than a minute) after the message is deleted? > > Thanks, > BrianBrian, I'm using Polycom 321 sets, and the MWI works wonderfully. If you look at the asterisk-1.6 source code, in app_voicemail.c, you can see where it calls queue_mwi_event(...) after leaving a message and after deleting a message. If you run a wireshark capture, you should see these in the trace. It also looks like, in most cases, an AMI event of "MessageWaiting" will be generated. I know it's not much, but it may help you to diagnose the problem further. -M
Brian C. Huffman wrote:> Does anyone know how to setup this phone to work with asterisk so that > the indicator light comes on when there's a new message and goes off > quickly (less than a minute) after the message is deleted?My phone.cfg for extension 4221 and the voicemail extension of 4200 look like: <mwi msg.mwi.1.subscribe="4221 at sip" msg.mwi.1.callBackMode="registration" msg.mwi.1.callBack="4200" Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
> I've got the following in my phone.cfg: > <reginfo> > <msg msg.bypassInstantMessage="1"> > <mwi msg.mwi.1.callBack="*97" msg.mwi.1.callBackMode="contact" > msg.mwi.1.subscribe="" ></mwi> > </reginfo> >The actual config looks good, but the structure of the XML is off. Here's what I use (and it works): <phone1> <msg msg.bypassInstantMessage="1"> <mwi msg.mwi.1.subscribe="" msg.mwi.1.callBackMode="contact" msg.mwi.1.callBack="86" /> </msg> </phone1> You seem to be missing the closing </msg> statement, so your XML is not well formed. Also, I don't know what <reginfo> is, I don't use it in my config. The outermost XML tag for me is <phone1>, and <msg> is right "inside" it. (And of course I left out plenty of other config options from my snippet.) HTH -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110120/579dbc14/attachment.htm>