[asterisk-commits] mmichelson: trunk r307071 - in /trunk: ./ main/ccss.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 8 15:18:29 CST 2011
Author: mmichelson
Date: Tue Feb 8 15:18:26 2011
New Revision: 307071
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=307071
Log:
Merged revisions 307065 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r307065 | mmichelson | 2011-02-08 15:13:08 -0600 (Tue, 08 Feb 2011) | 6 lines
Add a couple of useful channel variables for the CC recall macro.
CC_EXTEN and CC_CONTEXT will allow you to determine the channel
and context that will be called when the recall occurs.
........
Modified:
trunk/ (props changed)
trunk/main/ccss.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: trunk/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/ccss.c?view=diff&rev=307071&r1=307070&r2=307071
==============================================================================
--- trunk/main/ccss.c (original)
+++ trunk/main/ccss.c Tue Feb 8 15:18:26 2011
@@ -2518,6 +2518,9 @@
ast_copy_string(chan->context, generic_pvt->context, sizeof(chan->context));
chan->priority = 1;
+ pbx_builtin_setvar_helper(chan, "CC_EXTEN", generic_pvt->exten);
+ pbx_builtin_setvar_helper(chan, "CC_CONTEXT", generic_pvt->context);
+
if (!ast_strlen_zero(callback_macro)) {
ast_log_dynamic_level(cc_logger_level, "Core %d: There's a callback macro configured for agent %s\n",
agent->core_id, agent->device_name);
More information about the asterisk-commits
mailing list