Fix getting ${UNIQUEID} value

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko 2003-09-20 00:34:03 +00:00
parent dc3d7eb38c
commit a2ee614628
1 changed files with 1 additions and 0 deletions

1
pbx.c
View File

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