mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
add function to convert a cause code to a string
create MAX_MUSICCLASS instead of using MAX_LANGUAGE git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -164,7 +164,7 @@ static char *mgcp_cxmodes[] = {
|
||||
static char context[AST_MAX_EXTENSION] = "default";
|
||||
|
||||
static char language[MAX_LANGUAGE] = "";
|
||||
static char musicclass[MAX_LANGUAGE] = "";
|
||||
static char musicclass[MAX_MUSICCLASS] = "";
|
||||
static char cid_num[AST_MAX_EXTENSION] = "";
|
||||
static char cid_name[AST_MAX_EXTENSION] = "";
|
||||
|
||||
@@ -375,7 +375,7 @@ struct mgcp_endpoint {
|
||||
char lastcallerid[AST_MAX_EXTENSION]; /* Last Caller*ID */
|
||||
char call_forward[AST_MAX_EXTENSION]; /* Last Caller*ID */
|
||||
char mailbox[AST_MAX_EXTENSION];
|
||||
char musicclass[MAX_LANGUAGE];
|
||||
char musicclass[MAX_MUSICCLASS];
|
||||
char curtone[80]; /* Current tone */
|
||||
ast_group_t callgroup;
|
||||
ast_group_t pickupgroup;
|
||||
|
Reference in New Issue
Block a user