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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MxOne Music on Wait

Status
Not open for further replies.

kordan2

MIS
Oct 29, 2004
24
0
0
SE
Hi,

In which directory do I put the .WAV files so that I can use them as background music in MxOne?

It's not were nice to queue when all you can hear is silence...
 
From Alex - RVA installation:

3.1 Basic Flow
Use the command new_voice_prompt to place new RVA messages in the directory /eri_egx_root/nfs_root/rva/new/ on the Telephony Server. This command must be run by a user that is a member of group snlev5, or higher. Wildcards can be used for the file name.
To restart the RVA function, key the command on the Telephony Server:
media_gateway_start -restart -lim <X> -function AUXVS -name all where <X> is the Line Interface Module (LIM) number.

For example, having performed step 1 in a multi-LIM system of LIMs 1, 12, and 13, activate the prompts by keying:

media_gateway_start -restart -lim 1 -function AUXVS -name all

media_gateway_start -restart -lim 12 -function AUXVS -name all

media_gateway_start -restart -lim 13 -function AUXVS -name all

Note : Only the RVA function restarts.

The Media Gateway will verify that the total length of the RVA Messages does not exceed 60 minutes and that the correct format is used. It then moves the messages to the directory eri_egx_root/nfs_root/rva/current/ and writes them to SDRAM.
For any ongoing calls using the RVA feature, the RVA message will be interrupted. Continuous RVA messages will resume afterwards using the new message; for non-continuous messages, the message ended signal is sent to the Telephony Server.

The new prompts are active.
 
Ok. I created a wav file by ripping an old classical cd.
Saving it as PCM CCITT A-law 8kHz 8bit mono.

I copied the file to /home/mduser.

MDSH> new_voice_prompt message001.wav

/eri_egx_root/nfs_root/rva/new/message001.wav Success!

Please note that in order to activate the new prompts,
AUXVS must be restarted with the command:
media_gateway_start -lim 1 -restart -function AUXVS

MDSH> media_gateway_start -lim 1 -restart -function AUXVS -name all
Are you sure? (Y/N): Y
executed
MDSH> ls /eri_egx_root/nfs_root/rva/new/
message001.wav
MDSH> ls /eri_egx_root/nfs_root/rva/current/
MDSH>

The message file is not moved to the current directory.
And I can't hear any music...
 
Hello, The file format is wrong. Be sure its CCITT A-law. No PCM. Try to use microsoft Sound Recorder, under Windows Start, Accessories, Entertainment. This is quite handy in formatting the wav file. Regards...
 
Have you tried running an rancei:dir=xxxx,cont=xx; for all of the extensions that need MOH.
 
make sure ASPAC 116 is 7

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 

The format looks wrong as patcher says, in sound recorder you can select either CCITT A-Law or PCM, not both. open and save as wav with CCITT A-Law only.

best pasnum
 
Hi!

The file format is CCITT A-Law. I mixed it up before.

I have tried to change ASPAC 116 to 7.

Did the new_voice_prompt message001.wav
and media_gateway_start -lim 1 -restart -function AUXVS -name all
again and still the directory "new" i empty...

I tried rancei:dir=xxxx,cont=xx;
But I get:
NOT ACCEPTED
DIR
NOT ASSIGNED

Any suggestions?
 
straight from the knowledgebase:

Code:
Is it difficult to initiate Music on Hold in MXOne 3.1? Case Created
30 January, 2008 09:58:35

Case Last Updated
30 January, 2008 13:53:47

Printer friendly version

Case valid for product:
Telephony Server 3.x

Revision: A  
  
How to set up Music on Hold in MX-ONE 3.1 

 
  
Solution

Please follow the steps below


1. Make a .wav file according to specified in ALEX (G.711, A-law, mono and samplingrate 8000Hz) 

2. Transfer message001.wav to /tmp using WinSCP on each LIM.
3. Changed rights(777) as SU - 

4. On LIM 1 , enter new_voice_prompt /tmp/message001.wav ,
then the message001.wav is moved from /tmp to /eri_egx_root/nfs_root/rva/new on each LIM.
5. For each LIM media_gateway_start -lim 1 -restart -function AUXVS
Then the message001.wav is moved from /eri_egx_root/nfs_root/rva/new to /eri_egx_root/nfs_root/rva/current
6. Do command RAMDI:ANN=1,MSG=1; To connect message 1 with Announcement 1.
7. Then do command RACEI:DIR=xxxx,CONT=1;

offcourse change XXXX with an actual extension number

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Hi!

The only thing that I didn't try before was to change the rights to the message file. From -rw-r--r-- to -rwxrwxrwx.

So I did. But it didn't help. The message file is still not moved from new to current. If I look at the permissions after using:
new_voice_prompt /tmp/message001.wav
media_gateway_start -lim 1 -restart -function AUXVS

the permissions looks like this:

MDSH> ls -la /eri_egx_root/nfs_root/rva/new/
total 29860
drwxrwxrwx 2 root root 4096 Feb 1 10:48 .
drwxrwxrwx 4 root root 4096 Feb 13 2007 ..
-rw-r--r-- 1 29000 snlev0 30530808 Feb 1 10:48 message001.wav
MDSH>

We are using:
MDSH> ts_about
====== MX-ONE Telephony System ======
Version: 2.1 SP3 Hotfix1 build1

RPM Packages
============
Telephony Server 8.8.1 :
eri_sn-8.8-MR
eri_sn-8.8.1-CR

Media Gateway File system 2.0 :
egx_rfs-2.0-1

Media Gateway 7.11 :
egx_sw-7.11-1

Media Gateway Classic 1.3 :
lsue_sw-1.3-1

Manager Telephony System 4.2.1 :
eri_om-4.2.1-1


 
please give feedback from command RACEP:DIR=ALL;

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
MDSH> RACEP:DIR=ALL;
DIRECTORY ANNOUNCEMENT DATA
DIR WELCOM CONT

END
 
like I said, you must do

RACEI:DIR=<FILL IN YOUR ACTUAL EXTENSION NUMBER>,MSG=1;

[morning]

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
I mean

RACEI:DIR=<FILL IN YOUR ACTUAL EXTENSION NUMBER>,CONT=1;

sorry for that...


-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
MDSH> RACEI:DIR=1197,CONT=1;
NOT ACCEPTED
DIR
NOT ASSIGNED
MDSH>
 
mmm,

and 1197 is an assigned number?

do a SUDIP:dir=1197;

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
MDSH> RACEI:DIR=1197,MSG=1;
NOT ACCEPTED
TOO MANY PARAMETERS ENTERED

MDSH>
 

send SUDIP:DIR=1197; to show ext exist, if not put the correct ext number in or choose a new one to receive music, then when it exists for certain, do RACEI:DIR=1197,CONT=1; as you have been advised above!
 
MDSH> SUDIP:DIR=1197;
DIRECTORY INFORMATION AT 09:47 04FEB08
DIRECTORY NUMBER : 1197
TYPE OF DIRECTORY NUMBER : PBX GROUP
NAME : ABC

GROUP DIRECTORY CATEGORIES
LIM TRAF SERV CUST SEL RLTC QUE MEM
1 15 10000 010052 0 10

PARALLEL RINGING DATA

DIVERSION DATA
INDIVIDUAL DIVERSION NUMBER: 4793

END


MDSH> RACEI:DIR=1197,CONT=1;
NOT ACCEPTED
DIR
NOT ASSIGNED
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top