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

Alex Balashov abalashov at evaristesys.com
Tue Mar 15 01:54:40 CET 2022


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> 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
> 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/20220314/8efb9799/attachment.htm>


More information about the sr-users mailing list