<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Daniel,<br><br>thanks, works perfectly! :)<br><br>Br,<br>/Tobias<br><br><hr id="stopSpelling">Date: Wed, 18 May 2011 14:25:36 +0200<br>From: miconda@gmail.com<br>To: sr-users@lists.sip-router.org<br>CC: the_fx@hotmail.com<br>Subject: Re: [SR-Users] Kamailio 1.5 acc on glare BYE<br><br>
  
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
    
  
  
    Hello,<br>
    <br>
    if you want to account non-2xx transaction, then set the flag for
    it:<br>
    <a class="ecxmoz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules_k/acc.html#id2511998" target="_blank">http://kamailio.org/docs/modules/stable/modules_k/acc.html#id2511998</a><br>
    <br>
    So for BYEs, you should set both flags, for accounting 2xx and
    non-2xx cases.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 5/18/11 11:32 AM, Tobias Lindgren wrote:
    <blockquote cite="mid:BAY148-w9F5FB43C08329A3A87B74F78F0@phx.gbl">
      <style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>
      Hi all!<br>
      <br>
      I have a short question with regards to how the acc module handles
      (or rather logs) BYEs.<br>
      <br>
      As I understand, a BYE followed by an 200 OK will be logged by
      Kamailio's acc module. This works perfectly fine in my set up.<br>
      <br>
      However, one of the carriers that I'm using sometimes respond with
      a "487 Request Terminated" to BYE messages, stating that "Glare
      Bye condition encountered". I'm not really sure why this occurs at
      my carriers', but whenever this happens, acc does not log the BYE
      message.<br>
      <br>
      To my question; what happens in the acc module if sip_code &gt;
      200 is received? And, should these BYE's be logged, even though
      the code is 487?<br>
      <br>
      I'm on Kamailio 1.5 with acc logging to MySQL.<br>
      <br>
      Br,<br>
      /Tobias<br>
      <br>
      <br>
      <br>
      <fieldset class="ecxmimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="ecxmoz-signature">-- 
Daniel-Constantin Mierla
<a class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>                                               </body>
</html>