#asterisk -rcvvvvvvvvvvvvvvv
Asterisk 1.8.13.1~dfsg1-3+deb7u3, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': == Found
== Parsing '/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on aster-3 (pid = 15970)
Verbosity was 0 and is now 15
aster-3*CLI> core show peers
No such command 'core show peers' (type 'core show help core show peers' for other possible commands)
aster-3*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
1301/1301 192.168.12.103 D N 5060 Unmonitored
1302/1302 192.168.12.33 D N 5060 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
aster-3*CLI> sip show peers
Name/username Host Dyn Forcerport ACL Port Status
1301/1301 192.168.12.103 D N 5060 Unmonitored
1302/1302 192.168.12.33 D N 5060 Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
aster-3*CLI> exitip addr show
Disconnected from Asterisk server
Executing last minute cleanups
Asterisk cleanly ending (0).