Add unique identifier

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-05-30 04:41:18 +00:00
parent 11325940c8
commit 047bc4bd88
9 changed files with 22 additions and 2 deletions

2
pbx.c
View File

@@ -849,6 +849,8 @@ static void pbx_substitute_variables_temp(struct ast_channel *c,const char *var,
brokentime.tm_sec
);
*ret = workspace;
} else if (!strcmp(var, "UNIQUEID")) {
snprintf(workspace, workspacelen -1, "%s", c->uniqueid);
} else {
AST_LIST_TRAVERSE(headp,variables,entries) {
#if 0