From Snom User Wiki

Jump to: navigation, search


Voice mail

setup voice mail for snom in Freeswitch

Voicemail is activated by default in Freeswitch. You need to set the voice mailbox within the responsible Freeswitch account (e.g. /usr/local/freeswitch/conf/directory/default/1000.xml).

  <user id="1000">
      <param name="password" value="1000"/>
      <param name="vm-password" value="1000"/>
      <variable name="toll_allow" value="domestic,international,local"/>
      <variable name="accountcode" value="1000"/>
      <variable name="user_context" value="default"/>
      <variable name="effective_caller_id_name" value="Extension 1000"/>
      <variable name="effective_caller_id_number" value="1000"/>
      <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
      <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
      <variable name="callgroup" value="techsupport"/>
      <variable name="mailbox" value="1000"/>
<param name="vm-password" value="1000"/>

sets the password for the voice mailbox, in this example the password is 1000.

<variable name="mailbox" value="1000"/>

sets the mailbox used by this account, in this example 1000.

In your snom phone you need to set the mailbox in the used identity to use MWI, in this example the mailbox 1000 is used:


retrieve voice mail with snom in Freeswitch

The snom phones (snom3xx and snom8xx) are equipped with a voice mail led for MWI and a retrieve button. On snom8xx the retrieve button is the led. To retrieve voice mail messages by pressing the retrieve button you have to change the configuration of the button. In the web interface of your phone use the function keys configuration page.


retrieve voice mail without ID/password promt

To retrieve voice mail witout being promted to enter mailbox ID and password you need to add a new dialplan entry. In this example we will use the number 4001 in /usr/local/freeswitch/conf/dialplan/default.xml.

<extension name="vmain">
      <condition field="destination_number" expression="^4001$">
        <action application="answer"/>
        <action application="sleep" data="1000"/>
        <action application="set" data="voicemail_authorized=${sip_authorized}"/>
        <action application="voicemail" data="check default ${domain_name} 1000"/>
<condition field="destination_number" expression="^4001$">

Set the number to be called to retrieve voice mail to 4001.

<action application="set" data="voicemail_authorized=${sip_authorized}"/>

Deactivate the promt for password.

<action application="voicemail" data="check default ${domain_name} 1000"/>

Set mailbox 1000 as the default mailbox for number 4001.

To use this, set the retrieve key to 4001 in the web interface of your phone.

Paging (Multicasting)

In Freeswitch you can use mod_esf to make a multicast paging to snom phones (e.g. snom3xx, snom8xx and snomPA1)

Configure the snom phone for multicast paging

Set in the advanced configuration, on SIP/RTP tab "Multicast Support" to on and enter a multicast address and port into the next line:


Configure Freeswitch for multicast paging

In your dialplan (/usr/local/freeswitch/conf/dialplan/default.xml) add the following lines:

    <extension name="pmain">
      <condition field="destination_number" expression="^4021$">
        <action application="answer"/>
        <action application="esf_page_group" data=" 34564"/>


Now, if you call 4021 from a phone, you will initiate a multicast to IP-address on port 34564. Every phone, configured to listen on that IP and port will "auto answer" and paging.

Adding an Alert-Info Header

To add Alert-Info Header for Ring or Ringtone information, follow the steps below:

Load an external Wav Rington on all Calls.

<action application="export" data="alert_info="/>

Use the External Ringer (Change the Ringtone for the alert-external, alert-group and alert-internal in Snom under Setup > Preferences > Alert-Info Ringer)

<action application="export" data="alert_info=;info=alert-external;x-line-id=0"/>

See also:

SNOM m3 works with the setting "Registrar Config" "Force Domain" in the "Configuration Identity" Menu. You must reboot the Phone! Tested with Firmware-Version: snom-m3-SIP/02.09//11-Jun-10 10:06

Personal tools