[OpenSIPS-Users] parser errors

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Jan 26 11:40:13 CET 2010


Hi Jeff,

First error (parsing the TO hdr) means a \" char was present in an 
enclosed URI (<....>)  - form the log, the TO hdr indeed looks bogus..
The second error is related to the first one - when the 400 reply was 
received and opensips tried to parse it, it came across the bogus TO hdr 
-> the parse_headers failed (and parsing of the reply) failed as the TO 
parsing failed.

The fact you see it several time is because probably the sender of this 
400 reply is doing retransmission as no ACK is sent back.

Regards,
Bogdan

Jeff Pyle wrote:
> Hello,
>
> Every once in a while I see errors like the following pop up in the syslog from v1.6:
>
> Jan 25 15:56:47 host /usr/local/sbin/opensips[21478]: ERROR:core:parse_to: unexpected char ["] in status 6: <<"Caller Name" <sip:anonymous at a85/%$544lp))>> . 
> Jan 25 15:56:47 host /usr/local/sbin/opensips[21478]: ERROR:core:get_hdr_field: bad to header 
> Jan 25 15:56:47 host /usr/local/sbin/opensips[21478]: INFO:core:parse_headers: bad header field 
>  > ntent-Length: 013c4-4ea00-34f09b27-4ea00=z9hG4bK98broa203gs0dgsov701sd000qir3.1age=<SIP/2.0 400 SIP Parser Error : Unexpected '/', line 7, column 42
>
> In this particular instance I see the same data three times, each time a few seconds apart and handled by a different Opensips child process number.
>
> I'm trying to determine what exactly caused this.  The message indicates a problem parsing the To header, and it certainly looks pretty banged up there.  But then the last line seems to indicate a problem with a 400 Parser Error message itself?
>
>
> Thanks,
> Jeff
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list