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

2017-08-17 Thread Grant Bagdasarian
Thank you! Will try it!

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Daniel Tryba
Sent: donderdag 17 augustus 2017 11:08
To: Asterisk Users Mailing List - Non-Commercial Discussion 
<asterisk-users@lists.digium.com>
Subject: Re: [asterisk-users] Pass CallerId/Privacy info from A Leg to B Leg

On Thu, Aug 17, 2017 at 07:28:00AM +, 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")


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2017-08-17 Thread Daniel Tryba
On Thu, Aug 17, 2017 at 07:28:00AM +, 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")


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users