Solved

asterisk and MWI

Posted on 2010-11-29
4
1,186 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now