[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
Wed Oct 21 18:56:47 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:                     closed
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-05-01 15:59 CDT
Last Modified:              2009-10-21 18:56 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-10-21 18:56 lmadsen        Target Version           Feature Tracker =>  
======================================================================




More information about the asterisk-bugs mailing list