[svn-commits] twilson: trunk r266786 - in /trunk: UPGRADE.txt apps/app_dial.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Jun 1 16:12:52 CDT 2010
Author: twilson
Date: Tue Jun 1 16:12:49 2010
New Revision: 266786
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=266786
Log:
Set app and appdata fields when a Dial is redirected
(closes issue #17204)
Reported by: one47
Tested by: twilson, one47
Modified:
trunk/UPGRADE.txt
trunk/apps/app_dial.c
Modified: trunk/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/trunk/UPGRADE.txt?view=diff&rev=266786&r1=266785&r2=266786
==============================================================================
--- trunk/UPGRADE.txt (original)
+++ trunk/UPGRADE.txt Tue Jun 1 16:12:49 2010
@@ -84,6 +84,9 @@
* Environment variables that start with "AST_" are reserved to the system and
may no longer be set from the dialplan.
+
+* When a call is redirected inside of a Dial, the app and appdata fields of the
+ CDR will now be set to "AppDial" and "(Outgoing Line)" instead of being blank.
From 1.6.1 to 1.6.2:
Modified: trunk/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_dial.c?view=diff&rev=266786&r1=266785&r2=266786
==============================================================================
--- trunk/apps/app_dial.c (original)
+++ trunk/apps/app_dial.c Tue Jun 1 16:12:49 2010
@@ -881,6 +881,8 @@
ast_string_field_set(c, accountcode, in->accountcode);
}
ast_party_connected_line_copy(&c->connected, &original->connected);
+ c->appl = "AppDial";
+ c->data = "(Outgoing Line)";
/*
* We must unlock c before calling ast_channel_redirecting_macro, because
* we put c into autoservice there. That is pretty much a guaranteed
More information about the svn-commits
mailing list