Re: [EXT] Possible bug introduced in 5.8.5

Ihor Olkhovskyi via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <CAJTkRNtAx90djwMMMSKNJFbQ_7GgT-_vFWNKGrWB9JFd9pXVOA@mail.gmail.com>
Andreas,

Is there a way you can somehow share your config to try to reproduce
(cleaned, of course)?

Thing is I cannot replicate this behavoir unless double using
uac_replace_xxx functions or mixing em with $fd/$fU vars,

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

> I tested that:
> I put a „xlog“ before every use of uac_replace_to and every
> uac_replace_from.
> Both got called only once per call.
>
> I rechecked and summarized the problem:
> 5.6.6
>     INVITE w/ brackets + uac_replace_to
>         kamailio inserts a space between "To:" and "<sip..." (e.g.
> "To:[SPACE][SPACE]<sip...")
>         no problem here
>     INVITE w/o brackets + uac_replace_to
>         kamailio inserts a space between "To:" and "<sip..."
>         no problem here
>     INVITE w/ brackets + remove_hf/append_hf
>         kamailio inserts a space between "To:" and "<sip..."
>         no problem here
>     INVITE w/o brackets + remove_hf/append_hf
>         kamailio inserts a space before "From:" (e.g.
> "[SPACE]From:[SPACE][SPACE]<sip...")
>         The "To:" header looks good
> 5.8.4
>     INVITE w/ brackets + uac_replace_to
>         kamailio inserts a space between "To:" and "<sip..." (e.g.
> "To:[SPACE][SPACE]<sip...")
>         no problem here
>     INVITE w/o brackets + uac_replace_to
>         kamailio inserts a space between "To:" and "<sip..."
>         no problem here
>     INVITE w/ brackets + remove_hf/append_hf
>         kamailio inserts a space between "To:" and "<sip..."
>         no problem here
>     INVITE w/o brackets + remove_hf/append_hf
>         kamailio inserts a space before "From:" (e.g.
> "[SPACE]From:[SPACE][SPACE]<sip...")
>         The "To:" header looks good
> 5.8.5
>     INVITE w/ brackets + uac_replace_to
>         kamailio inserts a space between "To:" and "<sip..." (e.g.
> "To:[SPACE][SPACE]<sip...")
>         no problem here
>     INVITE w/o brackets + uac_replace_to
>         kamailio inserts a space between "To:" and "<sip..."
>         it also appends the new value after the old (e.g.
> "To:[SPACE][SPACE]<OLDVALUE>NEWVALUE"
>     INVITE w/ brackets + remove_hf/append_hf
>         kamailio inserts a space before "From:" (e.g.
> "[SPACE]From:[SPACE][SPACE]<sip...")
>         The "To:" header looks good
>     INVITE w/o brackets + remove_hf/append_hf
>         kamailio inserts a space and the old value of "To" before the
> "From" (e.g. "[SPACE]<sipOldToHeader>From:[SPACE][SPACE]<sip...>")
>         The "To:" header looks good
> __________________________________________________________
> 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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.