[asterisk-commits] dvossel: branch group/aoc r251535 - in /team/group/aoc: include/asterisk/ main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 9 17:27:33 CST 2010


Author: dvossel
Date: Tue Mar  9 17:27:29 2010
New Revision: 251535

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=251535
Log:
addition of the AST_CONTROL_AOC frame type

Modified:
    team/group/aoc/include/asterisk/frame.h
    team/group/aoc/main/channel.c

Modified: team/group/aoc/include/asterisk/frame.h
URL: http://svnview.digium.com/svn/asterisk/team/group/aoc/include/asterisk/frame.h?view=diff&rev=251535&r1=251534&r2=251535
==============================================================================
--- team/group/aoc/include/asterisk/frame.h (original)
+++ team/group/aoc/include/asterisk/frame.h Tue Mar  9 17:27:29 2010
@@ -323,6 +323,7 @@
 	AST_CONTROL_CONNECTED_LINE = 22,/*!< Indicate connected line has changed */
 	AST_CONTROL_REDIRECTING = 23,    /*!< Indicate redirecting id has changed */
 	AST_CONTROL_T38_PARAMETERS = 24, /*! T38 state change request/notification with parameters */
+	AST_CONTROL_AOC = 25,            /*!< Advice of Charge with encoded generic AOC payload */
 };
 
 enum ast_control_t38 {

Modified: team/group/aoc/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/group/aoc/main/channel.c?view=diff&rev=251535&r1=251534&r2=251535
==============================================================================
--- team/group/aoc/main/channel.c (original)
+++ team/group/aoc/main/channel.c Tue Mar  9 17:27:29 2010
@@ -3613,6 +3613,7 @@
 	case AST_CONTROL_TRANSFER:
 	case AST_CONTROL_T38_PARAMETERS:
 	case _XXX_AST_CONTROL_T38:
+	case AST_CONTROL_AOC:
 		break;
 
 	case AST_CONTROL_CONGESTION:
@@ -3754,6 +3755,7 @@
 	case AST_CONTROL_TRANSFER:
 	case AST_CONTROL_CONNECTED_LINE:
 	case AST_CONTROL_REDIRECTING:
+	case AST_CONTROL_AOC:
 		/* Nothing left to do for these. */
 		res = 0;
 		break;




More information about the asterisk-commits mailing list