<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I had that same issue but I use SIP not IAX.  What I ended up doing
    was adding a SIP CALL ID field in custom_cdr module and setting it
    in the dialplan.   <br>
    <br>
    Remi<br>
    <br>
    <div class="moz-cite-prefix">On 06/26/2015 07:04 AM, Rui Mota wrote:<br>
    </div>
    <blockquote cite="mid:91003C3E70B943DAA566E0CDB1A10168@gmail.com"
      type="cite">
      <div> Hi. </div>
      <div><br>
      </div>
      <div>I am using two servers in my configuration: one for phones
        registration and another one as gateway, where all the providers
        are connected. Both are connected through an IAX trunk.</div>
      <div>I am having some trouble on matching both CDR’s, since
        durations for a call are not always the same in both servers,
        start/end date time are sometimes also different, etc.</div>
      <div><br>
      </div>
      <div>Is there any way to send the uniqueid of the original call,
        maybe through the IAX trunk, and get it on the gateway server to
        save it in the final CDR’s userfield?  That way they would match
        by that field.</div>
      <div><br>
      </div>
      <div>Thank you in advance.</div>
      <div><br>
      </div>
      <div>
        <div>-- </div>
        <div>Rui Mota</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>