mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add unique identifier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
pbx.c
2
pbx.c
@@ -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
|
||||
|
Reference in New Issue
Block a user