[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 09:16:27 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:                     closed
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:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-08-11 04:50 CDT
Last Modified:              2008-08-27 09:16 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} ---)

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

---------------------------------------------------------------------- 
 (0091788) ibc (reporter) - 2008-08-27 09:16
 http://bugs.digium.com/view.php?id=13279#c91788 
---------------------------------------------------------------------- 
Well, I think that using:
  $[${MATH(${CALLINGPRES}>30)}=TRUE]
is just a "workaround".

IMHO it could be nice a variable:
  ${PRIVACY_REQUESTED} = yes/no 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-27 09:16 ibc            Note Added: 0091788                          
======================================================================




More information about the asterisk-bugs mailing list