Вторник (03/29/16)

/dev/pts/2
13:27:53
$sudo asterisk -r
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on asterisk4 (pid = 442)
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
0 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 0 offline]
asterisk4*CLI> sip reload
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
1402                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 2 offline]
[Mar 29 14:38:33] NOTICE[477]: chan_sip.c:28066 handle_request_register: Registration from '"1401" <sip:1401@192.168.40.2>' failed for '192.168.40.201:5060' - Wrong password
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
1402                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 0 online, 2 offline]
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402                      (Unspecified)                            D  Auto (No)  No             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
[Mar 29 14:47:14] NOTICE[477]: chan_sip.c:28066 handle_request_register: Registration from '<sip:Vitebsk-note@192.168.40.2>' failed for '192.168.40.202:5060' - Wrong password
[Mar 29 14:47:23] NOTICE[477]: chan_sip.c:28066 handle_request_register: Registration from '<sip:Vitebsk-note@192.168.40.2>' failed for '192.168.40.202:5060' - Wrong password
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402/1402                 192.168.40.202                           D  Auto (No)  No             5060     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402/1402                 192.168.40.202                           D  Auto (No)  No             5060     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
[Mar 29 14:49:26] NOTICE[477][C-00000000]: chan_sip.c:25628 handle_request_invite: Call from '1402' (192.168.40.202:5060) to extension '1402' rejected because extension not found in context 'default'.
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402/1402                 192.168.40.202                           D  Auto (No)  No             5060     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
asterisk4*CLI> sip show peers
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
1401/1401                 192.168.40.201                           D  Auto (No)  No             5060     Unmonitored
1402/1402                 192.168.40.202                           D  Auto (No)  No             5060     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
asterisk4*CLI> exit
Asterisk cleanly ending (0).
Executing last minute cleanups