[SR-Users] How to make a distinction between sip and tel uri

Duarte Rocha duarterocha91 at gmail.com
Wed Jan 29 13:19:14 CET 2020


Greetings,

I have a client that sends me two P-Asserted-Identity headers, one with SIP
URI and one with tel URI.

The pseudo variable $ai returns the topmost P-Asserted-Identity header and
I only need the one with the SIP URI.

How should i proceed ? Is there a way to delete the one with tel URI? the
header removal functions i find only work with header name.

I could also work with something different than $ai for this scenario.

Best Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200129/78bc9bda/attachment.html>


More information about the sr-users mailing list