[asterisk-users] Pass CallerId/Privacy info from A Leg to B Leg

Daniel Tryba daniel at tryba.nl
Thu Aug 17 04:08:17 CDT 2017

On Thu, Aug 17, 2017 at 07:28:00AM +0000, Grant Bagdasarian wrote:
> 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?

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")

More information about the asterisk-users mailing list