[asterisk-commits] mmichelson: branch group/CCSS r214087 - /team/group/CCSS/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 25 15:18:59 CDT 2009


Author: mmichelson
Date: Tue Aug 25 15:18:56 2009
New Revision: 214087

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=214087
Log:
No need to have an agent pointer in the pending call
struct. It should be a part of the "core" instance
structure instead.


Modified:
    team/group/CCSS/main/ccss.c

Modified: team/group/CCSS/main/ccss.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=214087&r1=214086&r2=214087
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Tue Aug 25 15:18:56 2009
@@ -400,10 +400,6 @@
 	 */
 	struct ast_cc_interface_tree *called_tree;
 	/*!
-	 * A handle to the agent for this particular CC offer.
-	 */
-	struct ast_cc_agent *agent;
-	/*!
 	 * Text identifying the caller. Tentatively, this is just the
 	 * device name of the calling channel. However, this may need
 	 * to be modified to include CID information or something to
@@ -470,7 +466,6 @@
 	pending_offer->core_id = ast_atomic_fetchadd_int(&core_id_counter, +1);
 	ao2_ref(called_tree, +1);
 	pending_offer->called_tree = called_tree;
-	/* TODO Allocate agent and assign it here */
 	ao2_link(pending_cc_offers, pending_offer);
 	return pending_offer;
 }




More information about the asterisk-commits mailing list