aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_transfer.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-27 16:03:12 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-10-27 16:03:12 +0000
commitd6f87a5456c93ac6240dce691f491b5ad8068e18 (patch)
tree3ed4ff20da9ac854ace4377ec2f299cf62121cab /apps/app_transfer.c
parente5ab99ee4c4902976494ced3d370f09d607c498b (diff)
Remove options argument parsing/syntax (it isn't used any longer)
(closes issue #13789) Reported by: IgorG Patches: app_transfer.c.diff uploaded by IgorG (license 20) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152132 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_transfer.c')
-rw-r--r--apps/app_transfer.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/app_transfer.c b/apps/app_transfer.c
index ee6c2c588..df0c5392b 100644
--- a/apps/app_transfer.c
+++ b/apps/app_transfer.c
@@ -42,7 +42,7 @@ static const char *app = "Transfer";
static const char *synopsis = "Transfer caller to remote extension";
static const char *descrip =
-" Transfer([Tech/]dest[,options]): Requests the remote caller be transferred\n"
+" Transfer([Tech/]dest): Requests the remote caller be transferred\n"
"to a given destination. If TECH (SIP, IAX2, LOCAL etc) is used, only\n"
"an incoming call with the same channel technology will be transfered.\n"
"Note that for SIP, if you transfer before call is setup, a 302 redirect\n"
@@ -64,11 +64,10 @@ static int transfer_exec(struct ast_channel *chan, void *data)
char *parse;
AST_DECLARE_APP_ARGS(args,
AST_APP_ARG(dest);
- AST_APP_ARG(options);
);
if (ast_strlen_zero((char *)data)) {
- ast_log(LOG_WARNING, "Transfer requires an argument ([Tech/]destination[,options])\n");
+ ast_log(LOG_WARNING, "Transfer requires an argument ([Tech/]destination)\n");
pbx_builtin_setvar_helper(chan, "TRANSFERSTATUS", "FAILURE");
return 0;
} else
@@ -76,9 +75,6 @@ static int transfer_exec(struct ast_channel *chan, void *data)
AST_STANDARD_APP_ARGS(args, parse);
- if (args.options) {
- }
-
dest = args.dest;
if ((slash = strchr(dest, '/')) && (len = (slash - dest))) {