Fix formatting of AMI header for SIP show peer.
[asterisk/asterisk.git] / channels / chan_sip.c
index 05af4f3..a35c02f 100644 (file)
@@ -17583,8 +17583,8 @@ static char *_sip_show_peer(int type, int fd, struct mansession *s, const struct
                                astman_append(s, "ChanVariable: %s=%s\r\n", v->name, v->value);
                        }
                }
-               astman_append(s, "SIP-Use-Reason-Header : %s\r\n", (ast_test_flag(&peer->flags[1], SIP_PAGE2_Q850_REASON)) ? "Y" : "N");
-               astman_append(s, "Description : %s\r\n", peer->description);
+               astman_append(s, "SIP-Use-Reason-Header: %s\r\n", (ast_test_flag(&peer->flags[1], SIP_PAGE2_Q850_REASON)) ? "Y" : "N");
+               astman_append(s, "Description: %s\r\n", peer->description);
 
                peer = sip_unref_peer(peer, "sip_show_peer: sip_unref_peer: done with peer");