<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>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.</DIV>
<DIV>g-)</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=bjorn@atlasvoice.com href="mailto:bjorn@atlasvoice.com">Bjorn 
  Asmul</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=serusers@lists.iptel.org 
  href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, November 08, 2005 6:35 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] Multiple INVITE's in 
  acc table when putting caller onhold</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=674582905-08112005><FONT face=Arial size=2>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?</FONT></SPAN></DIV>
  <DIV><SPAN class=674582905-08112005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=674582905-08112005><FONT face=Arial size=2>Here's my 
  accounting section:</FONT></SPAN></DIV>
  <DIV><SPAN class=674582905-08112005><FONT face=Arial 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=674582905-08112005><FONT face=Arial 
  size=2>...<BR>modparam("acc", "log_level", 1)<BR>modparam("acc", "log_flag", 
  1)<BR>modparam("acc", "failed_transactions", 1)<BR>modparam("acc", 
  "report_ack", 0)<BR>...</FONT></SPAN></DIV>
  <DIV><SPAN class=674582905-08112005><FONT face=Arial size=2><BR>route[1] 
  {</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;# 
  -----------------------------------------------------------------<BR>&nbsp;# 
  Default Message Handler<BR>&nbsp;# 
  -----------------------------------------------------------------</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;t_on_reply("1");</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;if (method=="INVITE" || method=="ACK" || method=="BYE" || 
  method=="CANCEL") {<BR>&nbsp;&nbsp;setflag(1);<BR>&nbsp;};</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;if (!t_relay()) {</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;&nbsp;if (method=="INVITE" || method=="ACK") 
  {<BR>&nbsp;&nbsp;&nbsp;end_media_session();<BR>&nbsp;&nbsp;};</DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;&nbsp;sl_reply_error();<BR>&nbsp;};<BR>}</FONT></SPAN></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Serusers mailing 
  list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></BLOCKQUOTE></BODY></HTML>