[Asterisk-cvs] asterisk/apps app_macro.c, 1.25, 1.26 app_meetme.c,
1.101, 1.102 app_queue.c, 1.146, 1.147 app_voicemail.c, 1.220, 1.221
russell at lists.digium.com
russell at lists.digium.com
Sun Jul 10 19:41:35 CDT 2005
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv4756/apps
Modified Files:
app_macro.c app_meetme.c app_queue.c app_voicemail.c
Log Message:
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
Index: app_macro.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_macro.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- app_macro.c 10 Jul 2005 23:12:25 -0000 1.25
+++ app_macro.c 10 Jul 2005 23:49:57 -0000 1.26
@@ -88,7 +88,7 @@
char oldexten[256]="";
int oldpriority;
char pc[80];
- char oldcontext[256] = "";
+ char oldcontext[AST_MAX_CONTEXT] = "";
char *offsets;
int offset;
int setmacrocontext=0;
Index: app_meetme.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_meetme.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- app_meetme.c 7 Jul 2005 23:17:04 -0000 1.101
+++ app_meetme.c 10 Jul 2005 23:49:57 -0000 1.102
@@ -642,7 +642,7 @@
char *agifile;
char *agifiledefault = "conf-background.agi";
char meetmesecs[30] = "";
- char exitcontext[AST_MAX_EXTENSION] = "";
+ char exitcontext[AST_MAX_CONTEXT] = "";
char recordingtmp[AST_MAX_EXTENSION] = "";
int dtmf;
Index: app_queue.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_queue.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- app_queue.c 8 Jul 2005 21:14:34 -0000 1.146
+++ app_queue.c 10 Jul 2005 23:49:57 -0000 1.147
@@ -233,7 +233,7 @@
struct ast_call_queue *parent; /* What queue is our parent */
char moh[80]; /* Name of musiconhold to be used */
char announce[80]; /* Announcement to play for member when call is answered */
- char context[80]; /* Context when user exits queue */
+ char context[AST_MAX_CONTEXT]; /* Context when user exits queue */
int pos; /* Where we are in the queue */
int prio; /* Our priority */
int last_pos_said; /* Last position we told the user */
@@ -269,7 +269,7 @@
char name[80]; /* Name */
char moh[80]; /* Music On Hold class to be used */
char announce[80]; /* Announcement to play when call is answered */
- char context[80]; /* Exit context */
+ char context[AST_MAX_CONTEXT]; /* Exit context */
unsigned int monjoin:1;
unsigned int dead:1;
unsigned int joinempty:2;
@@ -1853,7 +1853,7 @@
int to;
char restofit[AST_MAX_EXTENSION];
char oldexten[AST_MAX_EXTENSION]="";
- char oldcontext[AST_MAX_EXTENSION]="";
+ char oldcontext[AST_MAX_CONTEXT]="";
char queuename[256]="";
char *newnum;
char *monitorfilename;
Index: app_voicemail.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_voicemail.c,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -d -r1.220 -r1.221
--- app_voicemail.c 7 Jul 2005 23:17:22 -0000 1.220
+++ app_voicemail.c 10 Jul 2005 23:49:57 -0000 1.221
@@ -158,8 +158,8 @@
/* Structure for linked list of users */
struct ast_vm_user {
- char context[80]; /* Voicemail context */
- char mailbox[80]; /* Mailbox id, unique within vm context */
+ char context[AST_MAX_CONTEXT]; /* Voicemail context */
+ char mailbox[AST_MAX_EXTENSION];/* Mailbox id, unique within vm context */
char password[80]; /* Secret pin code, numbers only */
char fullname[80]; /* Full name, for directory app */
char email[80]; /* E-mail address */
@@ -321,9 +321,9 @@
static int saydurationminfo;
-static char dialcontext[80];
-static char callcontext[80];
-static char exitcontext[80];
+static char dialcontext[AST_MAX_CONTEXT];
+static char callcontext[AST_MAX_CONTEXT];
+static char exitcontext[AST_MAX_CONTEXT];
static char cidinternalcontexts[MAX_NUM_CID_CONTEXTS][64];
More information about the svn-commits
mailing list