From a2ee61462867e0dc8ae32e61a8e08cd4dbd7f250 Mon Sep 17 00:00:00 2001 From: Martin Pycko Date: Sat, 20 Sep 2003 00:34:03 +0000 Subject: [PATCH] Fix getting ${UNIQUEID} value git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1533 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pbx.c b/pbx.c index 8a7dd2fd7c..0582081540 100755 --- a/pbx.c +++ b/pbx.c @@ -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) {