Fine ! you must fix the file type, and remember to make it as "mono". If you have the "sox" utility in our box try to convert the file type with this, is a simple but very good utility.
Regards Ezequiel Colombo
----- Original Message ----- From: "VCI Help Desk" admin@vci.net To: serusers@lists.iptel.org Sent: Thursday, July 01, 2004 5:57 PM Subject: Re: [Serusers] SEMS question - custom greeting
Neat. I wasn't aware of that command.
[root@ser 192.168.1.10]# file 510.wav 510.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 8000 Hz
I noticed in the sems debug output that it opened the file, got the
above details and then said "(10938) ERROR: Sorry, we don't support PCM 8 bit". So it appears to be a file format problem.
Bill Dunn
From: Ezequiel Colombo To: Bill ; serusers@lists.iptel.org Sent: Thursday, July 01, 2004 3:50 PM Subject: Re: [Serusers] SEMS question - custom greeting
Can you provide the result of the comand: "file /usr/local/lib/sems/audio/192.168.1.10/540.wav" to see the type of wav encoding of your file ?
at my system, and working the file type must look like this: /voicemail/audio/default_es.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz
----- Original Message ----- From: "Bill" admin@vci.net To: serusers@lists.iptel.org Sent: Thursday, July 01, 2004 5:35 PM Subject: Re: [Serusers] SEMS question - custom greeting
That helped a little. Here's part of the debug that showed. The
domain
that it's using is 192.168.1.10 That's the IP address of my computer
and
not the IP address of the ser server and it's obviously not the domain
name
(ser.vci.net). More below.
(10908) DEBUG: execute (AmServer.cpp:236): cmd.method= <INVITE> (10908) DEBUG: execute (AmServer.cpp:237): cmd.user= <540> (10908) DEBUG: execute (AmServer.cpp:238): cmd.email= admin@vci.net (10908) DEBUG: execute (AmServer.cpp:239): cmd.domain= <192.168.1.10> (10908) DEBUG: execute (AmServer.cpp:240): cmd.dstip= <192.168.1.55> (10908) DEBUG: execute (AmServer.cpp:241): cmd.port= <> (10908) DEBUG: execute (AmServer.cpp:242): cmd.r_uri=
(10908) DEBUG: execute (AmServer.cpp:243): cmd.from_uri= sip:540@192.168.1.10:5060 (10908) DEBUG: execute (AmServer.cpp:244): cmd.from= <Bill sip:540@ser.vci.net> (10908) DEBUG: execute (AmServer.cpp:245): cmd.to=
The debug also showed that ser couldn't open the wav file for some
reason. The path is correct. Could it be some sort of compatibility
problem?
I used Sound Recorder in Windows 98 to record the .wav file.
(10915) ERROR: play (AmRtpStream.cpp:471): AmRtpStream::play: Cannot
open
file /usr/local/lib/sems/audio/192.168.1.10/540.wav
[root@ser /]# ls /usr/local/lib/sems/audio/192.168.1.10/540.wav /usr/local/lib/sems/audio/192.168.1.10/540.wav
Bill Dunn
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers