[OpenSIPS-Users] Tag parameter

M.Khaled W Chehab kchehab at icucall.com
Sat Jun 22 13:27:26 CEST 2013


Hi,

 

I am getting a lot of parse error in opensip.log as you can see below 

I Found in opensips source code that this issue have one reason:
if (tag.s==0 || tag.len==0) {
            LM_ERR("missing TAG param in TO hdr :-/\n");
            tag.s = 0;
            tag.len = 0;
        }

only if we do not have to tag in reply dialog

I Found explanation if the missing to tag that appear in log file:

directly the reason is that sip request 487 lacks a to tag; the to header do
not contain to tag.

 

1-How to avoid let this error appears in log file 

 

2013-06-22T11:08:36.230288+00:00 opensips opensips[1888]:
ERROR:dialog:push_reply_in_dialog: missing TAG param in TO hdr :-/

2013-06-22T11:10:15.960563+00:00 opensips opensips[1922]:
ERROR:core:parse_first_line: bad reply(status) first line

2013-06-22T11:10:15.960583+00:00 opensips opensips[1922]:
ERROR:core:parse_first_line: at line 0 char 10: 

2013-06-22T11:10:15.960595+00:00 opensips opensips[1922]:
ERROR:core:parse_first_line: parsed so far: SIP/2.0 0 

2013-06-22T11:10:15.960601+00:00 opensips opensips[1922]:
ERROR:core:parse_msg: message=<SIP/2.0 0 Status#015#012Content-Length:
0#015#012#015#012>

2013-06-22T11:10:15.960608+00:00 opensips opensips[1922]:
ERROR:core:receive_msg: parse_msg failed

2013-06-22T11:17:11.963667+00:00 opensips opensips[1867]:
ERROR:dialog:push_reply_in_dialog: missing TAG param in TO hdr :-/

 

 

Regards

 

Khaled Chehab

Chief Technical Officer

Description: icucall

Operations Office - Lebanon

Office    : +961 1 515155 ext 300

Mobile  : +961 3 045212

E-mail    : kchehab at icucall.com

MSN ID :khalidchehab at hotmail.com 

Skype    : k_chehab 

Web Site: http://www.icucall.com <http://www.icucall.com/> 

                     http://www.allohi.com <http://www.allohi.com/> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130622/8b174c63/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 5316 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20130622/8b174c63/attachment.png>


More information about the Users mailing list