Change order so that it more closely matches the related SIP command.
authorTilghman Lesher <tilghman@meg.abyt.es>
Wed, 21 Jul 2010 06:45:06 +0000 (06:45 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Wed, 21 Jul 2010 06:45:06 +0000 (06:45 +0000)
(closes issue #17648)
 Reported by: GMLudo

Review: https://reviewboard.asterisk.org/r/789/

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

channels/chan_iax2.c

index ad7033b..72c2696 100644 (file)
@@ -6583,8 +6583,8 @@ static int __iax2_show_peers(int fd, int *total, struct mansession *s, const int
                        astman_append(s,
                                "Event: PeerEntry\r\n%s"
                                "Channeltype: IAX2\r\n"
                        astman_append(s,
                                "Event: PeerEntry\r\n%s"
                                "Channeltype: IAX2\r\n"
-                               "ChanObjectType: peer\r\n"
                                "ObjectName: %s\r\n"
                                "ObjectName: %s\r\n"
+                               "ChanObjectType: peer\r\n"
                                "IPaddress: %s\r\n"
                                "IPport: %d\r\n"
                                "Dynamic: %s\r\n"
                                "IPaddress: %s\r\n"
                                "IPport: %d\r\n"
                                "Dynamic: %s\r\n"