[asterisk-commits] qwell: trunk r152132 - /trunk/apps/app_transfer.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Oct 27 11:03:13 CDT 2008
Author: qwell
Date: Mon Oct 27 11:03:12 2008
New Revision: 152132
URL: http://svn.digium.com/view/asterisk?view=rev&rev=152132
Log:
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)
Modified:
trunk/apps/app_transfer.c
Modified: trunk/apps/app_transfer.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_transfer.c?view=diff&rev=152132&r1=152131&r2=152132
==============================================================================
--- trunk/apps/app_transfer.c (original)
+++ trunk/apps/app_transfer.c Mon Oct 27 11:03:12 2008
@@ -42,7 +42,7 @@
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,20 +64,16 @@
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
parse = ast_strdupa(data);
AST_STANDARD_APP_ARGS(args, parse);
-
- if (args.options) {
- }
dest = args.dest;
More information about the asterisk-commits
mailing list