Move Uniqueid to the end of the event for those that rely on the position
[asterisk/asterisk.git] / main / features.c
index 6b0627f..90acb2b 100644 (file)
@@ -603,16 +603,17 @@ static int ast_park_call_full(struct ast_channel *chan, struct ast_channel *peer
        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->chan->uniqueid, pu->parkinglot->name, peer ? peer->name : "",
+               "CallerIDName: %s\r\n"
+               "Uniqueid: %s\r\n",
+               pu->parkingexten, pu->chan->name, 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>")
+               S_OR(pu->chan->cid.cid_name, "<unknown>"),
+               pu->chan->uniqueid
                );
 
        if (peer && adsipark && ast_adsi_available(peer)) {