Solved

asterisk and MWI

Posted on 2010-11-29
4
1,216 Views
Last Modified: 2012-05-10
HI All,

We are running a digium aa50 with grandstream gxp 2020.

I am unable to work out how to get the MWI light showing when we have new messages on the system.

We have enabled "Subscribe for MWI" and disabled "subscribe for registration event" and "Publish for presence".

Any help would be appreciated.
0
Comment
Question by:Cheryl Lander
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 19

Expert Comment

by:feptias
ID: 34268564
Asterisk doesn't usually require explicit MWI subscription, so it may be better to disable "Subscribe for MWI". It should automatically get told about messages provided Asterisk knows which voicemail box is associated with each phone. You can check that using the CLI command:
  sip show peer <extn_number>

In the list of data that is displayed, look for the field "Mailbox". It should contain the voicemail box number.

The Grandstream field "Voicemail User ID" is misleading - it is not the voicemail box number, but is the number the phone calls to access messages (well, that is true on the GXP2000 anyway).

Check my article for more details:
http://kb.smartvox.co.uk/index.php/asterisk/how-it-works/sip-subscribenotify-asterisk-hints-explained/
0
 

Author Comment

by:Cheryl Lander
ID: 34279567
Ive turned off mwi subscription and rebooted the phone.

ive then gone into cli and got the following results.

Also the Voicemail User ID is of the number to access messages.

So in this case.

User # = 6001.
Number to access messages = 6050


* Name       : 6001
  Secret       : 
  MD5Secret    : 
  Context      : DLPN_DialPlan1
  Subscr.Cont. : 
  Language     : 
  AMA flags    : Unknown
  Transfer mode: open
  CallingPres  : Presentation Allowed, Not Screened
  Callgroup    : 
  Pickupgroup  : 
  Mailbox      : 6001
  VM Extension : 6050
  LastMsgsSent : 1/5
  Call limit   : 100
  Dynamic      : Yes
  Callerid     : "Joe Bloggs" <6001>
  MaxCallBR    : 384 kbps
  Expire       : 3385
  Insecure     : no
  Nat          : RFC3581
  ACL          : No
  T38 pt UDPTL : No
  CanReinvite  : No
  PromiscRedir : No
  User=Phone   : No
  Video Support: No
  Trust RPID   : No
  Send RPID    : No
  Subscriptions: No
  Overlap dial : Yes
  DTMFmode     : rfc2833
  LastMsg      : 0
  ToHost       : 
  Addr->IP     : 192.168.1.4 Port 5060
  Defaddr->IP  : 0.0.0.0 Port 5060
  Def. Username: 6001
  SIP Options  : (none)
  Codecs       : 0x180e (gsm|ulaw|alaw|g726|g722)
  Codec Order  : (alaw:20,ulaw:20,gsm:20,g726:20,g722:0)
  Auto-Framing:  No 
  Status       : Unmonitored
  Useragent    : Grandstream GXP2020 1.2.3.3
  Reg. Contact : sip:6001@192.168.1.4:5060;transport=udp

Open in new window

0
 
LVL 19

Accepted Solution

by:
feptias earned 500 total points
ID: 34280900
Everything looks correct. If someone leaves a message in voicemail box 6001, you should definitely see an indication on the phone. ...but you're saying that you don't. That is very odd. Can you capture the SIP packets and post them here please as follows:
1. Clear all messages from box 6001
2. At the CLI, type "sip set debug peer 6001"
3. Leave a message in box 6001
4. Save the CLI output to a file and post here as an attachment.

I use Putty to reach the CLI in Asterisk. It has the ability to buffer hundreds of lines of output and other options to allow capture to file of a large stream of output as descibed above. There are other ways of capturing the SIP. For example, by adding verbose to the options for the log file in /etc/asterisk/logger.conf, then do logger reload, then run the test above. That will write the SIP to the /var/log/asterisk/messages file.

By the way, have you checked for updates to the firmware on the phone? I am very surprised this is not just working.
0
 

Author Closing Comment

by:Cheryl Lander
ID: 34298573
No Good.

Will call it day.

Too much time spent on this phone ;-)

Thanks.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question