[svn-commits] oej: branch oej/videocaps r118913 - in /team/oej/videocaps: apps/ include/ast...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu May 29 07:22:02 CDT 2008


Author: oej
Date: Thu May 29 07:22:02 2008
New Revision: 118913

URL: http://svn.digium.com/view/asterisk?view=rev&rev=118913
Log:
Updates

Modified:
    team/oej/videocaps/apps/app_dial.c
    team/oej/videocaps/include/asterisk/frame.h

Modified: team/oej/videocaps/apps/app_dial.c
URL: http://svn.digium.com/view/asterisk/team/oej/videocaps/apps/app_dial.c?view=diff&rev=118913&r1=118912&r2=118913
==============================================================================
--- team/oej/videocaps/apps/app_dial.c (original)
+++ team/oej/videocaps/apps/app_dial.c Thu May 29 07:22:02 2008
@@ -747,9 +747,10 @@
 					/* Ignore going off hook and flash */
 					break;
 				case AST_CONTROL_CAPABILITY:
-			  	if (option_verbose > 2)
-			  		ast_verbose(VERBOSE_PREFIX_3 "Call on %s is indicating caps %d\n", o->chan->name, f->datalen);
-			  	ast_indicate_data(in, AST_CONTROL_CAPABILITY, f->data, f->datalen);
+			  		if (option_verbose > 2)
+			  			ast_verbose(VERBOSE_PREFIX_3 "Call on %s is indicating caps %d\n", o->chan->name, f->datalen);
+			  		ast_indicate_data(in, AST_CONTROL_CAPABILITY, f->data.ptr, f->datalen);
+					break;
 				case -1:
 					if (!ast_test_flag64(outgoing, OPT_RINGBACK | OPT_MUSICBACK)) {
 						ast_verb(3, "%s stopped sounds\n", c->name);

Modified: team/oej/videocaps/include/asterisk/frame.h
URL: http://svn.digium.com/view/asterisk/team/oej/videocaps/include/asterisk/frame.h?view=diff&rev=118913&r1=118912&r2=118913
==============================================================================
--- team/oej/videocaps/include/asterisk/frame.h (original)
+++ team/oej/videocaps/include/asterisk/frame.h Thu May 29 07:22:02 2008
@@ -304,7 +304,7 @@
 	AST_CONTROL_VIDUPDATE = 18,	/*!< Indicate video frame update */
 	AST_CONTROL_T38 = 19,		/*!< T38 state change request/notification */
 	AST_CONTROL_SRCUPDATE = 20,     /*!< Indicate source of media has changed */
-	AST_CONTROL_CAPABILITY = 21, /*!< Indicate a new capability set, contains data */
+	AST_CONTROL_CAPABILITY = 21, 	/*!< Indicate a new capability set, contains data */
 };
 
 enum ast_control_t38 {




More information about the svn-commits mailing list