add SIP_HEADER function, mark SIPGetHeader app deprecated (will be removed on 2005-05-31)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-05-01 18:37:37 +00:00
parent 7d4b53c57a
commit b1826af735
2 changed files with 53 additions and 3 deletions

2
pbx.c
View File

@@ -1463,7 +1463,7 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, const ch
/* Evaluate function */
cp4 = ast_func_read(c, vars, workspace, sizeof(workspace));
ast_log(LOG_DEBUG, "Function result is '%s'\n", cp4);
ast_log(LOG_DEBUG, "Function result is '%s'\n", cp4 ? cp4 : "(null)");
} else {
/* Retrieve variable value */
pbx_retrieve_variable(c, vars, &cp4, workspace, sizeof(workspace), headp);