[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
Fri May 1 16:00:36 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/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
Asterisk Version:           1.6.1.0 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-01 15:59 CDT
Last Modified:              2009-05-01 16:00 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-05-01 16:00 _brent_        Summary                  Patch that makes
app_dial set channel variable DIVERTED_BY on 302 response => [patch] Patch that
makes app_dial set channel variable DIVERTED_BY on 302 response
======================================================================




More information about the asterisk-bugs mailing list