#asterisk -rx 'sip show peers
asterisk -r
asterisk -rx 'sip show peers'
cat /etc/asterisk/extensions.conf
cat /etc/asterisk/extensions.conf
grep default /etc/asterisk/sip.conf
context=default
йгшейгше
quit
how sip peers'
exit
quit
exit
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.
=========================================================================
Connected to Asterisk 1.8.13.1~dfsg1-3+deb7u3 currently running on debian2 (pid = 12293)
debian2*CLI> dialplan reload
Dialplan reloaded.
[Nov 24 18:19:02] NOTICE[12316]: chan_sip.c:22753 handle_request_invite: Call from '1202' (192.168.20.101:35122) to extension '1201' rejected because extension not found in context 'default'.
debian2*CLI> quit