diff options
author | Kinsey Moore <kmoore@digium.com> | 2011-08-31 15:20:21 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2011-08-31 15:20:21 +0000 |
commit | 82229cc690948faf7fd86f8e6ff3743012ee2e57 (patch) | |
tree | 628ead6be7a815cd243f98d7cf77082fe8596230 | |
parent | 7914527929b5d87d18465b4c35ab93bec33f346a (diff) |
Merged revisions 334007 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10
................
r334007 | kmoore | 2011-08-31 10:19:30 -0500 (Wed, 31 Aug 2011) | 14 lines
Merged revisions 334006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r334006 | kmoore | 2011-08-31 10:18:37 -0500 (Wed, 31 Aug 2011) | 7 lines
Correct an AMI protocol violation with SIPshowpeer
The response of SIPshowpeer ends with "\r\n\r\n". Since other commands are
ended by using \r\n this confuses any interfacing script.
(closes issue ASTERISK-17486)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@334008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6d5d008ef..46aaca2b7 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -17173,7 +17173,7 @@ static int manager_sip_show_peer(struct mansession *s, const struct message *m) a[3] = peer; _sip_show_peer(1, -1, s, m, 4, a); - astman_append(s, "\r\n\r\n" ); + astman_append(s, "\r\n" ); return 0; } |