Hello,

 

you can use transformations together with the mentioned pseudo-variable for that.

You can find a whole presentation about this topic here:

 

https://skalatan.de/en/archive/presentations/kamailio-world-2021-presentation.pdf

 

Cheers,

 

Henning

 

--

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

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Patrick Karton
Sent: Tuesday, March 15, 2022 7:23 AM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] clean an easy way to get sip uri of contact header

 

Yes just want to know how to strip down display name in Contact header if present.

 

Le 15 mars 2022 01:54, Alex Balashov <abalashov@evaristesys.com> a écrit :

Won’t $ct vs $hdr(Contact) address that?

Sent from mobile, with due apologies for brevity and errors.

 

On Mar 14, 2022, at 8:51 PM, Patrick Karton <patrickarton@hotmail.com> wrote:



hello,

 

i want a generic way to get the sip uri in contact header.

 

for example if 

 

Contact: Sipp <sip:6565@ip;ov=65;gid=45>;tid=700

 

i want a way to get both

 

<sip:6565@ip;ov=65;gid=45> (without header param)

and 

<sip:6565@ip;ov=65;gid=45>;tid=700 (with header param)

 

Thanks.

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
 * sr-users@lists.kamailio.org
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