<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>OK, simple solutions for simple problems :)<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 17.08.2015 16:42, Aqs Younas wrote:<br>
</div>
<blockquote
cite="mid:CAGVOjVUvrPYsFLd6TVXBZqGd4W4E-B=RHJimVu5DEk7oyFzcuw@mail.gmail.com"
type="cite">
<div dir="ltr">Thanks for your answer. I just restarted my dev
server and problem was solved.</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 14 August 2015 at 14:40,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank">bogdan@opensips.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <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 cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div class="h5">
<div>On 13.08.2015 22:15, Aqs Younas wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<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]:
<a moz-do-not-send="true"
href="tel:%5B14048009000" target="_blank"
value="+14048009000">[14048009000</a>:<a
moz-do-not-send="true"
href="tel:14048009000" target="_blank"
value="+14048009000">14048009000</a>]:
Received first(Inital) 'INVITE' setting time
variable '143949<br>
1989'</b><br>
Aug 13 14:53:09 debian ./opensips[18201]: new
branch at
<a moz-do-not-send="true"
href="mailto:sip:14048009000@182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP"
target="_blank">sip:14048009000@182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP</a><br>
<b>Aug 13 14:53:09 debian ./opensips[18201]: <a
moz-do-not-send="true"
href="tel:%5B14048009000" target="_blank"
value="+14048009000">[14048009000</a>:<a
moz-do-not-send="true"
href="tel:14048009000" target="_blank"
value="+14048009000">14048009000</a>]:
Received first(Inital) 'INVITE' setting time
variable '1439491989'</b><br>
Aug 13 14:53:09 debian ./opensips[18201]: new
branch at
<a moz-do-not-send="true"
href="mailto:sip:14048009000@182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP"
target="_blank">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></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>