[Serusers] Multiple INVITE's in acc table when putting caller onhold
Greger V. Teigre
greger at teigre.com
Tue Nov 8 07:43:00 CET 2005
You must handle in-dialog INVITEs (reINVITEs) differently. Look at onsip.org mediaproxy config to see how you can handle reINVITEs. Should be easy to add acc flags where you want it.
g-)
----- Original Message -----
From: Bjorn Asmul
To: serusers at lists.iptel.org
Sent: Tuesday, November 08, 2005 6:35 AM
Subject: [Serusers] Multiple INVITE's in acc table when putting caller onhold
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();
};
}
------------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051108/54342461/attachment.htm>
More information about the sr-users
mailing list