Add Uniqueid header to ParkedCall manager event.
(closes issue #13323) Reported by: srt Patches: 13323_unique_id_for_parkedcalls_event.diff uploaded by srt (license 378) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@138479 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
fd2e7f0e4c
commit
afc524107a
1 changed files with 2 additions and 1 deletions
|
@ -603,12 +603,13 @@ static int ast_park_call_full(struct ast_channel *chan, struct ast_channel *peer
|
|||
manager_event(EVENT_FLAG_CALL, "ParkedCall",
|
||||
"Exten: %s\r\n"
|
||||
"Channel: %s\r\n"
|
||||
"Uniqueid: %s\r\n"
|
||||
"Parkinglot: %s\r\n"
|
||||
"From: %s\r\n"
|
||||
"Timeout: %ld\r\n"
|
||||
"CallerIDNum: %s\r\n"
|
||||
"CallerIDName: %s\r\n",
|
||||
pu->parkingexten, pu->chan->name, pu->parkinglot->name, peer ? peer->name : "",
|
||||
pu->parkingexten, pu->chan->name, pu->chan->uniqueid, pu->parkinglot->name, peer ? peer->name : "",
|
||||
(long)pu->start.tv_sec + (long)(pu->parkingtime/1000) - (long)time(NULL),
|
||||
S_OR(pu->chan->cid.cid_num, "<unknown>"),
|
||||
S_OR(pu->chan->cid.cid_name, "<unknown>")
|
||||
|
|
Reference in a new issue