AMI response without \r\n\r\n division

Hi all,

I got confused and asked for this at the Asterisk General forum… I guess this is a better place.

I’m having some trouble with the AMI messages. When I introduce the command “action:SIPPeers” I get all the sip peers in one message, I mean, with no dividing “/r/n/r/n” between the peers.

action:SIPPeers

Response: Success
EventList: start
Message: Peer status list will follow

Event: PeerEntry
Channeltype: SIP
ObjectName: PEER1
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: UNKNOWN
RealtimeDevice: no
Event: PeerEntry
Channeltype: SIP
ObjectName: PEER2
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: UNKNOWN
RealtimeDevice: no
Event: PeerEntry
Channeltype: SIP
ObjectName: PEER3
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: UNKNOWN
RealtimeDevice: no
Event: PeerEntry
Channeltype: SIP
ObjectName: PEER4
ChanObjectType: peer
IPaddress: 192.168.102.62
IPport: 5060
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: OK (29 ms)
RealtimeDevice: no
Event: PeerEntry
Channeltype: SIP
ObjectName: PEER5
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: UNKNOWN
RealtimeDevice: no
Event: PeerEntry
Channeltype: SIP
ObjectName: PEER6
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: UNKNOWN
RealtimeDevice: no
Event: PeerEntry
Channeltype: SIP
ObjectName: PEER7
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: UNKNOWN
RealtimeDevice: no
Event: PeerEntry
Channeltype: SIP
ObjectName: PEER8
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: UNKNOWN
RealtimeDevice: no
Event: PeerEntry
Channeltype: SIP
ObjectName: PEER9
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: UNKNOWN
RealtimeDevice: no
Event: PeerEntry
Channeltype: SIP
ObjectName: PEER10
ChanObjectType: peer
IPaddress: -none-
IPport: 0
Dynamic: yes
Forcerport: no
VideoSupport: no
TextSupport: no
ACL: no
Status: UNKNOWN
RealtimeDevice: no
Event: PeerlistComplete
EventList: Complete
ListItems: 10

Why is this happening? This started happening suddenly but I don’t remember changing anything… :frowning:

Any help will be much appreciated,

Thank you!

Ben.

I’ve upgraded my asterisk version and the problem has gone.

Looks as a bug for asterisk version 1.8.23.1.

Thank you.