Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv782/apps
Modified Files:
app_controlplayback.c app_md5.c
Log Message:
Fix j option in a couple more places.
Index: app_controlplayback.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_controlplayback.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- app_controlplayback.c 11 Nov 2005 13:34:38 -0000 1.23
+++ app_controlplayback.c 20 Nov 2005 05:39:47 -0000 1.24
@@ -140,7 +140,7 @@
} else {
if (res < 0) {
if (priority_jump || option_priority_jumping) {
- if (!ast_goto_if_exists(chan, chan->context,
chan->exten, chan->priority + 101)) {
+ if (ast_goto_if_exists(chan, chan->context,
chan->exten, chan->priority + 101)) {
ast_log(LOG_WARNING, "ControlPlayback
tried to jump to priority n+101 as requested, but priority didn't exist\n");
}
}
Index: app_md5.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_md5.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- app_md5.c 8 Nov 2005 04:48:00 -0000 1.16
+++ app_md5.c 20 Nov 2005 05:39:47 -0000 1.17
@@ -157,7 +157,7 @@
ast_log(LOG_DEBUG, "ERROR: MD5 not verified: %s -- %s\n",
args.md5hash, args.string);
pbx_builtin_setvar_helper(chan, "CHECKMD5STATUS", "NOMATCH");
if (priority_jump || option_priority_jumping) {
- if (!ast_goto_if_exists(chan, chan->context, chan->exten,
chan->priority + 101))
+ if (ast_goto_if_exists(chan, chan->context, chan->exten,
chan->priority + 101))
if (option_debug > 2)
ast_log(LOG_DEBUG, "ERROR: Can't jump to
exten+101 (e%s,p%d), sorry\n", chan->exten,chan->priority+101);
}
_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs