[asterisk-commits] rmudgett: branch 10 r354119 - in /branches/10: ./ main/features.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Feb 6 11:31:06 CST 2012
Author: rmudgett
Date: Mon Feb 6 11:31:02 2012
New Revision: 354119
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=354119
Log:
Add missing headers to AMI UnParkedCall event to uniquely identify the call.
The AMI UnParkedCall event was missing the Parkinglot and Uniqueid headers
that the AMI ParkedCall event contains.
(closes issue ASTERISK-19240)
Reported by: Michael Yara
........
Merged revisions 354116 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/10/ (props changed)
branches/10/main/features.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/main/features.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/main/features.c?view=diff&rev=354119&r1=354118&r2=354119
==============================================================================
--- branches/10/main/features.c (original)
+++ branches/10/main/features.c Mon Feb 6 11:31:02 2012
@@ -5085,16 +5085,19 @@
ast_manager_event(pu->chan, EVENT_FLAG_CALL, "UnParkedCall",
"Exten: %s\r\n"
"Channel: %s\r\n"
+ "Parkinglot: %s\r\n"
"From: %s\r\n"
"CallerIDNum: %s\r\n"
"CallerIDName: %s\r\n"
"ConnectedLineNum: %s\r\n"
- "ConnectedLineName: %s\r\n",
- pu->parkingexten, pu->chan->name, chan->name,
+ "ConnectedLineName: %s\r\n"
+ "Uniqueid: %s\r\n",
+ pu->parkingexten, pu->chan->name, pu->parkinglot->name, chan->name,
S_COR(pu->chan->caller.id.number.valid, pu->chan->caller.id.number.str, "<unknown>"),
S_COR(pu->chan->caller.id.name.valid, pu->chan->caller.id.name.str, "<unknown>"),
S_COR(pu->chan->connected.id.number.valid, pu->chan->connected.id.number.str, "<unknown>"),
- S_COR(pu->chan->connected.id.name.valid, pu->chan->connected.id.name.str, "<unknown>")
+ S_COR(pu->chan->connected.id.name.valid, pu->chan->connected.id.name.str, "<unknown>"),
+ pu->chan->uniqueid
);
/* Stop entertaining the caller. */
More information about the asterisk-commits
mailing list