mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-19 11:13:09 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@79392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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 *),
|
||||
|
Reference in New Issue
Block a user