dect
/
asterisk
Archived
13
0
Fork 0

Fix getting ${UNIQUEID} value

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1533 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
martinp 2003-09-20 00:34:03 +00:00
parent 8adc84a38f
commit 75293cf906
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) {