[asterisk-commits] dvossel: branch dvossel/generic_aoc r257422 - /team/dvossel/generic_aoc/chann...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 15 12:28:42 CDT 2010


Author: dvossel
Date: Thu Apr 15 12:28:40 2010
New Revision: 257422

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=257422
Log:
fixes reviewboard comments

Modified:
    team/dvossel/generic_aoc/channels/sig_pri.c

Modified: team/dvossel/generic_aoc/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/generic_aoc/channels/sig_pri.c?view=diff&rev=257422&r1=257421&r2=257422
==============================================================================
--- team/dvossel/generic_aoc/channels/sig_pri.c (original)
+++ team/dvossel/generic_aoc/channels/sig_pri.c Thu Apr 15 12:28:40 2010
@@ -2250,12 +2250,12 @@
 		if (pvt->pri->aoc_passthrough_flag & PRI_AOC_GRANT_D) {
 			pri_aoc_de_request_response_send(pvt->pri->pri,
 				call,
-				PRI_AOC_REQUEST_RESPONSE_CHARGING_INFO_FOLLOWS,
+				PRI_AOC_REQ_RSP_CHARGING_INFO_FOLLOWS,
 				aoc_request->invoke_id);
 		} else {
 			pri_aoc_de_request_response_send(pvt->pri->pri,
 				call,
-				PRI_AOC_REQUEST_RESPONSE_ERROR_NOT_AVAILABLE,
+				PRI_AOC_REQ_RSP_ERROR_NOT_AVAILABLE,
 				aoc_request->invoke_id);
 		}
 	}
@@ -2264,12 +2264,12 @@
 		if (pvt->pri->aoc_passthrough_flag & PRI_AOC_GRANT_E) {
 			pri_aoc_de_request_response_send(pvt->pri->pri,
 				call,
-				PRI_AOC_REQUEST_RESPONSE_CHARGING_INFO_FOLLOWS,
+				PRI_AOC_REQ_RSP_CHARGING_INFO_FOLLOWS,
 				aoc_request->invoke_id);
 		} else {
 			pri_aoc_de_request_response_send(pvt->pri->pri,
 				call,
-				PRI_AOC_REQUEST_RESPONSE_ERROR_NOT_AVAILABLE,
+				PRI_AOC_REQ_RSP_ERROR_NOT_AVAILABLE,
 				aoc_request->invoke_id);
 		}
 	}
@@ -3331,7 +3331,7 @@
 			break;
 #endif	/* defined(HAVE_PRI_AOC_EVENTS) */
 #if defined(HAVE_PRI_AOC_EVENTS)
-		case PRI_SUBCMD_AOC_CHARGING_REQUEST:
+		case PRI_SUBCMD_AOC_CHARGING_REQ:
 			if (pri->aoc_passthrough_flag) {
 				sig_pri_lock_owner(pri, chanpos);
 				owner = pri->pvts[chanpos]->owner;
@@ -3343,7 +3343,7 @@
 			break;
 #endif	/* defined(HAVE_PRI_AOC_EVENTS) */
 #if defined(HAVE_PRI_AOC_EVENTS)
-		case PRI_SUBCMD_AOC_CHARGING_REQUEST_RESPONSE:
+		case PRI_SUBCMD_AOC_CHARGING_REQ_RSP:
 			/* An AOC request response may contain an AOC-S rate list.  If this is the case handle this just like we
 			 * would an incoming AOC-S msg */
 			if (subcmd->u.aoc_request_response.valid_aoc_s) {




More information about the asterisk-commits mailing list