<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Aqs,<br>
      <br>
      I suspect something wrong with your syslog daemon setting. To be
      sure, set "log_stderror=yes" in your script and opensips will log
      to the console, without syslog. Check that and see if you still
      get double messages.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 13.08.2015 22:15, Aqs Younas wrote:<br>
    </div>
    <blockquote
cite="mid:CAGVOjVUC9W+Jv57HBqLYAi1rVcYmV7QptU=kWyhSwHfRJ8S_jQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,</div>
        <div><br>
        </div>
        <div>I am new to opensips, just register two softphones with
          opensips. When I call from one softphone to another  I see
          double entries in syslog files for single invite. </div>
        <div><br>
        </div>
        <div><b>Aug 13 14:53:09 debian ./opensips[18201]:
            [14048009000:14048009000]: Received first(Inital) 'INVITE'
            setting time variable '143949<br>
            1989'</b><br>
          Aug 13 14:53:09 debian ./opensips[18201]: new branch at
<a class="moz-txt-link-abbreviated" href="mailto:sip:14048009000@182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP">sip:14048009000@182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP</a><br>
          <b>Aug 13 14:53:09 debian ./opensips[18201]:
            [14048009000:14048009000]: Received first(Inital) 'INVITE'
            setting time variable '1439491989'</b><br>
          Aug 13 14:53:09 debian ./opensips[18201]: new branch at
<a class="moz-txt-link-abbreviated" href="mailto:sip:14048009000@182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP">sip:14048009000@182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP</a><br>
          Aug 13 14:53:09 debian ./opensips[18201]: incoming reply<br>
          Aug 13 14:53:09 debian ./opensips[18201]: incoming reply<br>
          Aug 13 14:53:09 debian ./opensips[18201]: incoming reply<br>
          Aug 13 14:53:09 debian ./opensips[18201]: incoming reply<br>
          Aug 13 14:53:13 debian ./opensips[18201]: incoming reply<br>
          Aug 13 14:53:13 debian ./opensips[18201]: ACC: transaction
          answered:
timestamp=1439491993;method=INVITE;from_tag=ca680c0f;to_tag=cb501101;call_id=SiFo2KJ8f5SUA1em86luzA<br>
          ..;code=200;reason=OK<br>
          Aug 13 14:53:13 debian ./opensips[18201]: incoming reply<br>
          Aug 13 14:53:13 debian ./opensips[18201]: ACC: transaction
          answered:
timestamp=1439491993;method=INVITE;from_tag=ca680c0f;to_tag=cb501101;call_id=SiFo2KJ8f5SUA1em86luzA<br>
          ..;code=200;reason=OK<br>
          Aug 13 14:53:15 debian ./opensips[18202]: ACC: transaction
          answered:
timestamp=1439491995;method=BYE;from_tag=ca680c0f;to_tag=cb501101;call_id=SiFo2KJ8f5SUA1em86luzA..;<br>
          code=200;reason=OK<br>
          Aug 13 14:53:15 debian ./opensips[18202]: ACC: transaction
          answered:
timestamp=1439491995;method=BYE;from_tag=ca680c0f;to_tag=cb501101;call_id=SiFo2KJ8f5SUA1em86luzA..;<br>
          code=200;reason=OK</div>
        <div><br>
        </div>
        <div>Using very basic opensips script with invite section.</div>
        <div><br>
        </div>
        <div>if (is_method("INVITE")) {<br>
                          xlog("L_NOTICE", "[$rU:$rU]: Received
          first(Inital) '$rm' setting time variable '$Ts'   \n");<br>
                          setflag(ACC_DO); # do accounting<br>
                  }</div>
        <div><br>
        </div>
        <div>Why invite line is printed double times in syslog and also
          accounting logs. </div>
        <div><br>
        </div>
        <div>Taking sip trace confirms me, there is only one invite
          packet. </div>
        <div><br>
        </div>
        <div>Any help would be much appreciated. </div>
        <div>Thanks</div>
        <div><br>
          <br>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>