ok missed calls are insert into table missed_calls may be i could see
them after updating mysql to release 4 because of missed_calls.php.
but now users can't send or receive IM reply "request timeout"!!!!
What's still wrong ??????
look at :
# native SIP destinations are handled using our USRLOC DB
lookup("aliases");
if (!lookup("location")) {
# handle user which was not found
setflag(3);
route(1);
break;
};
};
};
}
route[1] {
####################################
# voicemail specific configuration #
####################################
# non-Voip -- just send "off-line"
if (!(method == "INVITE" || method == "ACK" || method ==
"CANCEL")) {
sl_send_reply("404", "Not Found");
break;
};
if (t_newtran()) {
if (method == "ACK") {
log(1, "CAUTION: strange thing: ACK passed
t_newtran\n");
break;
};
t_reply("100","Trying -- just wait a minute !");
log(1, "am: voicemail");
if (!vm("/tmp/am_fifo", "voicemail")) {
log(1, "couldn't contact voicemail server\n");
t_reply("500", "couldn't not contact voicemail
server");
};
};
# we account missed incoming calls; previous statteful
processing
# guarantees that retransmissions are not accounted
if (method == "INVITE") {
acc_log_request("404 missed call\n");
acc_db_request("404 missed call", "missed_calls");
};
if (method == "MESSAGE") {
sl_reply_error();
break;
};
if (m_store("0")) {
t_reply("202", "Accepted for Later Delivery");
break;
};
t_reply("503", "Service Unavailable");
break;
}