Andreas,

Just to be sure, I've tested it with 2 times applying
uac_replace_xxx(), one in request_route, second - in branch_route and yes,
in this case header is malformed

https://github.com/igorolhovskiy/kamailio-dev-dc/blob/kamailio_bug_5.8.5/kamailio/kamailio.cfg

Can it be your case as well?

Le jeu. 5 févr. 2026 à 09:47, Andreas Heil via sr-users <
[email protected]> a écrit :

> Hi Henning,
>
> I’ll check that again.
> Just to be sure I didn’t make a mistake.
>
> Greetings,
> Andreas
>
> > Am 04.02.2026 um 20:56 schrieb Henning Westerholt <[email protected]>:
> >
> > Hello Andreas,
> >
> > just to confirm - so its probably not related to the commit that was
> shared previously about the change in the PV module?
> >
> > Cheers,
> >
> > Henning
> >
> >> -----Original Message-----
> >> From: Andreas Heil via sr-users <[email protected]>
> >> Sent: Mittwoch, 4. Februar 2026 14:30
> >> To: Kamailio (SER) - Users Mailing List <[email protected]>
> >> Cc: Andreas Heil <[email protected]>
> >> Subject: [SR-Users] Re: [EXT] Possible bug introduced in 5.8.5
> >>
> >>
> >>
> >>> Am 04.02.2026 um 14:12 schrieb Ihor Olkhovskyi via sr-users <sr-
> >> [email protected]>:
> >>>
> >>> Can you please share the initial packet? Cause leading space is also
> something
> >> I've seen before.
> >>> And what is restore mode?
> >>>
> >>> modparam("uac","restore_mode","???“)
> >>
> >> What’s interesting is:
> >> The leading space only appears if I use the remove_hf/append_hf
> approach.
> >> It doesn’t appear if I use uac_replace_to.
> >>
> >> The restore_mode is left on default (auto).
> >>
> >> Initial packet:
> >> — snip —
> >> INVITE sip:[email protected]:5060 SIP/2.0
> >> Via: SIP/2.0/UDP 1.2.3.4:5060;branch=z9hG4bK-95136-1-3;origin=2.3.4.5
> >> Max-Forwards: 69
> >> Contact: <sip:[email protected]:5060;transport=udp>
> >> To: sip:[email protected]:5060
> >> From: <sip:[email protected]:5060>;tag=95136SIPpTag001
> >> Call-ID: [email protected]
> >> CSeq: 2 INVITE
> >> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY,
> >> REFER, INFO, MESSAGE, UPDATE
> >> Proxy-Authorization: Digest
> >> username="+4923456789012",realm="example.com",uri="sip:3.4.5.6:5060
> ",nonc
> >> e="fjlsdflcjm",response="rbcwnhfdmd",algorithm=MD5
> >> Content-Type: application/sdp
> >> Supported: replaces, timer
> >> User-Agent: Mitel XY
> >> P-Preferred-Identity: <sip:[email protected]:5060>
> >> Content-Length:   252
> >> X-CID: [email protected]
> >> Route: <sip:[email protected]:5060;lr>
> >>
> >> v=0
> >> o=- 2178418001 27164738186117121 IN IP4 1.2.3.4
> >> s=-
> >> c=IN IP4 1.2.3.4
> >> t=0 0
> >> m=audio 6000 RTP/AVP 8 0 101
> >> a=rtpmap:8 PCMA/8000
> >> a=rtpmap:0 PCMU/8000
> >> a=fmtp:18 annexb=no
> >> a=rtpmap:101 telephone-event/8000
> >> a=sendrecv
> >> a=ptime:20
> >> — snap —
> >>
> >> __________________________________________________________
> >> Kamailio - Users Mailing List - Non Commercial Discussions -- sr-
> >> [email protected]
> >> To unsubscribe send an email to [email protected]
> >> Important: keep the mailing list in the recipients, do not reply only
> to the sender!
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions --
> [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
>


-- 
Best regards,
Ihor (Igor)
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to