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

/dev/pts/3
08:53:32
#asterisk -rv
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 debian6 (pid = 6128)
Verbosity is at least 3
debian6*CLI> show peers
No such command 'show peers' (type 'core show help show peers' for other possible commands)
debian6*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2301/2301                  192.168.12.204                           D   N             5060     Unmonitored
2302/2302                  (Unspecified)                            D   N             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
debian6*CLI> dialplan reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf':   == Found
    -- Registered extension context 'default'; registrar: pbx_config
    -- Added extension '_23XX' 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 '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
    -- Registered extension context 'ael-dundi-e164-canonical'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-canonical) to new(ael-dundi-e164-canonical) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-customers'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-customers) to new(ael-dundi-e164-customers) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-via-pstn'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-via-pstn) to new(ael-dundi-e164-via-pstn) context, registrar = pbx_config
    -- Registered extension context 'ael-dundi-e164-local'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-local) to new(ael-dundi-e164-local) context, registrar = pbx_config
    -- Including context 'ael-dundi-e164-canonical' in context 'ael-dundi-e164-local'
    -- Including context 'ael-dundi-e164-customers' in context 'ael-dundi-e164-local'
    -- Including context 'ael-dundi-e164-via-pstn' in context 'ael-dundi-e164-local'
    -- Registered extension context 'ael-dundi-e164-switch'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-switch) to new(ael-dundi-e164-switch) context, registrar = pbx_config
    -- Including switch 'DUNDi/e164' in context 'ael-dundi-e164-switch'
    -- Registered extension context 'ael-dundi-e164-lookup'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164-lookup) to new(ael-dundi-e164-lookup) context, registrar = pbx_config
    -- Including context 'ael-dundi-e164-local' in context 'ael-dundi-e164-lookup'
    -- Including context 'ael-dundi-e164-switch' in context 'ael-dundi-e164-lookup'
    -- Registered extension context 'ael-dundi-e164'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164) to new(ael-dundi-e164) context, registrar = pbx_config
    -- Including context 'ael-builtin-h-bubble' in context 'ael-dundi-e164'
    -- Added extension '~~s~~' priority 1 to ael-dundi-e164
    -- Added extension '~~s~~' priority 2 to ael-dundi-e164
    -- Added extension '~~s~~' priority 3 to ael-dundi-e164
    -- Registered extension context 'ael-iaxtel700'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-iaxtel700) to new(ael-iaxtel700) context, registrar = pbx_config
    -- Added extension '_91700XXXXXXX' priority 1 to ael-iaxtel700
    -- Registered extension context 'ael-iaxprovider'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-iaxprovider) to new(ael-iaxprovider) context, registrar = pbx_config
    -- Registered extension context 'ael-trunkint'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-trunkint) to new(ael-trunkint) context, registrar = pbx_config
    -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkint'
    -- Added extension '_9011.' priority 1 to ael-trunkint
    -- Added extension '_9011.' priority 2 to ael-trunkint
    -- Registered extension context 'ael-trunkld'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-trunkld) to new(ael-trunkld) context, registrar = pbx_config
    -- Including context 'ael-dundi-e164-lookup' in context 'ael-trunkld'
    -- Added extension '_91NXXNXXXXXX' priority 1 to ael-trunkld
    -- Added extension '_91NXXNXXXXXX' priority 2 to ael-trunkld
    -- Registered extension context 'ael-trunklocal'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-trunklocal) to new(ael-trunklocal) context, registrar = pbx_config
    -- Added extension '_9NXXXXXX' priority 1 to ael-trunklocal
    -- Registered extension context 'ael-trunktollfree'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-trunktollfree) to new(ael-trunktollfree) context, registrar = pbx_config
    -- Added extension '_91800NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91888NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91877NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91866NXXXXXX' priority 1 to ael-trunktollfree
    -- Registered extension context 'ael-international'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-international) to new(ael-international) context, registrar = pbx_config
    -- Including context 'ael-longdistance' in context 'ael-international'
    -- Including context 'ael-trunkint' in context 'ael-international'
    -- Registered extension context 'ael-longdistance'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-longdistance) to new(ael-longdistance) context, registrar = pbx_config
    -- Including context 'ael-local' in context 'ael-longdistance'
    -- Including context 'ael-trunkld' in context 'ael-longdistance'
    -- Registered extension context 'ael-local'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-local) to new(ael-local) context, registrar = pbx_config
    -- Including context 'ael-default' in context 'ael-local'
    -- Including context 'ael-trunklocal' in context 'ael-local'
    -- Including context 'ael-iaxtel700' in context 'ael-local'
    -- Including context 'ael-trunktollfree' in context 'ael-local'
    -- Including context 'ael-iaxprovider' in context 'ael-local'
    -- Registered extension context 'ael-std-exten-ael'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-std-exten-ael) to new(ael-std-exten-ael) context, registrar = pbx_config
    -- Including context 'ael-builtin-h-bubble' in context 'ael-std-exten-ael'
    -- Added extension '~~s~~' priority 1 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 2 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 3 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 4 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 5 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 6 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 7 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 8 to ael-std-exten-ael
    -- Added extension 'a' priority 1 to ael-std-exten-ael
    -- Added extension 'a' priority 2 to ael-std-exten-ael
    -- Added extension '_sw_1_.' priority 10 to ael-std-exten-ael
    -- Added extension '_sw_1_.' priority 11 to ael-std-exten-ael
    -- Added extension 'sw_1_' priority 10 to ael-std-exten-ael
    -- Added extension 'sw_1_BUSY' priority 10 to ael-std-exten-ael
    -- Added extension 'sw_1_BUSY' priority 11 to ael-std-exten-ael
    -- Registered extension context 'ael-demo'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-demo) to new(ael-demo) context, registrar = pbx_config
    -- Added extension 's' priority 1 to ael-demo
    -- Added extension 's' priority 2 to ael-demo
    -- Added extension 's' priority 3 to ael-demo
    -- Added extension 's' priority 4 to ael-demo
    -- Added extension 's' priority 5 to ael-demo
    -- Added extension 's' priority 6 to ael-demo
    -- Added extension 's' priority 7 to ael-demo
    -- Added extension 's' priority 8 to ael-demo
    -- Added extension 's' priority 9 to ael-demo
    -- Added extension 's' priority 10 to ael-demo
    -- Added extension 's' priority 11 to ael-demo
    -- Added extension 's' priority 12 to ael-demo
    -- Added extension '2' priority 1 to ael-demo
    -- Added extension '2' priority 2 to ael-demo
    -- Added extension '3' priority 1 to ael-demo
    -- Added extension '3' priority 2 to ael-demo
    -- Added extension '1000' priority 1 to ael-demo
    -- Added extension '500' priority 1 to ael-demo
    -- Added extension '500' priority 2 to ael-demo
    -- Added extension '500' priority 3 to ael-demo
    -- Added extension '500' priority 4 to ael-demo
    -- Added extension '600' priority 1 to ael-demo
    -- Added extension '600' priority 2 to ael-demo
    -- Added extension '600' priority 3 to ael-demo
    -- Added extension '600' priority 4 to ael-demo
    -- Added extension '_1234' priority 1 to ael-demo
    -- Added extension '8500' priority 1 to ael-demo
    -- Added extension '8500' priority 2 to ael-demo
    -- Added extension '#' priority 1 to ael-demo
    -- Added extension '#' priority 2 to ael-demo
    -- Added extension 't' priority 1 to ael-demo
    -- Added extension 'i' priority 1 to ael-demo
    -- Registered extension context 'ael-default'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-default) to new(ael-default) context, registrar = pbx_config
    -- Including context 'ael-demo' in context 'ael-default'
    -- Registered extension context 'ael-builtin-h-bubble'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-builtin-h-bubble) to new(ael-builtin-h-bubble) context, registrar = pbx_config
    -- Added extension 'h' priority 1 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9991 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9992 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9993 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9994 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9995 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9996 to ael-builtin-h-bubble
    -- 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
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000745 sec
    -- Time to restore hints and swap in new dialplan: 0.000002 sec
    -- Time to delete the old dialplan: 0.000039 sec
    -- Total time merge_contexts_delete: 0.000786 sec
debian6*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2301/2301                  192.168.12.204                           D   N             5060     Unmonitored
2302/2302                  (Unspecified)                            D   N             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
debian6*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2301/2301                  192.168.12.204                           D   N             5060     Unmonitored
2302/2302                  (Unspecified)                            D   N             0        Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 1 offline]
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- Registered SIP '2302' at 192.168.12.106:5060
debian6*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
2301/2301                  192.168.12.204                           D   N             5060     Unmonitored
2302/2302                  192.168.12.106                           D   N             5060     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
  == Using SIP RTP CoS mark 5
    -- Executing [2301@default:1] Dial("SIP/2302-00000006", "SIP/2301") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/2301
    -- SIP/2301-00000007 is ringing
    -- SIP/2301-00000007 answered SIP/2302-00000006
    -- Remotely bridging SIP/2302-00000006 and SIP/2301-00000007
  == Spawn extension (default, 2301, 1) exited non-zero on 'SIP/2302-00000006'
debian6*CLI> quit
Executing last minute cleanups