[asterisk-bugs] [Asterisk 0014301]: Access to encryption functions from dial plan

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 27 16:48:47 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14301 
====================================================================== 
Reported By:                amorsen
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   14301
Category:                   Applications/NewFeature
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-01-21 15:22 CST
Last Modified:              2009-01-27 16:48 CST
====================================================================== 
Summary:                    Access to encryption functions from dial plan
Description: 
Leif Madsen asked me to open this feature request.

What I need is a function which can generate a salt and a function
which can encrypt (with e.g. AES) a given string with a given key, and
of course a function to decrypt the string with that key.

Asterisk already has encryption functions, they just aren't available from
the dial plan.

Rationale:

We have two Asterisks, one for incoming and one for outgoing calls,
and a PBX of unknown type in the middle (typically Asterisk too, but
not always under our control.)

Incoming <=> Unknown <=> Outgoing

Some calls get passed from the Incoming to the Unknown and then back
out through Outgoing. I need to be able to transfer information from
Incoming to Outgoing for those calls, and I can reasonably count on
the cooperation of Unknown.

Easy, you say, just SipAddHeader on Incoming and Unknown, and read it
on Outgoing. Unfortunately the information passed is confidential (it
is actually information about caller ID's of calls with suppressed
Caller ID), and Unknown isn't allowed to see it.
====================================================================== 

---------------------------------------------------------------------- 
 (0098917) svnbot (reporter) - 2009-01-27 16:48
 http://bugs.digium.com/view.php?id=14301#c98917 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 171759

_U  branches/1.6.1/

------------------------------------------------------------------------
r171759 | dvossel | 2009-01-27 16:48:46 -0600 (Tue, 27 Jan 2009) | 13
lines

Blocked revisions 171757 via svnmerge

........
  r171757 | dvossel | 2009-01-27 16:43:36 -0600 (Tue, 27 Jan 2009) | 7
lines
  
  Adding AES_ENCRYPT and AES_DECRYPT dialplan functions.  
  
  (closes issue http://bugs.digium.com/view.php?id=14301)
  Reported by: amorsen
  
  review: http://reviewboard.digium.com/r/128/
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=171759 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-27 16:48 svnbot         Checkin                                      
2009-01-27 16:48 svnbot         Note Added: 0098917                          
======================================================================




More information about the asterisk-bugs mailing list