Category:HowTo:MOH

From Snom User Wiki

Jump to: navigation, search


Languages: English • Deutsch


Contents

Music on Hold

Local (i.e., stored on the phone)

All phones except snom 300, 320, 360, Meeting Point, and m9/m9r: As of firmware version 8.7.3.8, firmware downloads include a music on hold (MoH) that is saved locally on the phone. The default setting for playing music to callers on hold is "off".

Enabling MoH

  1. Open the Advanced page of the phone's web interface.
  2. Click on the Audio tab.
  3. Change the setting of Play music during hold to "on".
  4. Click on Apply and Save.

Replacing MoH with customized music

You can replace the MoH provided by snom with a customized music, either during firmware provosioning or separately, as described below. If you replace the MoH, please keep in mind:

Music - the musical composition itself as well as audio recordings - is covered by copyright laws; its use in the form of MoH is subject to licensing fees in most countries. It is your responsibility to comply with the laws and terms of copyright in your country!

The MoH (mono, sample rate 8000Hz) consists of simple RTP packets (without header, Codec G711u (uncompressed raw headerless pcmu file)) which are stored in the applications directory in a file called moh.wav. To replace the stored music, proceed as follows:

    1. Convert your music to the format "uncompressed raw headerless pcmu file". The size of the file will be checked by the software. It must not exceed the following maximums:
    2. 3xx phones: 128 kB
      D3x5, 7xx, 8xx phones: 1 Mb
    3. Save your music to a TFTP server.
    4. Save an XML file with the URL to the TFTP server on a web server. Example (don‘t forget to replace the fictional IP address with the actual one!):
    5. <?xml version=“1.0“ encoding=“utf-8“ ?>
      <uploads>
      <file url=“tftp://192.168.11.18/moh.wav“ type=“moh“ />
      </uploads>
    6. Open the Advanced page of the phone‘s web interface.
    7. Click on the Update tab.
    8. Enter the URL of the XML file in the text field of Setting URL and click on Apply. Example URL: http://192.168.11.18/prov/upload_tmp.xml. The XML file will be read during the next reboot, and the file stored on the phone will be replaced by the file stored on the TFTP server.
    9. You should now reenter your usual provisioning server in the text field of Setting URL.


Streaming MoH from media server

If you have a music-on-hold account on a media server and want to stream the audio data to the held calls of one of the phone‘s identities, you have to configure the settings of the identity on the phone‘s web interface accordingly:

  1. Open the page Configuration Identity #.
  2. Click on the SIP tab.
  3. Type the SIP URI of the account on the media server into the text field of Music on hold server. Examples for valid values: <sip:mh@snom.de>, <mh>, <192.168.0.40>.
  4. Click on Apply.
Please note: Music - the musical composition itself as well as audio recordings - is covered by copyright laws; its use in the form of MoH is subject to licensing fees in most countries. It is your responsibility to comply with the laws and terms of copyright in your country!


Pages in category "HowTo:MOH"

This category contains only the following page.

F

Personal tools
Interoperability