Hello Sergiu,

ok – if it’s not working for all then please open an issue on our tracker about 
it.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
Kamailio Merchandising – https://skalatan.de/merchandising

From: sr-users <sr-users-boun...@lists.kamailio.org> On Behalf Of Sergiu Pojoga
Sent: Monday, November 11, 2019 4:29 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] uac_replace_from(uri) alters display name

Sounds good. Not sure what you mean by users, but observing this behavior for 
all dialogs that are mangled by uac_replace_from(uri).

I'll double check my script and log an issue if all fails.

Thanks,
--Sergiu

On Sun, Nov 10, 2019 at 1:06 PM Henning Westerholt 
<h...@skalatan.de<mailto:h...@skalatan.de>> wrote:

Hello Nicolas,

yes - you are right. :-) I forgot about the backport.

@Sergiu - then it is strange that you see this problem in 5.2.5.

Do you just see it for e.g. one user or for all affected users?

If for all, please open an issue on our tracker about it.

Cheers,

Henning


Am 10.11.19 um 18:49 schrieb Nicolas Breuer:
Henning,

The enhancements are in 5.2.5 I think 😊


De : sr-users 
<sr-users-boun...@lists.kamailio.org><mailto:sr-users-boun...@lists.kamailio.org>
 De la part de Henning Westerholt
Envoyé : dimanche 10 novembre 2019 18:28
À : Sergiu Pojoga <pojo...@gmail.com><mailto:pojo...@gmail.com>
Cc : Kamailio (SER) - Users Mailing List 
<sr-users@lists.kamailio.org><mailto:sr-users@lists.kamailio.org>
Objet : Re: [SR-Users] uac_replace_from(uri) alters display name


Hello Sergiu,

then you might consider to update to 5.3 - as you use dialog storage for uac. 
See more details here:

https://www.kamailio.org/wiki/features/new-in-5.3.x#uac

Cheers,

Henning
Am 10.11.19 um 18:24 schrieb Sergiu Pojoga:
Hi Henning,

Happens in both versions below:

# kamcmd version
kamailio 5.1.9 (x86_64/linux) dc1216

# kamcmd version
kamailio 5.2.5 (x86_64/linux) e10d4f

Thanks,
--Sergiu

On Sun, Nov 10, 2019 at 12:08 PM Henning Westerholt 
<h...@skalatan.de<mailto:h...@skalatan.de>> wrote:

Hello Sergui,

which version of Kamailio do you use? I did some enhancements in newer 
versions, also related to display names.

Cheers,

Henning
Am 10.11.19 um 17:19 schrieb Sergiu Pojoga:
Hi ppl,

Need to replace origination carrier's domain with my own, so I do:

branch_route[MANAGE_PSTN_IN_BRANCH] {
   uac_replace_from("sip:$f...@mydomain.net<mailto:f...@mydomain.net>");
}

The dialog-forming INVITE is relayed properly with ONLY the domain part being 
replaced.

However, subsequent messages such as ACK and BYE have the From DISPLAY NAME 
(_uac_fdp) stripped off.

Not that it affects real functionality in any known way (CLID is still good for 
callee), but curious if this is intentional or not, as uac_replace_from(uri) 
clearly states that: "Replace in FROM header the URI part without altering the 
display name"

# kamcmd dlg.list
        variables: {
                {
                        _uac_fdpnew:
                }
                {
                        _uac_fdp: "JOHN DOE"
                }
                {
                        _uac_funew: 
sip:18661112...@mydomain.net<mailto:sip%3a18661112...@mydomain.net>
                }
                {
                        _uac_fu: 
sip:18661112...@carrierdomain.net<mailto:sip%3a18661112...@carrierdomain.net>
         }

Thanks!


_______________________________________________

Kamailio (SER) - Users Mailing List

sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--

Kamailio Merchandising - https://skalatan.de/merchandising/

Kamailio services - https://skalatan.de/services

Henning Westerholt - https://skalatan.de/blog/

--

Kamailio Merchandising - https://skalatan.de/merchandising/

Kamailio services - https://skalatan.de/services

Henning Westerholt - https://skalatan.de/blog/


_______________________________________________

Kamailio (SER) - Users Mailing List

sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--

Kamailio Merchandising - https://skalatan.de/merchandising/

Kamailio services - https://skalatan.de/services

Henning Westerholt - https://skalatan.de/blog/
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to