[OpenSIPS-Users] Duplicate entries in syslog
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Aug 17 16:44:24 CEST 2015
OK, simple solutions for simple problems :)
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 17.08.2015 16:42, Aqs Younas wrote:
> Thanks for your answer. I just restarted my dev server and problem was
> solved.
>
> On 14 August 2015 at 14:40, Bogdan-Andrei Iancu <bogdan at opensips.org
> <mailto:bogdan at opensips.org>> wrote:
>
> Hi Aqs,
>
> 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.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 13.08.2015 22:15, Aqs Younas wrote:
>> Hi,
>>
>> 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.
>>
>> *Aug 13 14:53:09 debian ./opensips[18201]: [14048009000
>> <tel:%5B14048009000>:14048009000 <tel:14048009000>]: Received
>> first(Inital) 'INVITE' setting time variable '143949
>> 1989'*
>> Aug 13 14:53:09 debian ./opensips[18201]: new branch at
>> sip:14048009000 at 182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP
>> <mailto:sip:14048009000 at 182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP>
>> *Aug 13 14:53:09 debian ./opensips[18201]: [14048009000
>> <tel:%5B14048009000>:14048009000 <tel:14048009000>]: Received
>> first(Inital) 'INVITE' setting time variable '1439491989'*
>> Aug 13 14:53:09 debian ./opensips[18201]: new branch at
>> sip:14048009000 at 182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP
>> <mailto:sip:14048009000 at 182.176.103.109:38154;rinstance=4a65a4a245ba6625;transport=UDP>
>> Aug 13 14:53:09 debian ./opensips[18201]: incoming reply
>> Aug 13 14:53:09 debian ./opensips[18201]: incoming reply
>> Aug 13 14:53:09 debian ./opensips[18201]: incoming reply
>> Aug 13 14:53:09 debian ./opensips[18201]: incoming reply
>> Aug 13 14:53:13 debian ./opensips[18201]: incoming reply
>> Aug 13 14:53:13 debian ./opensips[18201]: ACC: transaction
>> answered:
>> timestamp=1439491993;method=INVITE;from_tag=ca680c0f;to_tag=cb501101;call_id=SiFo2KJ8f5SUA1em86luzA
>> ..;code=200;reason=OK
>> Aug 13 14:53:13 debian ./opensips[18201]: incoming reply
>> Aug 13 14:53:13 debian ./opensips[18201]: ACC: transaction
>> answered:
>> timestamp=1439491993;method=INVITE;from_tag=ca680c0f;to_tag=cb501101;call_id=SiFo2KJ8f5SUA1em86luzA
>> ..;code=200;reason=OK
>> Aug 13 14:53:15 debian ./opensips[18202]: ACC: transaction
>> answered:
>> timestamp=1439491995;method=BYE;from_tag=ca680c0f;to_tag=cb501101;call_id=SiFo2KJ8f5SUA1em86luzA..;
>> code=200;reason=OK
>> Aug 13 14:53:15 debian ./opensips[18202]: ACC: transaction
>> answered:
>> timestamp=1439491995;method=BYE;from_tag=ca680c0f;to_tag=cb501101;call_id=SiFo2KJ8f5SUA1em86luzA..;
>> code=200;reason=OK
>>
>> Using very basic opensips script with invite section.
>>
>> if (is_method("INVITE")) {
>> xlog("L_NOTICE", "[$rU:$rU]: Received
>> first(Inital) '$rm' setting time variable '$Ts' \n");
>> setflag(ACC_DO); # do accounting
>> }
>>
>> Why invite line is printed double times in syslog and also
>> accounting logs.
>>
>> Taking sip trace confirms me, there is only one invite packet.
>>
>> Any help would be much appreciated.
>> Thanks
>>
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150817/4dc2eea5/attachment-0001.htm>
More information about the Users
mailing list