diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-11 21:49:13 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-11 21:49:13 +0000 |
commit | 300c8dcaf7ae080cb5f8e0c98cead2329a639e8f (patch) | |
tree | 6ffd673f842e2b7ca72fb7748ad7517d7dd56b50 /funcs/func_cut.c | |
parent | b0e8855c2a39943bc18d776154ef5437fa225522 (diff) |
Merged revisions 163254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r163254 | russell | 2008-12-11 15:48:08 -0600 (Thu, 11 Dec 2008) | 16 lines
Merged revisions 163253 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r163253 | russell | 2008-12-11 15:46:29 -0600 (Thu, 11 Dec 2008) | 8 lines
Fix some observed slowdowns in dialplan processing.
The change is to remove autoservice usage from dialplan functions that do not
need it because they do not perform operations that potentially block.
(closes issue #13940)
Reported by: tbelder
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@163255 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_cut.c')
-rw-r--r-- | funcs/func_cut.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/funcs/func_cut.c b/funcs/func_cut.c index 96779b661..231729ddf 100644 --- a/funcs/func_cut.c +++ b/funcs/func_cut.c @@ -227,9 +227,6 @@ static int acf_cut_exec(struct ast_channel *chan, const char *cmd, char *data, c { int ret = -1; - if (chan) - ast_autoservice_start(chan); - switch (cut_internal(chan, data, buf, len)) { case ERROR_NOARG: ast_log(LOG_ERROR, "Syntax: CUT(<varname>,<char-delim>,<range-spec>) - missing argument!\n"); @@ -247,9 +244,6 @@ static int acf_cut_exec(struct ast_channel *chan, const char *cmd, char *data, c ast_log(LOG_ERROR, "Unknown internal error\n"); } - if (chan) - ast_autoservice_stop(chan); - return ret; } |