Среда (04/23/14)

/dev/pts/2
10:55:29
#asterisk -rcvvvvvvvvvvv
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 = 2628)
Verbosity is at least 16
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.206                           D   N             5060     Unmonitored
1303                       (Unspecified)                            D   N             0        Unmonitored
frankfurt/berlin           192.168.12.6                             D   N             5060     Unmonitored
4 sip peers [Monitored: 0 online, 0 offline Unmonitored: 3 online, 1 offline]
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
aster-3*CLI> sip show users
Username                   Secret           Accountcode      Def.Context      ACL  ForcerPort
1303                       1234                              default          No   Yes
1302                       1234                              default          No   Yes
1301                       1234                              default          No   Yes
frankfurt                  1234                              default          No   Yes
aster-3*CLI> dialplan reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf':   == Found
    -- Registered extension context 'default'; registrar: pbx_config
    -- Added extension '_13XX' priority 1 to default
  == Parsing '/etc/asterisk/users.conf':   == Found
    -- Registered extension context 'app_queue_gosub_virtual_context'; registrar: app_queue
    -- merging incls/swits/igpats from old(app_queue_gosub_virtual_context) to new(app_queue_gosub_virtual_context) context, registrar = pbx_config
    -- Added extension 's' priority 1 to app_queue_gosub_virtual_context
    -- Registered extension context 'parkedcalls'; registrar: features
    -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config
    -- Added extension '700' priority 1 to parkedcalls
    -- Registered extension context 'app_dial_gosub_virtual_context'; registrar: app_dial
    -- merging incls/swits/igpats from old(app_dial_gosub_virtual_context) to new(app_dial_gosub_virtual_context) context, registrar = pbx_config
    -- Added extension 's' priority 1 to app_dial_gosub_virtual_context
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000057 sec
    -- Time to restore hints and swap in new dialplan: 0.000002 sec
    -- Time to delete the old dialplan: 0.000007 sec
    -- Total time merge_contexts_delete: 0.000066 sec
aster-3*CLI> dialplan show
[ Context 'app_dial_gosub_virtual_context' created by 'app_dial' ]
  's' =>            1. NoOp()                                     [app_dial]
[ Context 'parkedcalls' created by 'features' ]
  '700' =>          1. Park()                                     [features]
[ Context 'app_queue_gosub_virtual_context' created by 'app_queue' ]
  's' =>            1. NoOp()                                     [app_queue]
[ Context 'default' created by 'pbx_config' ]
  '_13XX' =>        1. Dial(SIP/${EXTEN})                         [pbx_config]
-= 4 extensions (4 priorities) in 4 contexts. =-
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
aster-3*CLI> sip reload
 Reloading SIP
aster-3*CLI> exit
Executing last minute cleanups
Asterisk cleanly ending (0).