[SR-Users] pseudo var for From and To sip uri port

Patrick Karton patrickarton at hotmail.com
Mon Mar 21 12:14:25 CET 2022


Thanks for uac tip 🙂
________________________________
De : Henning Westerholt <hw at gilawa.com>
Envoyé : lundi 21 mars 2022 09:13
À : Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Cc : Patrick Karton <patrickarton at hotmail.com>
Objet : RE: pseudo var for From and To sip uri port


Hello,



you can get the header port with “transformations”.



If you want to set the port for From/To, you should not use the PVs but the uac module functions for this. You should also think about why you want to do this, as the From/To are coming from the user agent and are not set from the proxy usually. 😊



Cheers,



Henning



--

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

Kamailio services – https://gilawa.com<https://gilawa.com/>



From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Patrick Karton
Sent: Sunday, March 20, 2022 2:57 PM
To: sr-users at lists.kamailio.org
Subject: [SR-Users] pseudo var for From and To sip uri port



Hello,



is there a pseudo variable for setting only sip uri port for From and To Headers like  $rp for R-URI ?






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220321/217aa7ea/attachment.htm>


More information about the sr-users mailing list