Merged revisions 74866 via svnmerge from
authorJason Parker <jparker@digium.com>
Thu, 12 Jul 2007 16:54:02 +0000 (16:54 +0000)
committerJason Parker <jparker@digium.com>
Thu, 12 Jul 2007 16:54:02 +0000 (16:54 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74866 | qwell | 2007-07-12 11:53:35 -0500 (Thu, 12 Jul 2007) | 1 line

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/trunk@74867 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_skinny.c

index dfaeb7e..9a122cc 100644 (file)
@@ -1179,6 +1179,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;
@@ -2074,6 +2075,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: