I was mistakenly under the assumption that dialplan functions
*always* required that a channel be present. I need to go
home earlier, I think :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@150304
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (varname[strlen(varname) - 1] == ')') {
char *copy = ast_strdupa(varname);
- if (!c) {
- astman_send_error(s, m, "No such channel");
- return 0;
- }
+
ast_func_read(c, copy, workspace, sizeof(workspace));
varval = workspace;
} else {