[asterisk-commits] rmudgett: branch group/ccss_failure_response r296872 - in /team/group/ccss_fa...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 30 18:57:36 CST 2010


Author: rmudgett
Date: Tue Nov 30 18:57:32 2010
New Revision: 296872

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=296872
Log:
Misc name change.

Modified:
    team/group/ccss_failure_response/channels/chan_sip.c
    team/group/ccss_failure_response/include/asterisk/ccss.h
    team/group/ccss_failure_response/main/ccss.c

Modified: team/group/ccss_failure_response/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/ccss_failure_response/channels/chan_sip.c?view=diff&rev=296872&r1=296871&r2=296872
==============================================================================
--- team/group/ccss_failure_response/channels/chan_sip.c (original)
+++ team/group/ccss_failure_response/channels/chan_sip.c Tue Nov 30 18:57:32 2010
@@ -1601,7 +1601,7 @@
 static int sip_cc_agent_init(struct ast_cc_agent *agent, struct ast_channel *chan);
 static int sip_cc_agent_start_offer_timer(struct ast_cc_agent *agent);
 static int sip_cc_agent_stop_offer_timer(struct ast_cc_agent *agent);
-static void sip_cc_agent_respond(struct ast_cc_agent *agent, enum cc_agent_response_reason reason);
+static void sip_cc_agent_respond(struct ast_cc_agent *agent, enum ast_cc_agent_response_reason reason);
 static int sip_cc_agent_status_request(struct ast_cc_agent *agent);
 static int sip_cc_agent_start_monitoring(struct ast_cc_agent *agent);
 static int sip_cc_agent_recall(struct ast_cc_agent *agent);
@@ -1713,7 +1713,7 @@
 	return 0;
 }
 
-static void sip_cc_agent_respond(struct ast_cc_agent *agent, enum cc_agent_response_reason reason)
+static void sip_cc_agent_respond(struct ast_cc_agent *agent, enum ast_cc_agent_response_reason reason)
 {
 	struct sip_cc_agent_pvt *agent_pvt = agent->private_data;
 

Modified: team/group/ccss_failure_response/include/asterisk/ccss.h
URL: http://svnview.digium.com/svn/asterisk/team/group/ccss_failure_response/include/asterisk/ccss.h?view=diff&rev=296872&r1=296871&r2=296872
==============================================================================
--- team/group/ccss_failure_response/include/asterisk/ccss.h (original)
+++ team/group/ccss_failure_response/include/asterisk/ccss.h Tue Nov 30 18:57:32 2010
@@ -858,7 +858,7 @@
 	char device_name[1];
 };
 
-enum cc_agent_response_reason {
+enum ast_cc_agent_response_reason {
 	AST_CC_AGENT_RESPONSE_SUCCESS,
 	AST_CC_AGENT_RESPONSE_FAILURE_SHORTTERM,
 	AST_CC_AGENT_RESPONSE_FAILURE_LONGTERM,
@@ -930,6 +930,7 @@
 	 * \brief Respond to a CC request.
 	 *
 	 * \param agent CC core agent control.
+	 * \param reason CC request response status.
 	 *
 	 * \details
 	 * When the core receives knowledge that a called
@@ -938,11 +939,11 @@
 	 * if there is some error when attempting to process
 	 * the incoming CC request.
 	 *
-	 * The duty of this is to isse a proper response to a
+	 * The duty of this is to issue a propper response to a
 	 * CC request from the caller by acknowledging receipt
 	 * of that request or rejecting it.
 	 */
-	void (*respond)(struct ast_cc_agent *agent, enum cc_agent_response_reason reason);
+	void (*respond)(struct ast_cc_agent *agent, enum ast_cc_agent_response_reason reason);
 	/*!
 	 * \brief Request the status of the agent's device.
 	 *

Modified: team/group/ccss_failure_response/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/ccss_failure_response/main/ccss.c?view=diff&rev=296872&r1=296871&r2=296872
==============================================================================
--- team/group/ccss_failure_response/main/ccss.c (original)
+++ team/group/ccss_failure_response/main/ccss.c Tue Nov 30 18:57:32 2010
@@ -2267,7 +2267,7 @@
 static int cc_generic_agent_init(struct ast_cc_agent *agent, struct ast_channel *chan);
 static int cc_generic_agent_start_offer_timer(struct ast_cc_agent *agent);
 static int cc_generic_agent_stop_offer_timer(struct ast_cc_agent *agent);
-static void cc_generic_agent_respond(struct ast_cc_agent *agent, enum cc_agent_response_reason reason);
+static void cc_generic_agent_respond(struct ast_cc_agent *agent, enum ast_cc_agent_response_reason reason);
 static int cc_generic_agent_status_request(struct ast_cc_agent *agent);
 static int cc_generic_agent_stop_ringing(struct ast_cc_agent *agent);
 static int cc_generic_agent_start_monitoring(struct ast_cc_agent *agent);
@@ -2403,7 +2403,7 @@
 	return 0;
 }
 
-static void cc_generic_agent_respond(struct ast_cc_agent *agent, enum cc_agent_response_reason reason)
+static void cc_generic_agent_respond(struct ast_cc_agent *agent, enum ast_cc_agent_response_reason reason)
 {
 	/* The generic agent doesn't have to do anything special to
 	 * acknowledge a CC request. Just return.




More information about the asterisk-commits mailing list