[Serusers] Multiple INVITE's in acc table when putting caller on hold
Bjorn Asmul
bjorn at atlasvoice.com
Tue Nov 8 06:35:02 CET 2005
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();
};
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051108/7497e2ca/attachment.htm>
More information about the sr-users
mailing list