diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-06-12 15:58:28 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-06-12 15:58:28 +0000 |
commit | 9e0458e9f15c7a882cc546848c5ab3a0532f7cd1 (patch) | |
tree | ee41d7e2d18ab41d762c5cc8ed93419808507cbd /apps/app_url.c | |
parent | d0eaf1e3893cca69a78c6f80e247d43afc081520 (diff) |
Completely remove all of the code related to jumping to priority n + 101. yay!
(issue #9926, caio1982)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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; |