From: Automerge script Date: Fri, 19 May 2006 16:07:43 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.9.1-netsec~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2ebf8a0fb8c5e87da1cf8510989bb5ddc5058eb;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@28674 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index a35a3ee191..61cf456176 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -431,6 +431,8 @@ static enum queue_member_status get_member_status(const struct ast_call_queue *q enum queue_member_status result = QUEUE_NO_MEMBERS; for (member = q->members; member; member = member->next) { + if (member->paused) continue; + switch (member->status) { case AST_DEVICE_INVALID: /* nothing to do */ diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 214c7aff3c..b595944f2d 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5310,7 +5310,7 @@ static int vm_execmain(struct ast_channel *chan, void *data) case '5': /* Leave VoiceMail */ if (ast_test_flag(vmu, VM_SVMAIL)) { - cmd = forward_message(chan, context, vms.curdir, vms.curmsg, vmu, vmfmts, 1, record_gain); + cmd = forward_message(chan, vmu->context, vms.curdir, vms.curmsg, vmu, vmfmts, 1, record_gain); if (cmd == ERROR_LOCK_PATH) { res = cmd; goto out; @@ -5391,7 +5391,7 @@ static int vm_execmain(struct ast_channel *chan, void *data) case '8': if (vms.lastmsg > -1) { - cmd = forward_message(chan, context, vms.curdir, vms.curmsg, vmu, vmfmts, 0, record_gain); + cmd = forward_message(chan, vmu->context, vms.curdir, vms.curmsg, vmu, vmfmts, 0, record_gain); if (cmd == ERROR_LOCK_PATH) { res = cmd; goto out; diff --git a/enum.c b/enum.c index 0c3e925131..9daef1ef71 100644 --- a/enum.c +++ b/enum.c @@ -80,7 +80,7 @@ struct naptr { } __attribute__ ((__packed__)); /*--- parse_ie: Parse NAPTR record information elements */ -static unsigned int parse_ie(char *data, unsigned int maxdatalen, char *src, unsigned int srclen) +static unsigned int parse_ie(unsigned char *data, unsigned int maxdatalen, unsigned char *src, unsigned int srclen) { unsigned int len, olen; @@ -101,7 +101,7 @@ static unsigned int parse_ie(char *data, unsigned int maxdatalen, char *src, uns } /*--- parse_naptr: Parse DNS NAPTR record used in ENUM ---*/ -static int parse_naptr(char *dst, int dstsize, char *tech, int techsize, char *answer, int len, char *naptrinput) +static int parse_naptr(unsigned char *dst, int dstsize, char *tech, int techsize, unsigned char *answer, int len, unsigned char *naptrinput) { char tech_return[80]; char *oanswer = answer;