aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-28 04:31:21 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-28 04:31:21 +0000
commitdfe3905779e35a7c1d7c4fb41703088e8cca4b0c (patch)
tree783f2d7bc9f56272e6e734c8122ca044e772c9be /channels
parent07a8b3b33c88ea606ce5125011fccd530743a632 (diff)
According to a video at www.cisco.com, the 7921G supports 6 line appearances.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@104920 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_skinny.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/channels/chan_skinny.c b/channels/chan_skinny.c
index 9508906f7..c712e3d94 100644
--- a/channels/chan_skinny.c
+++ b/channels/chan_skinny.c
@@ -1176,11 +1176,14 @@ 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;
break;
+ case SKINNY_DEVICE_7921:
+ for (i = 0; i < 6; i++)
+ (btn++)->buttonDefinition = BT_CUST_LINESPEEDDIAL;
+ break;
case SKINNY_DEVICE_7902:
ast_log(LOG_WARNING, "Unsupported device type '%d (7902)' found.\n", d->type);
break;