Pass CallerId/Privacy Info From A Leg To B Leg

Home » Asterisk Users » Pass CallerId/Privacy Info From A Leg To B Leg
Asterisk Users 2 Comments

Hi,

I’m using Asterisk to bridge the incoming call to another destination using the Dial command. However, when an anonymous call comes in then privacy information is not passed into the B Leg. For instance, the Privacy header and P-Asserted-Identity aren’t copied to the B Leg.

Is there an option to give to the Dial command, or another variable to set, to make Asterisk copy such information to the B Leg?
Or do I have to program this out myself?

Regards,

Grant

2 thoughts on - Pass CallerId/Privacy Info From A Leg To B Leg

  • In chan_sip there are the trustrpid and sendrpid option:

    ;trustrpid = no ; If Remote-Party-ID should be trusted
    ;sendrpid = pai ; Use the “P-Asserted-Identity” header
    ; to send the identity of the remote party

    In pjsip:
    ;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”)
    ;send_pai=no ; Send the P Asserted Identity header (default: “no”)