Parsing P-Asserted-Identity If Privacy: Id
hi,
what’s best method from perfomance view to parse this header
P-Asserted-Identity:
P-Asserted-Identity:
i need +44111222333 (if Privacy: id)
PJSIP_PARSE_URI ?
STRREPLACE/CUT?
FastAGI?
other options?
thanks Marek
One thought on - Parsing P-Asserted-Identity If Privacy: Id
1) PJSIP_PARSE_URI
same =>
n,set(clir=${PJSIP_PARSE_URI(${PJSIP_HEADER(read,P-Asserted-Identity)},user)})
2) trust_id_inbound=no (pjsip.conf endpoint)
Accept identification information received from this endpoint
it looks like it fills CALLERID structure https://github.com/asterisk/asterisk/blob/97b3459bd249eb3ad4c5fc96732fadf447cd8e6d/res/res_pjsip_caller_id.c#L176
which pill will you take neo?
Dne 12/09/2022 v 22:39 marek napsal(a):
> Marek