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

/dev/pts/3
13:48:03
#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 debian2 (pid = 3773)
Verbosity is at least 999
  == Using SIP RTP CoS mark 5
[Apr 23 14:48:09] NOTICE[3796]: chan_sip.c:22753 handle_request_invite: Call from 'kiev' (192.168.12.3:5060) to extension '1102' rejected because extension not found in context 'gr_relay'.
debian2*CLI> dialplan reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf':   == Found
    -- Registered extension context 'default'; registrar: pbx_config
    -- Registered extension context 'internal'; registrar: pbx_config
    -- Registered extension context 'local'; registrar: pbx_config
    -- Added extension '_12XX' priority 1 to local
    -- Registered extension context 'national'; registrar: pbx_config
    -- Added extension '_11XX' priority 1 to national
    -- Registered extension context 'international'; registrar: pbx_config
    -- Added extension '_3[12]XX' priority 1 to international
    -- Added extension '_2XXX' priority 1 to international
    -- Added extension '_33XX' priority 1 to international
    -- Added extension '_13XX' priority 1 to international
    -- Registered extension context 'gr_relay'; registrar: pbx_config
    -- Including context 'internal' in context 'gr_relay'
    -- Including context 'local' in context 'gr_relay'
    -- Including context 'national' in context 'gr_relay'
    -- Including context 'international' in context 'gr_relay'
    -- Registered extension context 'gr1'; registrar: pbx_config
    -- Including context 'internal' in context 'gr1'
    -- Including context 'local' in context 'gr1'
    -- Including context 'national' in context 'gr1'
    -- Including context 'international' in context 'gr1'
    -- Registered extension context 'gr2'; registrar: pbx_config
    -- Including context 'internal' in context 'gr2'
    -- Including context 'local' in context 'gr2'
    -- Including context 'national' in context 'gr2'
    -- Registered extension context 'gr3'; registrar: pbx_config
    -- Including context 'internal' in context 'gr3'
    -- Including context 'local' in context 'gr3'
  == Parsing '/etc/asterisk/users.conf':   == Found
    -- 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 '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 9996 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9995 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9994 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9993 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9992 to ael-builtin-h-bubble
    -- Added extension 'h' priority 9991 to ael-builtin-h-bubble
    -- Added extension 'h' priority 1 to ael-builtin-h-bubble
    -- 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-demo'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-demo) to new(ael-demo) context, registrar = pbx_config
    -- Added extension 'i' priority 1 to ael-demo
    -- Added extension 't' priority 1 to ael-demo
    -- Added extension '#' priority 2 to ael-demo
    -- Added extension '#' priority 1 to ael-demo
    -- Added extension '8500' priority 2 to ael-demo
    -- Added extension '8500' priority 1 to ael-demo
    -- Added extension '_1234' priority 1 to ael-demo
    -- Added extension '600' priority 4 to ael-demo
    -- Added extension '600' priority 3 to ael-demo
    -- Added extension '600' priority 2 to ael-demo
    -- Added extension '600' priority 1 to ael-demo
    -- Added extension '500' priority 4 to ael-demo
    -- Added extension '500' priority 3 to ael-demo
    -- Added extension '500' priority 2 to ael-demo
    -- Added extension '500' priority 1 to ael-demo
    -- Added extension '1000' priority 1 to ael-demo
    -- Added extension '3' priority 2 to ael-demo
    -- Added extension '3' priority 1 to ael-demo
    -- Added extension '2' priority 2 to ael-demo
    -- Added extension '2' priority 1 to ael-demo
    -- Added extension 's' priority 12 to ael-demo
    -- Added extension 's' priority 11 to ael-demo
    -- Added extension 's' priority 10 to ael-demo
    -- Added extension 's' priority 9 to ael-demo
    -- Added extension 's' priority 8 to ael-demo
    -- Added extension 's' priority 7 to ael-demo
    -- Added extension 's' priority 6 to ael-demo
    -- Added extension 's' priority 5 to ael-demo
    -- Added extension 's' priority 4 to ael-demo
    -- Added extension 's' priority 3 to ael-demo
    -- Added extension 's' priority 2 to ael-demo
    -- Added extension 's' priority 1 to ael-demo
    -- 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 'sw_1_BUSY' priority 11 to ael-std-exten-ael
    -- Added extension 'sw_1_BUSY' priority 10 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 'a' priority 2 to ael-std-exten-ael
    -- Added extension 'a' priority 1 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 8 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 7 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 6 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 5 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 4 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 3 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 2 to ael-std-exten-ael
    -- Added extension '~~s~~' priority 1 to ael-std-exten-ael
    -- 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-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-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-trunktollfree'; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-trunktollfree) to new(ael-trunktollfree) context, registrar = pbx_config
    -- Added extension '_91866NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91877NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91888NXXXXXX' priority 1 to ael-trunktollfree
    -- Added extension '_91800NXXXXXX' priority 1 to ael-trunktollfree
    -- 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-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 2 to ael-trunkld
    -- Added extension '_91NXXNXXXXXX' priority 1 to ael-trunkld
    -- 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 2 to ael-trunkint
    -- Added extension '_9011.' priority 1 to ael-trunkint
    -- 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-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-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 3 to ael-dundi-e164
    -- Added extension '~~s~~' priority 2 to ael-dundi-e164
    -- Added extension '~~s~~' priority 1 to ael-dundi-e164
    -- 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-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-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-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-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-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 '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 '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
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001538 sec
    -- Time to restore hints and swap in new dialplan: 0.000003 sec
    -- Time to delete the old dialplan: 0.000068 sec
    -- Total time merge_contexts_delete: 0.001609 sec
debian2*CLI>
debian2*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing [2101@gr1:1] Dial("SIP/1201-0000014c", "SIP/berlin/2101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/berlin/2101
    -- Got SIP response 503 "Service Unavailable" back from 192.168.12.3:5060
    -- SIP/berlin-0000014d is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Auto fallthrough, channel 'SIP/1201-0000014c' status is 'CONGESTION'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@gr1:1] Dial("SIP/1201-0000014e", "SIP/havana/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/havana/3101
    -- SIP/havana-0000014f is ringing
  == Spawn extension (gr1, 3101, 1) exited non-zero on 'SIP/1201-0000014e'
debian2*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
1201/1201                  192.168.12.208                           D   N             5060     Unmonitored
1202/1202                  192.168.12.102                           D   N             5060     Unmonitored
1203                       (Unspecified)                            D   N             0        Unmonitored
berlin/kiev                192.168.12.3                             D   N             5060     Unmonitored
havana/kiev                192.168.12.7                             D   N             5060     Unmonitored
nikolaev/kiev              192.168.12.1                             D   N             5060     Unmonitored
6 sip peers [Monitored: 0 online, 0 offline Unmonitored: 5 online, 1 offline]
  == Using SIP RTP CoS mark 5
    -- Executing [1101@gr_relay:1] Dial("SIP/berlin-00000150", "SIP/nikolaev/1101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/nikolaev/1101
    -- SIP/nikolaev-00000151 is ringing
  == Spawn extension (gr_relay, 1101, 1) exited non-zero on 'SIP/berlin-00000150'
  == Using SIP RTP CoS mark 5
    -- Executing [1201@gr_relay:1] Dial("SIP/berlin-00000152", "SIP/1201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/1201
    -- SIP/1201-00000153 is ringing
    -- SIP/1201-00000153 answered SIP/berlin-00000152
    -- Locally bridging SIP/berlin-00000152 and SIP/1201-00000153
  == Spawn extension (gr_relay, 1201, 1) exited non-zero on 'SIP/berlin-00000152'
  == Using SIP RTP CoS mark 5
    -- Executing [1201@gr_relay:1] Dial("SIP/berlin-00000154", "SIP/1201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/1201
    -- Got SIP response 486 "Busy Here" back from 192.168.12.208:5060
    -- SIP/1201-00000155 is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Auto fallthrough, channel 'SIP/berlin-00000154' status is 'BUSY'
  == Using SIP RTP CoS mark 5
    -- Executing [2201@gr1:1] Dial("SIP/1201-00000156", "SIP/berlin/2201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/berlin/2201
    -- SIP/berlin-00000157 answered SIP/1201-00000156
    -- Locally bridging SIP/1201-00000156 and SIP/berlin-00000157
  == Using SIP RTP CoS mark 5
    -- Executing [1201@gr_relay:1] Dial("SIP/berlin-00000158", "SIP/1201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/1201
    -- SIP/1201-00000159 is ringing
  == Spawn extension (gr1, 2201, 1) exited non-zero on 'SIP/1201-00000156'
  == Spawn extension (gr_relay, 1201, 1) exited non-zero on 'SIP/berlin-00000158'
  == Using SIP RTP CoS mark 5
    -- Executing [1201@gr_relay:1] Dial("SIP/berlin-0000015a", "SIP/1201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/1201
    -- SIP/1201-0000015b is ringing
    -- SIP/1201-0000015b answered SIP/berlin-0000015a
    -- Locally bridging SIP/berlin-0000015a and SIP/1201-0000015b
  == Spawn extension (gr_relay, 1201, 1) exited non-zero on 'SIP/berlin-0000015a'
  == Using SIP RTP CoS mark 5
    -- Executing [1201@gr_relay:1] Dial("SIP/havana-0000015c", "SIP/1201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/1201
    -- SIP/1201-0000015d is ringing
  == Spawn extension (gr_relay, 1201, 1) exited non-zero on 'SIP/havana-0000015c'
  == Using SIP RTP CoS mark 5
    -- Executing [1101@gr_relay:1] Dial("SIP/berlin-0000015e", "SIP/nikolaev/1101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/nikolaev/1101
    -- Got SIP response 486 "Busy Here" back from 192.168.12.1:5060
    -- SIP/nikolaev-0000015f is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Auto fallthrough, channel 'SIP/berlin-0000015e' status is 'BUSY'
  == Using SIP RTP CoS mark 5
    -- Executing [1101@gr_relay:1] Dial("SIP/berlin-00000160", "SIP/nikolaev/1101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/nikolaev/1101
    -- SIP/nikolaev-00000161 is ringing
  == Using SIP RTP CoS mark 5
    -- Executing [3301@gr_relay:1] Dial("SIP/havana-00000162", "SIP/berlin/3301") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/berlin/3301
    -- SIP/berlin-00000163 is ringing
    -- SIP/nikolaev-00000161 answered SIP/berlin-00000160
    -- Locally bridging SIP/berlin-00000160 and SIP/nikolaev-00000161
    -- SIP/berlin-00000163 answered SIP/havana-00000162
    -- Locally bridging SIP/havana-00000162 and SIP/berlin-00000163
  == Spawn extension (gr_relay, 3301, 1) exited non-zero on 'SIP/havana-00000162'
  == Spawn extension (gr_relay, 1101, 1) exited non-zero on 'SIP/berlin-00000160'
  == Using SIP RTP CoS mark 5
    -- Executing [2201@gr_relay:1] Dial("SIP/nikolaev-00000164", "SIP/berlin/2201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/berlin/2201
    -- SIP/berlin-00000165 answered SIP/nikolaev-00000164
    -- Locally bridging SIP/nikolaev-00000164 and SIP/berlin-00000165
  == Spawn extension (gr_relay, 2201, 1) exited non-zero on 'SIP/nikolaev-00000164'
  == Using SIP RTP CoS mark 5
[Apr 23 14:50:05] NOTICE[3796]: chan_sip.c:22753 handle_request_invite: Call from '1202' (192.168.12.102:5060) to extension '1101' rejected because extension not found in context 'gr3'.
debian2*CLI> quit
Executing last minute cleanups