[OpenSIPS-Users] Duplicate entries in syslog

Aqs Younas aqsyounas at gmail.com
Thu Aug 13 21:15:33 CEST 2015


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: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
*Aug 13 14:53:09 debian ./opensips[18201]: [14048009000: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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150814/c4c1c99d/attachment.htm>


More information about the Users mailing list