[OpenSIPS-Users] Tag parameter

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Jun 24 16:30:33 CEST 2013


Hi Khaled,

The TAG parameter is a property of a SIP hdr (TO, From) and not a
property of the SIP message . AFAIK, all final replies must have a To
Tag param.

So, could you rephrase your statement on the presence of To Tag in 487
replies ?

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 06/22/2013 02:27 PM, M.Khaled W Chehab wrote:
>
> 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/>
>
>  
>
>
> _______________________________________________
> Users mailing list
> 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/20130624/23189673/attachment-0001.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/20130624/23189673/attachment-0001.png>


More information about the Users mailing list