Hello Ihor,

Andreas shared his cfg off-list with us, we are having a look to it already.

Thanks for the update of the scenario and the additional feedback.

Cheers,

Henning

From: Ihor Olkhovskyi via sr-users <[email protected]>
Sent: Montag, 9. Februar 2026 10:47
To: Kamailio (SER) - Users Mailing List <[email protected]>
Cc: Ihor Olkhovskyi <[email protected]>
Subject: [SR-Users] Re: [EXT] Possible bug introduced in 5.8.5

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]<mailto:[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]<mailto:[email protected]>
To unsubscribe send an email to 
[email protected]<mailto:[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