diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-12 15:58:28 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-12 15:58:28 +0000 |
commit | a07711cda280cfad96812b1ad6280c6b18622aad (patch) | |
tree | ee41d7e2d18ab41d762c5cc8ed93419808507cbd /apps/app_url.c | |
parent | 34747bbb823024dbcf78944dc0d7724d1c65fef4 (diff) |
Completely remove all of the code related to jumping to priority n + 101. yay!
(issue #9926, caio1982)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@68970 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_url.c')
-rw-r--r-- | apps/app_url.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/app_url.c b/apps/app_url.c index a1f295a32..96787a967 100644 --- a/apps/app_url.c +++ b/apps/app_url.c @@ -59,10 +59,6 @@ static char *descrip = "If the option 'wait' is specified, execution will wait for an\n" "acknowledgement that the URL has been loaded before continuing\n" "\n" -"If jumping is specified as an option (the 'j' flag), the client does not\n" -"support Asterisk \"html\" transport, and there exists a step with priority\n" -"n + 101, then execution will continue at that step.\n" -"\n" "SendURL continues normally if the URL was sent correctly or if the channel\n" "does not support HTML transport. Otherwise, the channel is hung up.\n"; @@ -74,7 +70,6 @@ static int sendurl_exec(struct ast_channel *chan, void *data) char *tmp; char *options; int local_option_wait=0; - int local_option_jump = 0; struct ast_frame *f; char *stringp=NULL; char *status = "FAILURE"; @@ -94,13 +89,9 @@ static int sendurl_exec(struct ast_channel *chan, void *data) options = strsep(&stringp, "|"); if (options && !strcasecmp(options, "wait")) local_option_wait = 1; - if (options && !strcasecmp(options, "j")) - local_option_jump = 1; if (!ast_channel_supports_html(chan)) { /* Does not support transport */ - if (local_option_jump || ast_opt_priority_jumping) - ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101); pbx_builtin_setvar_helper(chan, "SENDURLSTATUS", "UNSUPPORTED"); ast_module_user_remove(u); return 0; @@ -135,8 +126,6 @@ static int sendurl_exec(struct ast_channel *chan, void *data) case AST_HTML_NOSUPPORT: /* Does not support transport */ status ="UNSUPPORTED"; - if (local_option_jump || ast_opt_priority_jumping) - ast_goto_if_exists(chan, chan->context, chan->exten, chan->priority + 101); res = 0; ast_frfree(f); goto out; |