Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server Edition (linux version) Centralized MOH 4

Status
Not open for further replies.

pralph

Programmer
Aug 18, 2011
40
US
I am working on IPO 9.0 server edition. I have a virtualized Linux server with the IPO/VMPRO/One-x running on it. I have 4 V2 chassis' connected to it. The server created an H323 link with a line number of 99999 and I am able to call form the v2 cassis to the server and vice versa. I am trying to get 'centralized moh' working. Here is what the docs say:

Variable
Description

WAV:
For a wav file, enter WAV: followed by the file name. For example, for the file holdmusic2.wav, enter WAV:holdmusic2.wav. The system will automatically attempt to load that file via TFTP following a reboot.

XTN:
Any analog extension with its Equipment Classification set as MOH Source can be entered as the alternate source. Enter XTN: followed by the extension's Base Extension number. For example XTN:224.

WAVDIR:
Multiple WAV file source. The WAV files must be stored in the /opt/ipoffice/tones/mohwavdir/ directory. The directory can contain up to 255 files and each file can be up to 10 minutes in length.

Not applicable to Server Edition IP500 V2 expansion systems.

USB:
Supports multiple USB inputs. Enter USB:<number>.

USB:1 is the first source found and is treated as External when the System Source is set to External. Additional devices are numbered sequentially. For example USB:2, USB:3.

LINE:
In Server Edition networks, setting the Secondary Server and Expansion Server Alternate Source to Line allows the server to receive streamed audio from a source on the Primary Server. On the Secondary Server and Expansion Server, enter Line:x,y where x is the line number to the Primary Server and y is the MOH source number on the Primary Server.



Has anyone made this work? I have a file in the "/opt/ipoffice/tones/mohwavdir/" directory labeled tone 1.wav So far I haven't been able to make it work.

Thoughts?
Thanks
 
The holdmusic.wav needs to be HoldMusic.wav or Holdmusic.wav so a capital H or H and M.

Avaya_Red.gif

___________________________________________
It works! Now if only I could remember what I did...

Dain Bramaged (Avaya Search tool )
______________________________________
 
Try this;

IP Office: Music on Hold - IP Office Server Edition.



Details


IP Office: Music on Hold - IP Office Server Edition.


Problem Clarification


The IP Office Server Edition requires additional programming steps to get the Wav file to play on the Music on Hold feature.


Cause


On the server edition there are two places to load the wav files:

opt/ipoffice/system/primary folder and opt/ipoffice/tones/mohwavdir



The names of up to 3 alternate sources can be specified on the System | Telephony | Tones & Music tab. Each can be the name of a wav file

·

The name of the system music .wav file should be holdmusic.wav. The name of alternate source .wav files should be as specified in the Alternate Sources table minus the WAV: prefix.



In the configuration check and see where they are pointing to get their source:

In the Incoming Call Route, you can select the MOH source. You need to see if the Alternate source is selected.

If calls comes in to a HuntGroup then it uses the Hold music source of PRIMARY Server Edition





A mechanism has been put in place to load a number of WAV files into a directory on the Primary server that can then be utilized as Music on Hold for certain calls that are placed on hold on the Primary server.

The directory will support a maximum of 255 WAV files, up to 10 minutes in length per WAV file. The calls that can utilize this directory are:

1. Any calls arriving on Incoming Call Routes set up on the Primary Server

2. Hunt Group calls

Any calls that arrive directly (DID) will not be able to utilize the WAV files in the directory so a default hold music wav file could also be loaded to make sure that all callers will hear music when they are placed on hold.

Any calls placed on hold on the IP500v2 expansion systems will still use the MOH source that is setup on those systems, the directory feature is not available on those systems.



Before any files can be loaded they will need to be converted to WAV files of the correct format.

The format required is PCM, 8 or 16Khz, 16 bit Mono. There is a free utility that can be used to convert music files into the correct format:




Once you have converted the files connect to the system and open the config using manager (do this so that the Manager application is put into Server Edition mode). Then from the menu select File > Advanced > Embedded File Management to start the embedded file Manager (in the Manager discovery window connect to the IP address of the Primary server).



Once embedded file manager is open click on “Disk”, then “tones” then go to the sub directory called “mohwavdir”. Upload the converted was files to this directory. The files are played in alphabetical order (first file for the first call, second file for the second call etc)



Next go back to the configuration (you will need to open this again) and go the System > Telephony > Tones & Music tab.

You need to set the system up to use the alternate MOH source, complete the form as per the example below.



Next you need to specify the MOH source to use for calls to Hunt Groups

For each Hunt Group change the Music on Hold source to be WAVDIR. Then save and merge the configs. Now all calls that arrive via Hunt Groups will hear the WAV files stored in the directory on the Primary Server.

If any calls arrive directly to people on the Primary Server (DID calls) and they place them on hold they will not hear these MOH files in the directory. If there is a requirement for these people to also hear a music source you will need to upload a separate WAV file called “holdmusic.wav” and place it in the System\Primary directory on the Primary Server. From Embedded file manager this is Disk > System > Primary. This file will then be used when any other calls are placed on hold by people on the Primary server


Solution


Server Edition 9.0 has a mechanism to connect a MOH device (CD player or radio, etc.) to the IP Office: refer to
However, Server Edition 8.1 does not have any mechanism to connect a MOH device (CD player or radio, etc.) to the IP Office. This requires the hardware of a standard controller. The only choice is wav files. The hardware built into an IP 500 V2 to communicate to an external source is unique to IP Office. The IP Office Service Edition does not have a physical port for Music on hold.

Linux is case sensitive and requires the following capitalization for default:

HoldMusic.wav rather than holdmusic.wav.

1. Obtain a Music on Hold Wav File that is 16 bit and less than 5 minutes.
2. Name the wav file HoldMusic.wav
3. Using a program like WinSCP place the file "HoldMusic.wav" into the System/Primary folder.
4. Restart the IP Office Service.

If using alternative MOH source it will only play the one file specified. It does not play all in the folder in sequence


Avaya_Red.gif

___________________________________________
It works! Now if only I could remember what I did...

Dain Bramaged (Avaya Search tool )
______________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top