<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      On 11/13/12 6:25 AM, Uri Shacked wrote:<br>
    </div>
    <blockquote
cite="mid:CAMMbDhQ0izpgQh6fC6_=AAk34tKp8Oqipnx8LKJX0uDT0vYdJg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><font face="Times New Roman" size="3">
        </font>
        <p style="margin:0cm 0cm 0pt;line-height:normal"
          class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;font-size:12pt">Hi,</span></p>
        <font face="Times New Roman" size="3">
        </font>
        <p style="margin:0cm 0cm 0pt;line-height:normal"
          class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;font-size:12pt">When i set a
            timer to "request
            time out" kamilio generates a 408 with now to_tag.</span></p>
        <font face="Times New Roman" size="3">
        </font>
        <p style="margin:0cm 0cm 0pt;line-height:normal"
          class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;font-size:12pt">I saved the
            to_tag from the 183 and
            try to update the acc table with the to_tag (i need that for
            my CDR to work)</span></p>
        <font face="Times New Roman" size="3">
        </font>
        <p style="margin:0cm 0cm 0pt;line-height:normal"
          class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;font-size:12pt">My question is
            (understanding there
            is no option to set the to_tag on the 408) is:</span></p>
        <font face="Times New Roman" size="3">
        </font>
        <p style="margin:0cm 0cm 0pt;line-height:normal"
          class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;font-size:12pt">How to i get
            the right timing to
            update using sqlops? i must update after the acc inserted
            the row to the acc
            table....</span></p>
        <font face="Times New Roman" size="3">
        </font>
        <p style="margin:0cm 0cm 0pt;line-height:normal"
          class="MsoNormal"><span style="font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;font-size:12pt">Any ideas?</span></p>
      </div>
    </blockquote>
    rtimer module can be used to execute periodically some route blocks,
    perhaps you want to look for reply code 408 and change the fields
    you want.<br>
    <br>
    However, it may work to use a failure route and reset to-tag
    variable to $null if the status code is 408 -- this is a matter of
    what mechanism you use to write the accounting record.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>