PJSIP: P-Asserted-Identity And Privacy Headers Are Missing When CALLERID(num)=prohib

Home » Asterisk Users » PJSIP: P-Asserted-Identity And Privacy Headers Are Missing When CALLERID(num)=prohib
Asterisk Users 1 Comment

Hello,

My ITSP provides me with a SIP trunk which requires a CallerID value for any outbound call. Though a CallerID is required, anonymous calls are allowed. See extracts from a successfull anonymous call:

From: “Anonymous” ;tagC8b284694b5b3de

Privacy: id

P-Asserted-Identity: “FooBar” >

I’m trying to mimic this on a 13.8.0-enabled system.

Whenever I set CALLERID(num-pres)=prohib in my dialplan, it seems P-Asserted-Identity not not present in outbound INVITE.

I would expect to see it there along with a “Privacy: id” header.

Do you agree with my expectation ?
How can I work around this, keeping PJSIP stack ?

Best regards

One thought on - PJSIP: P-Asserted-Identity And Privacy Headers Are Missing When CALLERID(num)=prohib

  • Do you have the following options enabled in pjsip.conf?
    ;trust_id_inbound=no ; Accept identification information received from this
    ; endpoint (default: “no”)
    ;trust_id_outbound=no ; Send private identification details to the endpoint
    ; (default: “no”)

    Richard