Вторник (04/22/14)

/dev/pts/1
15:48:39
#asterisk -rvvv
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 debian (pid = 16994)
Verbosity is at least 4
debian*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
3101/3101                  192.168.12.201                           D   N             5060     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
[Apr 22 16:54:22] NOTICE[17032]: chan_sip.c:25030 handle_request_register: Registration from 'sip:3102@192.168.12.7' failed for '192.168.12.107:5060' - Wrong password
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
debian*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
  == Using SIP CoS mark 4
  == Parsing '/etc/asterisk/sip_notify.conf':   == Found
    -- Registered SIP '3102' at 192.168.12.107:5060
       > Saved useragent "Linphone/3.7.0 (belle-sip/1.3.0)" for peer 3102
debian*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
3101/3101                  192.168.12.201                           D   N             5060     Unmonitored
3102/3102                  192.168.12.107                           D   N             5060     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
  == Using SIP RTP CoS mark 5
[Apr 22 16:55:12] NOTICE[17032]: chan_sip.c:22753 handle_request_invite: Call from '3101' (192.168.12.201:5060) to extension '3102' rejected because extension not found in context 'default'.
  == Using SIP RTP CoS mark 5
[Apr 22 16:55:37] NOTICE[17032]: chan_sip.c:22753 handle_request_invite: Call from '3102' (192.168.12.107:5060) to extension '3101' rejected because extension not found in context 'default'.
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
debian*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
3101/3101                  192.168.12.201                           D   N             5060     Unmonitored
3102/3102                  192.168.12.107                           D   N             5060     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
debian*CLI> quit
Executing last minute cleanups