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 <[email protected]> On Behalf Of Patrick Karton
Sent: Sunday, March 20, 2022 2:57 PM
To: [email protected]
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 ?



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to