ran into (parse error (80,1-3): parse error) while
setting up missed call reports for serweb.
line 80 of ser.cfg reads
if (!lookup("location")) {
my ser.cfg as follows,
# if a call is labeled using setflag(3) and is missed,
it will
# be reported
modparam("acc", "log_missed_flag", 3 )
# -------------------- Missed call Reports
-------------------------
if (!lookup("location")) {
# call invitations to off-line users are reported
using the
# acc_request action; to avoid duplicate reports
on request
# retransmissions, request is processed statefuly
(t_newtran,
# t_reply)
if ((method=="INVITE" || method=="ACK") &&
t_newtran() ) {
t_reply("404", "Not Found");
acc_request("404 Not Found");
break;
};
# all other requests to off-line users are simply
replied
# statelessly and no reports are issued
sl_send_reply("404", "Not Found");
break;
} else {
# user on-line; report on failed transactions;
mark the
# transaction for reporting using the same number
as
# configured above; if the call is really missed,
a report
# will be issued
setflag(3);
# forward to user's current destination
t_relay();
break;
};
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers