diff -urN ./chan_sccp-20071213/sccp_device.c ./chan_sccp-20071213-mod-cp7931/sccp_device.c --- ./chan_sccp-20071213/sccp_device.c 2007-12-13 20:48:30.000000000 +0200 +++ ./chan_sccp-20071213-mod-cp7931/sccp_device.c 2008-01-10 23:06:54.000000000 +0200 @@ -141,6 +141,10 @@ for (i = 0 ; i < 4 ; i++) (btn++)->type = SKINNY_BUTTONTYPE_SPEEDDIAL; break; + case SKINNY_DEVICETYPE_CISCO7931: + for (i = 0 ; i < 24 ; i++) + (btn++)->type = SKINNY_BUTTONTYPE_MULTI; + break; default: /* at least one line */ (btn++)->type = SKINNY_BUTTONTYPE_LINE; diff -urN ./chan_sccp-20071213/sccp_protocol.h ./chan_sccp-20071213-mod-cp7931/sccp_protocol.h --- ./chan_sccp-20071213/sccp_protocol.h 2007-12-13 20:48:30.000000000 +0200 +++ ./chan_sccp-20071213-mod-cp7931/sccp_protocol.h 2008-01-09 21:01:42.000000000 +0200 @@ -219,6 +219,7 @@ #define SKINNY_DEVICETYPE_CISCO7941GE 309 #define SKINNY_DEVICETYPE_CISCO7911 307 #define SKINNY_DEVICETYPE_CISCO7985 302 +#define SKINNY_DEVICETYPE_CISCO7931 348 #define SKINNY_DEVICE_RS_NONE 0 diff -urN ./chan_sccp-20071213/sccp_utils.c ./chan_sccp-20071213-mod-cp7931/sccp_utils.c --- ./chan_sccp-20071213/sccp_utils.c 2007-12-13 20:48:30.000000000 +0200 +++ ./chan_sccp-20071213-mod-cp7931/sccp_utils.c 2008-01-09 21:03:44.000000000 +0200 @@ -1273,6 +1273,8 @@ return "Cisco7971"; case SKINNY_DEVICETYPE_CISCO7985: return "Cisco7985"; + case SKINNY_DEVICETYPE_CISCO7931: + return "Cisco7931"; default: return "unknow"; }