aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-20 00:34:03 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-09-20 00:34:03 +0000
commit75293cf906dc96d215eb4c9d085679200127ea23 (patch)
treeb637ee682dc7ef352baa85e6e232646081da3f34 /pbx.c
parent8adc84a38f55e083d03824e823a4185b35efd3de (diff)
Fix getting ${UNIQUEID} value
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1533 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx.c b/pbx.c
index 8a7dd2fd7..058208154 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) {