[asterisk-bugs] [Asterisk 0013279]: Impossible to retrieve privacy info in a PRI incoming call

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 27 04:59:36 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13279 
====================================================================== 
Reported By:                ibc
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13279
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-08-11 04:50 CDT
Last Modified:              2008-08-27 04:59 CDT
====================================================================== 
Summary:                    Impossible to retrieve privacy info in a PRI
incoming call
Description: 
Hi, AFAIK Asterisk doesn't provide a way to check, in the dialplan, if a
PRI incoming call has privacy set for the callerID. If we check
CALLERID(xxx) variable it returns the real callerid but we cannot know if
privacy has been requested.

I propose a variable or a function to retrieve this information, something
as PRIVACY (yes/no):

  [from-pri]
  exten => _XX.,1,NoOp(--- Privacy requested: ${PRIVACY} ---)

====================================================================== 

---------------------------------------------------------------------- 
 (0091782) ibc (reporter) - 2008-08-27 04:59
 http://bugs.digium.com/view.php?id=13279#c91782 
---------------------------------------------------------------------- 
I've realized that a way to know it:

exten =>
_XXXXX.,n,GotoIf($[${MATH(${CALLINGPRES}>30)}=TRUE]?privacy:end-privacy)

http://www.voip-info.org/wiki/view/Asterisk+cmd+CallingPres 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-27 04:59 ibc            Note Added: 0091782                          
======================================================================




More information about the asterisk-bugs mailing list