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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jan 21 15:22:11 CST 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14301 
====================================================================== 
Reported By:                amorsen
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14301
Category:                   Applications/NewFeature
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-01-21 15:22 CST
Last Modified:              2009-01-21 15:22 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-21 15:22 amorsen        New Issue                                    
2009-01-21 15:22 amorsen        Asterisk Version          => SVN             
2009-01-21 15:22 amorsen        Regression                => No              
2009-01-21 15:22 amorsen        SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list