summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-07-10 23:49:57 +0000
committerRussell Bryant <russell@russellbryant.com>2005-07-10 23:49:57 +0000
commit4c531ca8c0c9e88a12c011b59085184f72087e59 (patch)
tree4db59d5d09ba10d210876efd1cab834c716be5b0 /apps/app_queue.c
parentc18fd5cd8c1b6e582915d920d0831441505c30fc (diff)
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rwxr-xr-xapps/app_queue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index cae7e5ef6..2ea4e849a 100755
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -233,7 +233,7 @@ struct queue_ent {
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 @@ struct ast_call_queue {
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 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
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;