[Serusers] Parse Error : Bad Via?

samuel samu60 at gmail.com
Thu Jun 7 09:42:38 CEST 2007


The Via header ends with a semicolon (;) and that's not a valid end of
header character. I've seen this problem when there's a SIP ALG in between
the UA and SER that removes parameters but does not do it properly. The
problem I faced was with rport parameter: the UA added rport to Via header,
the router removed the rport BUT it left the semicolon->invalid header!!!!

Solutions:

1.- Stop SIP ALG in the router!!!!!!->It will save you further headaches and
weird behaviours....
2.- Configure UA to not use rport parameter.

Hope it helps,
Samuel


2007/6/6, Ricardo Martinez <rmartinez at magenta.cl>:
>
>  Hello list.
>         I'm getting this error for a REGISTER.
>
> REGISTER sip:lidersippy.redvoiss.net SIP/2.0.
> Via: SIP/2.0/UDP 200.68.45.114:37206
> ;branch=z9hG4bK0a00323b0000000b4666e12d0000305100000009;.
> From: <sip:553100009880 at mydomain.net>;tag=2bad6e229e4.
> To: <sip:553100009880 at mydomain.net>.
> Contact: <sip:553100009880 at 200.68.45.114:37206;user=phone>.
> Call-ID: ECEB6C3024274F41945FDDBC5CF502250x0a00323b.
> CSeq: 9 REGISTER.
> Max-Forwards: 70.
> User-Agent: SJphone/1.63.321a (SJ Labs).
> Content-Length: 0.
> .
>
> Jun  6 12:31:39 liderpx ser[28075]: ERROR: parse_via: invalid via - end of
> header in state 6
> Jun  6 12:31:39 liderpx ser[28075]: ERROR: parse_via on: <SIP/2.0/UDP
> 200.68.45.114:37206;branch=z9hG4bK0a00323b0000000b4666e12d0000 >
> ntent-Length: 0ne/1.63.321a (SJ Labs)250x0a00323b=phone>e229e4
>
> Jun  6 12:31:39 liderpx ser[28075]: ERROR: parse_via parse error, parsed
> so far:<SIP/2.0/UDP 200.68.45.114:37206;branch=z9hG4bK0a003 >
> 0000000b4666e12d0000305100000009;
>
> Jun  6 12:31:39 liderpx ser[28075]: ERROR: get_hdr_field: bad via
> Jun  6 12:31:39 liderpx ser[28075]: ERROR: bad header  field
>  > ntent-Length: 0ne/1.63.321a (SJ
> Labs)250x0a00323b=phone>e229e400b4666e12d0000305100000009;ss.net SIP/2.0
> Jun  6 12:31:39 liderpx ser[28075]: ERROR: receive_msg: parse_msg failed
>
> Does anyone knows what is going on?
> Thanks!
>
> Regards,
> Ricardo .-
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070607/8ccf12c3/attachment.htm>


More information about the sr-users mailing list