[asterisk-commits] file: trunk r41595 - /trunk/main/frame.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Aug 31 11:21:01 MST 2006


Author: file
Date: Thu Aug 31 13:21:00 2006
New Revision: 41595

URL: http://svn.digium.com/view/asterisk?rev=41595&view=rev
Log:
Add new frame types for DTMF

Modified:
    trunk/main/frame.c

Modified: trunk/main/frame.c
URL: http://svn.digium.com/view/asterisk/trunk/main/frame.c?rev=41595&r1=41594&r2=41595&view=diff
==============================================================================
--- trunk/main/frame.c (original)
+++ trunk/main/frame.c Thu Aug 31 13:21:00 2006
@@ -784,8 +784,13 @@
 	if (f->frametype == AST_FRAME_VIDEO)
 		return;
 	switch(f->frametype) {
-	case AST_FRAME_DTMF:
-		strcpy(ftype, "DTMF");
+	case AST_FRAME_DTMF_BEGIN:
+		strcpy(ftype, "DTMF Begin");
+		subclass[0] = f->subclass;
+		subclass[1] = '\0';
+		break;
+	case AST_FRAME_DTMF_END:
+		strcpy(ftype, "DTMF End");
 		subclass[0] = f->subclass;
 		subclass[1] = '\0';
 		break;



More information about the asterisk-commits mailing list