[SR-Users] clean an easy way to get sip uri of contact header

Henning Westerholt hw at gilawa.com
Tue Mar 15 08:39:52 CET 2022


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<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Patrick Karton
Sent: Tuesday, March 15, 2022 7:23 AM
To: Kamailio (SER) - Users Mailing List <sr-users at 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 at evaristesys.com<mailto:abalashov at 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 at hotmail.com<mailto:patrickarton at hotmail.com>> wrote:

hello,

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

for example if

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

i want a way to get both

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220315/7b08bf78/attachment.htm>


More information about the sr-users mailing list