I think that there is version mismatch. You have to
use cvs version of ser with cvs version of sems.
Richard
--- Sean <u0085200(a)cc.ncu.edu.tw> wrote:
when I try to a call, it appear this problem
and I install ser-0.8.12 and sems(cvs)
I can't find ans_machine in my server.
how to solve it.
thanks.
Aug 14 03:17:12 knuth /usr/local/sbin/ser[19748]:
voicemail - initializing
child 8
Aug 14 03:17:12 knuth /usr/local/sbin/ser[19742]:
voicemail - initializing
child 6
Aug 14 03:17:12 knuth /usr/local/sbin/ser[19731]:
SER: open_uac_fifo: fifo
server up at /tmp/ser_fifo...
Aug 14 03:17:12 knuth /usr/local/sbin/ser[19745]:
voicemail - initializing
child 7
Aug 14 03:17:12 knuth /usr/local/sbin/ser[19752]:
voicemail - initializing
child -4
Aug 14 03:17:12 knuth /usr/local/sbin/ser[19696]:
voicemail - initializing
child 0
Aug 14 03:17:12 knuth /usr/local/sbin/ser[19739]:
voicemail - initializing
child 5
Aug 14 03:17:18 knuth /usr/local/sbin/ser[19718]:
ERROR: voicemail:
ans_machine deamon is not running !
Aug 14 03:17:18 knuth /usr/local/sbin/ser[19718]:
ERROR: voicemail: No such
device or address
Aug 14 03:17:18 knuth /usr/local/sbin/ser[19718]:
ERROR: vm_start:
write_to_fifo failed
----
I try to sems -E -D 3
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command t_reply is not available
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: ringing
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: 00004D3624F6662E
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must have at least 3 chars
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command t_reply is not available
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must have at least 3 chars
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: 00004D3624F6662E
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: Content-Type:
application/sdp
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: v=0
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: s=session
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: t=0 0
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: a=rtpmap:0 /^H
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command t_reply is not available
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: could not send response.
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must begin with :: 00004D3624F6662E
Aug 14 03:20:13 knuth /usr/local/sbin/ser[19731]:
ERROR: fifo_server:
command must have at least 3 chars
here is my and ser.cfg sems.conf
----
debug=3
fork=yes
log_stderror=no
check_via=no
dns=no
rev_dns=no
port=5060
children=4
fifo="/tmp/ser_fifo"
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
loadmodule "/usr/local/lib/ser/modules/vm.so"
loadmodule "/usr/local/lib/ser/modules/exec.so"
modparam("usrloc", "db_mode", 2)
modparam("auth_db", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")
modparam("rr", "enable_full_lr", 1)
modparam("voicemail", "db_url",
"sql://ser:heslo@localhost/ser")
modparam("tm", "fr_inv_timer", 15)
# ------------------------- request routing logic
-------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long
requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many
Hops");
break;
};
if ( len_gt( max_len) ) {
sl_send_reply("513", "Message too
big");
break;
};
# we record-route all messages -- to make
sure that
# subsequent messages will go through our
proxy; that's
# particularly good if upstream and
downstream entities
# use different transport protocol
record_route();
# loose-route processing
if (loose_route()) {
t_relay();
break;
};
#nsert_ucontact(locations, contact, expires, q,
callid, cseq, flags, cont);
# if the request is for other domain use
UsrLoc
# (in case, it does not work, use the
following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest
authentication
if
(!www_authorize("<Myserver>", "subscriber")) {
www_challenge("<Myserver>", "0");
break;
};
save("location");
break;
};
lookup("aliases");
};
# native SIP destinations are
handled using our USRLOC DB
if (!lookup("location")) {
# sl_send_reply("404", "Not
Found");
# break;
#
if(method=="ACK" || method=="INVITE"
|| method=="BYE" ||
=== message truncated ===>
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail