[asterisk-users] parsing P-Asserted-Identity if Privacy: id

marek cervajs64 at gmail.com
Mon Sep 12 15:39:45 CDT 2022


hi,

what's best method from perfomance view to parse this header

P-Asserted-Identity:<sip:+44111222333 at 22.22.22.22;user=phone>
P-Asserted-Identity:<tel:+44111222333>

i need  +44111222333 (if Privacy: id)


PJSIP_PARSE_URI ?

STRREPLACE/CUT?

FastAGI?

other options?

thanks
Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20220912/3b5e7164/attachment.html>


More information about the asterisk-users mailing list