Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Daniel-Constantin Mierla
Hello, can you try the TOH header scenario with any of latest 5.4, 5.5 or master branches? I just pushed a commit that should fix it. Cheers, Daniel On 05.05.21 18:32, Ilie Soltanici wrote: > Hello, > > Thank you Daniel for looking into this, I think I found the problem > and it was in the

Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Ilie Soltanici
Hello, Thank you Daniel for looking into this, I think I found the problem and it was in the header: *TOH: 123456789* For some reason kamailio parsed it as a "To" header, by removing this header the Cancel message was delivered successfully out. Thank you. On Wed, 5 May 2021 at 17:28,

Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Daniel-Constantin Mierla
Hello, hmm, 5.4.5 should have been also good, being the last in 5.4.x series, with the fix that I was thinking of. I will look at the code. Cheers, Daniel On 05.05.21 17:56, Ilie Soltanici wrote: > Hello, > > Yes, initially I was trying with version 5.4.5, then I upgraded to the > latest

Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Ilie Soltanici
Hello, Yes, initially I was trying with version 5.4.5, then I upgraded to the latest version from 5.5 branch - but this didn't fix the issue. version: kamailio 5.5.0 (x86_64/linux) d4c1a1 flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,

Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Daniel-Constantin Mierla
Hello, are you running the latest version in the X.Y series? Likely you have a version with an issue that was fixed, iirc. Cheers, Daniel On 05.05.21 17:32, Ilie Soltanici wrote: > Hello, > > No, that's not the case, see below the INVITE sent to the branch: > > INVITE

Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Ilie Soltanici
Hello, No, that's not the case, see below the INVITE sent to the branch: INVITE sip:123456789@1.2.3.4:5060;transport=UDP SIP/2.0 Record-Route: Via: SIP/2.0/UDP 1.2.3.4:5060 ;branch=z9hG4bK0f41.5079ae8da835958ee58ca1e8a4eb057b.0 Via: SIP/2.0/UDP 192.168.1.10:40769

Re: [SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Daniel-Constantin Mierla
Hello, the CANCEL to be sent is generated locally by tm module from the INVITE that was sent on the branch, so the errors is actually about a duplicate To header in that INVITE. Check it on the network to see if that's the case. Cheers, Daniel On 05.05.21 16:25, Ilie Soltanici wrote: > Hello, >

[SR-Users] Unable to parse the Cancel request

2021-05-05 Thread Ilie Soltanici
Hello, We are having an issue here where Kamailio is complaining about duplicate To header, while in the SIP Packet there is just one. See below the log message: DEBUG: tm [t_msgbuilder.c:391]: build_local_reparse(): duplicate To header ERROR: tm [t_msgbuilder.c:531]: build_local_reparse():