diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-21 08:51:44 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-12-21 08:51:44 +0000 |
commit | 407571172a863f1652c895238325cb50e244ddb6 (patch) | |
tree | cc1d5a0640f689b81ef0245ecfd933c8764c6708 /res | |
parent | d16d5b54631dea8dfb25c4650222cc1de4af8347 (diff) |
add a header to indicate who the call was parked by to the ParkedCall manager
events generated when parking status is requested. This header was already
in the events that are generated when the call is first parked. (issue #5883)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7569 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r-- | res/res_features.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c index 68291fd2a..7b58f9f6b 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1892,12 +1892,13 @@ static int manager_parking_status( struct mansession *s, struct message *m ) ast_cli(s->fd, "Event: ParkedCall\r\n" "Exten: %d\r\n" "Channel: %s\r\n" + "From: %s\r\n" "Timeout: %ld\r\n" "CallerID: %s\r\n" "CallerIDName: %s\r\n" "%s" "\r\n" - ,cur->parkingnum, cur->chan->name + ,cur->parkingnum, cur->chan->name, cur->peername ,(long)cur->start.tv_sec + (long)(cur->parkingtime/1000) - (long)time(NULL) ,(cur->chan->cid.cid_num ? cur->chan->cid.cid_num : "") ,(cur->chan->cid.cid_name ? cur->chan->cid.cid_name : "") |