Grant Bagdasarian
2017-Aug-17 07:28 UTC
[asterisk-users] Pass CallerId/Privacy info from A Leg to B Leg
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170817/bb47bac0/attachment.html>
Daniel Tryba
2017-Aug-17 09:08 UTC
[asterisk-users] Pass CallerId/Privacy info from A Leg to B Leg
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")
Grant Bagdasarian
2017-Aug-17 10:02 UTC
[asterisk-users] Pass CallerId/Privacy info from A Leg to B Leg
Thank you! Will try it! -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at 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 at 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 +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") -- _____________________________________________________________________ -- 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