summaryrefslogtreecommitdiff
path: root/res/res_features.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-12-21 08:51:44 +0000
committerRussell Bryant <russell@russellbryant.com>2005-12-21 08:51:44 +0000
commitf49974f3146fe8090fb1d15ebea6dee4493845ff (patch)
treecc1d5a0640f689b81ef0245ecfd933c8764c6708 /res/res_features.c
parent5039373b9940c257b4f2a458b0d237e1b0af9c22 (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: https://origsvn.digium.com/svn/asterisk/trunk@7569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_features.c')
-rw-r--r--res/res_features.c3
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 : "")