[SR-Users] problems to parse Cseq 0 value

David Escartin descartin at bts.io
Tue Jun 5 16:45:17 CEST 2018


hello Daniel

here you have

U 79.170.68.171:5084 -> 10.100.10.67:5060
OPTIONS sip:bts.io:0;transport=udp SIP/2.0.
Via: SIP/2.0/UDP 79.170.68.171:5084;branch=z9hG4bK-4458-1-1.
From: 
<sip:Kevrineg4nGCR5QE.VfWTHxAXcKat.ell>;tag=127.0.0.1alUtKGp-01023+1+5613000a+7a506358.
To: <sip:bts.io>.
Call-ID: 1-9191 at 79.170.68.171.
CSeq: 0.
Contact: <sip:Kevrineg4nGCR5QE.VfWTHxAXcKat.ell at 79.170.68.171>.
Supported: replaces, path, 100rel, timer.
User-Agent: Alcatel-Lucent 5060 MGC-8 9.3.0.7.0.4.
Accept: application/sdp.
Content-Length: 0.



On 04/06/18 12:38, Daniel-Constantin Mierla wrote:
> Hello,
>
> can you paste here such a sip message?
>
> Cheers,
> Daniel
>
>
> On 04.06.18 12:25, David Escartin wrote:
>> hello all
>>
>> we have seen that when an OPTIONS is sent with CSep: 0 OPTIONS,
>> message is not parsed.
>> Jun  4 10:12:09 proxy-1-aws /usr/local/kamailio/sbin/kamailio[2205]:
>> ERROR: <core> [core/parser/parse_cseq.c:61]: parse_cseq(): no method
>> found
>> Jun  4 10:12:09 proxy-1-aws /usr/local/kamailio/sbin/kamailio[2205]:
>> ERROR: <core> [core/parser/parse_cseq.c:92]: parse_cseq(): bad cseq
>> Jun  4 10:12:09 proxy-1-aws /usr/local/kamailio/sbin/kamailio[2205]:
>> ERROR: <core> [core/parser/msg_parser.c:144]: get_hdr_field(): bad cseq
>> Jun  4 10:12:09 proxy-1-aws /usr/local/kamailio/sbin/kamailio[2205]:
>> ERROR: <core> [core/parser/msg_parser.c:331]: parse_headers(): bad
>> header field [CSeq: 0
>> Jun  4 10:12:09 proxy-1-aws /usr/local/kamailio/sbin/kamailio[2205]:
>> WARNING: <core> [core/receive.c:198]: receive_msg(): parsing relevant
>> headers failed
>> as far i see in rfc3261
>> "The
>>     sequence number value MUST be expressible as a 32-bit unsigned
>>     integer and MUST be less than 2**31."
>>
>> i don't know if you already discussed about this, but do you think it
>> would be something to fix?
>>
>> best regards and thanks a lot
>> david escartin
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list