Upgrade 3CX to v18 and get it hosted free!

Asterisk sip mailbox

Author image

Asterisk sip mailbox=

Configure mailbox to check for message waiting indication (MWI) for this peer.

Syntax:
mailbox=1234
or
mailbox=1234@context
or
mailbox=1234, 1235
to check multiple mailboxes.

Use the 1234@context notation if your mailbox is not located in the default context! With the advent of Voicemail2 (and the removal of voicemail version 1 in the end of 2003 from the Asterisk code) voicemail has become context sensitive.

Please note

The voicemail context and the extension context is not the same for a user. If you define a user/peer to belong to context=whatever in sip.conf, the mailbox=1234 config option will look for mailbox 1234 in the [default] context of voicemail.conf.

What happens

Asterisk watches the mailbox and if there’s voice mail in the mailbox directory, sends a notification using the SIP simple syntax. Your phone needs to support this.

You have to set notifymimetype=application/simple-message-summary in sip.conf (still necessary with Asterisk v1.2?)
For Asterisk v1.2: Do have a look at the sip.conf setting vmexten=together with fromdomain= (see bug/patch 4801) if e.g. want to make the “Retrieve” button work on a SNOM phone.

For those of you that understand SIP syntax, the message looks like this:

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: 37

Messages-Waiting: yes <<============
Voicemail: 1/0

See also


Asterisk | Asterisk SIP channels | Asterisk config sip.conf | voicemail.conf | SIP mwi


Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.

Related Posts:

Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.