[asterisk-commits] qwell: branch 1.4 r104920 - /branches/1.4/channels/chan_skinny.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Feb 27 22:31:22 CST 2008


Author: qwell
Date: Wed Feb 27 22:31:21 2008
New Revision: 104920

URL: http://svn.digium.com/view/asterisk?view=rev&rev=104920
Log:
According to a video at www.cisco.com, the 7921G supports 6 line appearances.

Modified:
    branches/1.4/channels/chan_skinny.c

Modified: branches/1.4/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_skinny.c?view=diff&rev=104920&r1=104919&r2=104920
==============================================================================
--- branches/1.4/channels/chan_skinny.c (original)
+++ branches/1.4/channels/chan_skinny.c Wed Feb 27 22:31:21 2008
@@ -1176,9 +1176,12 @@
 			(btn++)->buttonDefinition = BT_HOLD;
 			break;
 		case SKINNY_DEVICE_7920:
-		case SKINNY_DEVICE_7921:
 			/* XXX I don't know if this is right. */
 			for (i = 0; i < 4; i++)
+				(btn++)->buttonDefinition = BT_CUST_LINESPEEDDIAL;
+			break;
+		case SKINNY_DEVICE_7921:
+			for (i = 0; i < 6; i++)
 				(btn++)->buttonDefinition = BT_CUST_LINESPEEDDIAL;
 			break;
 		case SKINNY_DEVICE_7902:




More information about the asterisk-commits mailing list