mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 03:48:02 +00:00
manager unique id
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
10
manager.c
10
manager.c
@@ -328,10 +328,11 @@ static int action_status(struct mansession *s, struct message *m)
|
||||
"Extension: %s\r\n"
|
||||
"Priority: %d\r\n"
|
||||
"%s"
|
||||
"\r\n",
|
||||
"\r\n"
|
||||
"Uniqueid: %s\r\n",
|
||||
c->name, c->callerid ? c->callerid : "<unknown>",
|
||||
ast_state2str(c->_state), c->context,
|
||||
c->exten, c->priority, bridge);
|
||||
c->exten, c->priority, bridge, c->uniqueid);
|
||||
} else {
|
||||
ast_cli(s->fd,
|
||||
"Event: Status\r\n"
|
||||
@@ -339,9 +340,10 @@ static int action_status(struct mansession *s, struct message *m)
|
||||
"CallerID: %s\r\n"
|
||||
"State: %s\r\n"
|
||||
"%s"
|
||||
"\r\n",
|
||||
"\r\n"
|
||||
"Uniqueid: %s\r\n",
|
||||
c->name, c->callerid ? c->callerid : "<unknown>",
|
||||
ast_state2str(c->_state), bridge);
|
||||
ast_state2str(c->_state), bridge, c->uniqueid);
|
||||
}
|
||||
c = ast_channel_walk(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user