Add missing unique id to ParkedCallGiveUp and ParkedCallTimeOut
authorMark Michelson <mmichelson@digium.com>
Fri, 22 Aug 2008 20:02:35 +0000 (20:02 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 22 Aug 2008 20:02:35 +0000 (20:02 +0000)
manager events

(closes issue #13358)
Reported by: srt
Patches:
      13358_parking_events.diff uploaded by srt (license 378)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@139558 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/features.c

index 90acb2b..fda8835 100644 (file)
@@ -2364,12 +2364,14 @@ static void post_manager_event(const char *s, struct parkeduser *pu)
                "Channel: %s\r\n"
                "Parkinglot: %s\r\n"
                "CallerIDNum: %s\r\n"
-               "CallerIDName: %s\r\n\r\n",
+               "CallerIDName: %s\r\n",
+               "UniqueID: %s\r\n\r\n",
                pu->parkingexten, 
                pu->chan->name,
                pu->parkinglot->name,
                S_OR(pu->chan->cid.cid_num, "<unknown>"),
-               S_OR(pu->chan->cid.cid_name, "<unknown>")
+               S_OR(pu->chan->cid.cid_name, "<unknown>"),
+               pu->chan->uniqueid
                );
 }