It helps if I actually add this stuff for the 7921 too - otherwise it won't actually do much of anything.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jason Parker
2007-07-12 16:53:35 +00:00
parent d6ff30694e
commit f642f7fc86

View File

@@ -1164,6 +1164,7 @@ static void *get_button_template(struct skinnysession *s, struct button_definiti
(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;
@@ -1907,6 +1908,8 @@ static char *device2str(int type)
return "7961GE";
case SKINNY_DEVICE_7941GE:
return "7941GE";
case SKINNY_DEVICE_7921:
return "7921";
case SKINNY_DEVICE_7905:
return "7905";
case SKINNY_DEVICE_7920: