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

2022-03-15 Thread Henning Westerholt
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  On Behalf Of Patrick Karton
Sent: Tuesday, March 15, 2022 7:23 AM
To: Kamailio (SER) - Users Mailing List 
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 
mailto:abalas...@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 
mailto:patrickar...@hotmail.com>> wrote:

hello,

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

for example if

Contact: Sipp ;tid=700

i want a way to get both

 (without header param)
and
;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

__
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


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

2022-03-15 Thread Patrick Karton
Yes just want to know how to strip down display name in Contact header if present.Le 15 mars 2022 01:54, Alex Balashov  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  wrote:






hello,




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




for example if 




Contact: Sipp ;tid=700




i want a way to get both




 (without header param)


and 

;tid=700 (with header param)





Thanks.


__Kamailio - Users Mailing List - Non Commercial Discussions  * sr-users@lists.kamailio.orgImportant: 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__
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


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

2022-03-14 Thread Alex Balashov
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  wrote:
> 
> 
> hello,
> 
> i want a generic way to get the sip uri in contact header.
> 
> for example if 
> 
> Contact: Sipp ;tid=700
> 
> i want a way to get both
> 
>  (without header param)
> and 
> ;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
__
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


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

2022-03-14 Thread Patrick Karton
hello,

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

for example if

Contact: Sipp ;tid=700

i want a way to get both

 (without header param)
and
;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