aboutsummaryrefslogtreecommitdiffstats
path: root/utils/ael_main.c
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-14 14:32:21 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-14 14:32:21 +0000
commit66add1d2bac387d3d411649dcb418c74e521fe1e (patch)
tree389cf67d1f86e381913af92364a85fc755bd5d54 /utils/ael_main.c
parentd0de2c7053a1a71fb4b90f48c3a37066c1d627a9 (diff)
Merged revisions 79255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79255 | murf | 2007-08-13 11:49:54 -0600 (Mon, 13 Aug 2007) | 1 line This patch fixes bug 10411. I added a new regression test, some regression test cleanups ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79392 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/ael_main.c')
-rw-r--r--utils/ael_main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/ael_main.c b/utils/ael_main.c
index df8a01c37..76562c381 100644
--- a/utils/ael_main.c
+++ b/utils/ael_main.c
@@ -164,6 +164,17 @@ void ast_unregister_file_version(void)
/* I'm erasing this, because I don't think anyone really ever needs to see it anyway */
}
+void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char *cp2,int count);
+void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char *cp2,int count)
+{
+ if (cp1 && *cp1)
+ strncpy(cp2,cp1,AST_MAX_EXTENSION); /* Right now, this routine is ONLY being called for
+ a possible var substitution on extension names,
+ so....! */
+ else
+ *cp2 = 0;
+}
+
int ast_add_extension2(struct ast_context *con,
int replace, const char *extension, int priority, const char *label, const char *callerid,
const char *application, void *data, void (*datad)(void *),