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,