[asterisk-bugs] [Asterisk 0015015]: [patch] Patch that makes app_dial set channel variable DIVERTED_BY on 302 response

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 27 14:32:09 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15015 
====================================================================== 
Reported By:                _brent_
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15015
Category:                   Applications/app_dial
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
Target Version:             1.6.x Version Tracker
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-01 15:59 CDT
Last Modified:              2009-07-27 14:32 CDT
====================================================================== 
Summary:                    [patch] Patch that makes app_dial set channel
variable DIVERTED_BY on 302 response
Description: 
I needed to know what username initiated a forward for authentication and
accounting purposes. This patch makes app_dial set the channel variable
${DIVERTED_BY} on the *new* channel (the result of the forward). The
variable can then be referenced in the dial plan and queried by AGI.

The variable is in the format tech/name. For example, if the SIP extension
1001 forwards the call, ${DIVERTED_BY} will be set to 'SIP/1001' (without
the quotes).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-27 14:32 lmadsen        Asterisk Version         1.6.1.0 => SVN      
2009-07-27 14:32 lmadsen        SVN Branch (only for SVN checkouts, not tarball
releases)N/A =>  trunk       
2009-07-27 14:32 lmadsen        Target Version            => 1.6.x Version
Tracker
======================================================================




More information about the asterisk-bugs mailing list