[asterisk-commits] seanbright: trunk r138479 - /trunk/main/features.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Aug 17 08:51:09 CDT 2008
Author: seanbright
Date: Sun Aug 17 08:51:08 2008
New Revision: 138479
URL: http://svn.digium.com/view/asterisk?view=rev&rev=138479
Log:
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)
Modified:
trunk/main/features.c
Modified: trunk/main/features.c
URL: http://svn.digium.com/view/asterisk/trunk/main/features.c?view=diff&rev=138479&r1=138478&r2=138479
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Sun Aug 17 08:51:08 2008
@@ -603,12 +603,13 @@
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>")
More information about the asterisk-commits
mailing list