[asterisk-commits] mmichelson: branch group/CCSS r221035 - /team/group/CCSS/apps/app_dial.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 29 18:13:15 CDT 2009
Author: mmichelson
Date: Tue Sep 29 18:13:10 2009
New Revision: 221035
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=221035
Log:
Remove setting of CC_AVAIL chanvar now. It won't be needed.
Modified:
team/group/CCSS/apps/app_dial.c
Modified: team/group/CCSS/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/apps/app_dial.c?view=diff&rev=221035&r1=221034&r2=221035
==============================================================================
--- team/group/CCSS/apps/app_dial.c (original)
+++ team/group/CCSS/apps/app_dial.c Tue Sep 29 18:13:10 2009
@@ -1932,13 +1932,7 @@
AST_LIST_UNLOCK(cc_interfaces->interface_tree);
if (!is_tree_empty) {
- int core_id;
- char core_id_str[20];
- core_id = ast_cc_core_init_instance(inbound, cc_interfaces->interface_tree);
- if (core_id != -1) {
- snprintf(core_id_str, sizeof(core_id_str), "%d", core_id);
- pbx_builtin_setvar_helper(inbound, "CC_AVAIL", core_id_str);
- }
+ ast_cc_core_init_instance(inbound, cc_interfaces->interface_tree);
}
return 0;
}
More information about the asterisk-commits
mailing list