Does anyone have a solution for eliminating multiple INVITE's in the
accounting table (acc) as a result of the caller putting someone on
hold?
Here's my accounting section:
...
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 1)
modparam("acc", "failed_transactions", 1)
modparam("acc", "report_ack", 0)
...
route[1] {
# -----------------------------------------------------------------
# Default Message Handler
# -----------------------------------------------------------------
t_on_reply("1");
if (method=="INVITE" || method=="ACK" || method=="BYE" ||
method=="CANCEL") {
setflag(1);
};
if (!t_relay()) {
if (method=="INVITE" || method=="ACK") {
end_media_session();
};
sl_reply_error();
};
}