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(a)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= <sip:540@ser.vci.net>
(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= <<sip:540@ser.vci.net>>
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
----- Original Message -----
From: Ezequiel Colombo
To: Bill ; serusers(a)lists.iptel.org
Sent: Thursday, July 01, 2004 3:20 PM
Subject: Re: [Serusers] SEMS question - custom greeting
Are you set the correct <announce_path> ?
SEMS have permissions to read this file ?
Try to run sems -D 3 -E to see what greeting file sems try to read.
# optional parameter: announce_path=<path>
#
# - sets the path where announce files are searched for
# - the file to be played is determined the following way:
# <announce_path>/<domainname>/<username>.wav
# if this file is not available <announce_path>/<default_anounce> is used
#announce_path=/usr/local/lib/sems/audio/
announce_path=/voicemail/audio/
Ezequiel
----- Original Message -----
From: "Bill" <admin(a)vci.net>
To: <serusers(a)lists.iptel.org>
Sent: Thursday, July 01, 2004 5:05 PM
Subject: [Serusers] SEMS question - custom greeting
I have the voicemail function with SEMS working ok
but I haven't been
able to get the custom greetings to work. The sems.conf file looks pretty
straight forward but I haven't figured out why I can't get the custom
greetings to work. I recorded a greeting in wav format and placed it in
/usr/local/lib/sems/audio/ser.vci.net/510.wav My SIP ID is
510(a)ser.vci.net
I have also tried using
/usr/local/lib/sems/audio/192.168.1.55/510.wav
because when the email is sent out the domain (in the email) is listed as
"192.168.1.55" instead of "ser.vci.net" I also tried
/usr/local/lib/sems/audio/192.168.1.55/510(a)ser.vci.net.wav and that
doesn't
work either.
If it matters I actually used a symbolic link from
/usr/local/lib/sems/audio/192.168.1.55 (and
/usr/local/lib/sems/audio/ser.vci.net) to /var/greetings/ser.vci.net
because
serweb puts the custom greetings there. The paths work
though.
Most of the sems.cfg file is defaulted. I beleive the only thing I
changed was the smtp server address.
Bill Dunn
# optional parameter: announce_path=<path>
#
# - sets the path where announce files are searched for
# - the file to be played is determined the following way:
# <announce_path>/<domainname>/<username>.wav
# if this file is not available <announce_path>/<default_anounce> is
used
announce_path=/usr/local/lib/sems/audio/
# parameter: default_announce=<filename>
#
# - sets the name of the default announce WAV file
default_announce=default_en.wav
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers