[asterisk-commits] russell: trunk r83181 - /trunk/funcs/func_shell.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 19 14:54:58 CDT 2007
Author: russell
Date: Wed Sep 19 14:54:58 2007
New Revision: 83181
URL: http://svn.digium.com/view/asterisk?view=rev&rev=83181
Log:
put the channel in autoservice when executing func_shell
Modified:
trunk/funcs/func_shell.c
Modified: trunk/funcs/func_shell.c
URL: http://svn.digium.com/view/asterisk/trunk/funcs/func_shell.c?view=diff&rev=83181&r1=83180&r2=83181
==============================================================================
--- trunk/funcs/func_shell.c (original)
+++ trunk/funcs/func_shell.c Wed Sep 19 14:54:58 2007
@@ -49,6 +49,8 @@
return -1;
}
+ ast_autoservice_start(chan);
+
if (len >= 1) {
FILE *ptr;
char plbuff[4096];
@@ -59,6 +61,8 @@
}
pclose(ptr);
}
+
+ ast_autoservice_stop(chan);
return 0;
}
More information about the asterisk-commits
mailing list