Mailbox

From Snom Asterisk Portal

Asterisk 1.2 > Asterisk 1.2/Mailbox

Contents

Feature description

An electronic mailbox is a voicemail system, which answers calls while a phone is busy or in DND State. Normally the mailbox is handled by the PBX and can be called using a star code or a function key.

Configure Asterisk

There are a few things to do in different config files.

voicemail.conf

First, create the mailbox in voicemail.conf. Every line looks like this schema:

number => pin, name, mail

Example:

[my_voicemail_context] 
8115 => 1234, Your Name, your@email.com

Note: The contexts are not related to contexts in the extensions.conf.

sip.conf

[general]
vmexten=voicemail

Example peer:

[my-sweet-snom-370-phone]
type=peer
secret=password

extensions.conf

In extensions.conf you need to call the mailbox, if dial timed out. Additionally, create an extension to listen to the voicemail.

[your_context]
exten => 115,1,Dial(SIP/115, 30)
exten => 115,2,VoiceMail(8115@my_voicemail_context)
exten => 115,3,PlayBack(vm-goodbye)
exten => 115,4,HangUp()
exten => 8115,1,VoiceMailMain(8115,s)

Configure snom phones

There is no configuration in the phone needed.