aboutsummaryrefslogtreecommitdiffstats
path: root/funcs/func_cut.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-11 21:46:29 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-11 21:46:29 +0000
commitb7321e16b1c02d823c55e257fd4c42ccc4db42ef (patch)
tree5c0f98540893addfff9b623bf1c430854cb847e6 /funcs/func_cut.c
parenteea662de8a2ab9f1b8e467485de03cfa2ee001bc (diff)
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.4@163253 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs/func_cut.c')
-rw-r--r--funcs/func_cut.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/funcs/func_cut.c b/funcs/func_cut.c
index 51b9adc70..b8f5c5869 100644
--- a/funcs/func_cut.c
+++ b/funcs/func_cut.c
@@ -254,7 +254,6 @@ static int acf_cut_exec(struct ast_channel *chan, char *cmd, char *data, char *b
struct ast_module_user *u = NULL;
if (chan) {
- ast_autoservice_start(chan);
u = ast_module_user_add(chan);
}
@@ -277,7 +276,6 @@ static int acf_cut_exec(struct ast_channel *chan, char *cmd, char *data, char *b
if (chan) {
ast_module_user_remove(u);
- ast_autoservice_stop(chan);
}
return ret;