[asterisk-commits] trunk - r7578 in /trunk: ./ pbx/pbx_ael.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Dec 21 13:24:57 CST 2005
Author: tilghman
Date: Wed Dec 21 13:24:56 2005
New Revision: 7578
URL: http://svn.digium.com/view/asterisk?rev=7578&view=rev
Log:
Merged revisions 7577 via svnmerge from
/branches/1.2
Modified:
trunk/ (props changed)
trunk/pbx/pbx_ael.c
Propchange: trunk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Dec 21 13:24:56 2005
@@ -1,1 +1,1 @@
-/branches/1.2:1-7489,7491-7496,7498-7515,7519,7521,7523
+/branches/1.2:1-7489,7491-7496,7498-7515,7519,7521,7523,7577
Modified: trunk/pbx/pbx_ael.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx/pbx_ael.c?rev=7578&r1=7577&r2=7578&view=diff
==============================================================================
--- trunk/pbx/pbx_ael.c (original)
+++ trunk/pbx/pbx_ael.c Wed Dec 21 13:24:56 2005
@@ -730,6 +730,11 @@
if (aeldebug & DEBUG_TOKENS)
ast_verbose("--GOTO to : '%s'\n", args);
app = "Goto";
+ if (args[0] == '(' && args[strlen(args) - 1] == ')') {
+ args[0] = '\0';
+ args++;
+ args[strlen(args) - 1] = '\0';
+ }
if (ast_add_extension2(con, 0, exten, (*pos)++, *label, NULL, app, strdup(args), FREE, registrar))
ast_log(LOG_WARNING, "Unable to add step at priority '%d' of %s '%s'\n", *pos, what, name);
*label = NULL;
More information about the asterisk-commits
mailing list