mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 14:41:58 +00:00
Merged revisions 104920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r104920 | qwell | 2008-02-27 22:31:21 -0600 (Wed, 27 Feb 2008) | 2 lines According to a video at www.cisco.com, the 7921G supports 6 line appearances. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@104921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1373,11 +1373,14 @@ static void *get_button_template(struct skinnysession *s, struct button_definiti
|
|||||||
(btn++)->buttonDefinition = BT_HOLD;
|
(btn++)->buttonDefinition = BT_HOLD;
|
||||||
break;
|
break;
|
||||||
case SKINNY_DEVICE_7920:
|
case SKINNY_DEVICE_7920:
|
||||||
case SKINNY_DEVICE_7921:
|
|
||||||
/* XXX I don't know if this is right. */
|
/* XXX I don't know if this is right. */
|
||||||
for (i = 0; i < 4; i++)
|
for (i = 0; i < 4; i++)
|
||||||
(btn++)->buttonDefinition = BT_CUST_LINESPEEDDIAL;
|
(btn++)->buttonDefinition = BT_CUST_LINESPEEDDIAL;
|
||||||
break;
|
break;
|
||||||
|
case SKINNY_DEVICE_7921:
|
||||||
|
for (i = 0; i < 6; i++)
|
||||||
|
(btn++)->buttonDefinition = BT_CUST_LINESPEEDDIAL;
|
||||||
|
break;
|
||||||
case SKINNY_DEVICE_7902:
|
case SKINNY_DEVICE_7902:
|
||||||
ast_log(LOG_WARNING, "Unsupported device type '%d (7902)' found.\n", d->type);
|
ast_log(LOG_WARNING, "Unsupported device type '%d (7902)' found.\n", d->type);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user