[asterisk-commits] trunk - r7569 /trunk/res/res_features.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Wed Dec 21 02:51:47 CST 2005
Author: russell
Date: Wed Dec 21 02:51:44 2005
New Revision: 7569
URL: http://svn.digium.com/view/asterisk?rev=7569&view=rev
Log:
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)
Modified:
trunk/res/res_features.c
Modified: trunk/res/res_features.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_features.c?rev=7569&r1=7568&r2=7569&view=diff
==============================================================================
--- trunk/res/res_features.c (original)
+++ trunk/res/res_features.c Wed Dec 21 02:51:44 2005
@@ -1892,12 +1892,13 @@
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 : "")
More information about the asterisk-commits
mailing list