Вторник (06/28/11)

/dev/pts/1
11:50:58
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, Copyright (C) 1999 - 2010 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.6.2.9-2+squeeze2 currently running on linux4 (pid = 5583)
Verbosity is at least 3
linux4*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
  == Parsing '/etc/asterisk/sip_notify.conf':   == Found
linux4*CLI> dialplan reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf':   == Found
    -- Registered extension context 'default' (0x2175ea0) in local table 0x2144780; registrar: pbx_config
    -- Registered extension context 'internal' (0x2175f60) in local table 0x2144780; registrar: pbx_config
    -- Added extension '8000' priority 1 to internal (0x2175f60)
    -- Registered extension context 'local' (0x21701e0) in local table 0x2144780; registrar: pbx_config
    -- Added extension '_22XX' priority 1 to local (0x21701e0)
    -- Added extension '_22XX' priority 2 to local (0x21701e0)
    -- Registered extension context 'national' (0x7fa4cc0abdc0) in local table 0x2144780; registrar: pbx_config
    -- Added extension '_21XX' priority 1 to national (0x7fa4cc0abdc0)
    -- Added extension '_21XX' priority 2 to national (0x7fa4cc0abdc0)
    -- Registered extension context 'international' (0x21675f0) in local table 0x2144780; registrar: pbx_config
    -- Added extension '_11XX' priority 1 to international (0x21675f0)
    -- Added extension '_12XX' priority 1 to international (0x21675f0)
    -- Added extension '_31XX' priority 1 to international (0x21675f0)
    -- Added extension '_32XX' priority 1 to international (0x21675f0)
    -- Registered extension context 'gr1' (0x216f900) in local table 0x2144780; registrar: pbx_config
    -- Including context 'local' in context 'gr1'
    -- Including context 'internal' in context 'gr1'
    -- Registered extension context 'gr2' (0x216fb00) in local table 0x2144780; registrar: pbx_config
    -- Including context 'local' in context 'gr2'
    -- Including context 'internal' in context 'gr2'
    -- Including context 'national' in context 'gr2'
    -- Registered extension context 'gr3' (0x7fa4cc050410) in local table 0x2144780; registrar: pbx_config
    -- Including context 'local' in context 'gr3'
    -- Including context 'national' in context 'gr3'
    -- Including context 'international' in context 'gr3'
    -- Including context 'internal' in context 'gr3'
    -- Registered extension context 'gr4' (0x7fa4cc050330) in local table 0x2144780; registrar: pbx_config
    -- Including context 'local' in context 'gr4'
    -- Including context 'national' in context 'gr4'
    -- Including context 'international' in context 'gr4'
  == Parsing '/etc/asterisk/users.conf':   == Found
    -- Registered extension context 'parkedcalls' (0x7fa4cc0a7980) in local table 0x2144780; registrar: features
    -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config
    -- Added extension '700' priority 1 to parkedcalls (0x7fa4cc0a7980)
    -- Registered extension context 'app_queue_gosub_virtual_context' (0x216f6c0) in local table 0x2144780; 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 (0x216f6c0)
    -- Registered extension context 'ael-default' (0x7fa4cc0a8640) in local table 0x2144780; 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' (0x7fa4cc0a8740) in local table 0x2144780; 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 (0x7fa4cc0a8740)
    -- Added extension 't' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '#' priority 2 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '#' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '8500' priority 2 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '8500' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '_1234' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '600' priority 4 to ael-demo (0x7fa4cc0a8740)
   -- Added extension '600' priority 3 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '600' priority 2 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '600' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '500' priority 4 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '500' priority 3 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '500' priority 2 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '500' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '1000' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '3' priority 2 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '3' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '2' priority 2 to ael-demo (0x7fa4cc0a8740)
    -- Added extension '2' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 12 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 11 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 10 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 9 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 8 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 7 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 6 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 5 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 4 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 3 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 2 to ael-demo (0x7fa4cc0a8740)
    -- Added extension 's' priority 1 to ael-demo (0x7fa4cc0a8740)
    -- Registered extension context 'ael-std-exten-ael' (0x216cce0) in local table 0x2144780; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-std-exten-ael) to new(ael-std-exten-ael) context, registrar = pbx_config
    -- Added extension 'sw-1-BUSY' priority 11 to ael-std-exten-ael (0x216cce0)
    -- Added extension 'sw-1-BUSY' priority 10 to ael-std-exten-ael (0x216cce0)
    -- Added extension 'sw-1-' priority 10 to ael-std-exten-ael (0x216cce0)
    -- Added extension '_sw-1-.' priority 11 to ael-std-exten-ael (0x216cce0)
    -- Added extension '_sw-1-.' priority 10 to ael-std-exten-ael (0x216cce0)
    -- Added extension 'a' priority 2 to ael-std-exten-ael (0x216cce0)
    -- Added extension 'a' priority 1 to ael-std-exten-ael (0x216cce0)
    -- Added extension 's' priority 8 to ael-std-exten-ael (0x216cce0)
    -- Added extension 's' priority 7 to ael-std-exten-ael (0x216cce0)
    -- Added extension 's' priority 6 to ael-std-exten-ael (0x216cce0)
    -- Added extension 's' priority 5 to ael-std-exten-ael (0x216cce0)
    -- Added extension 's' priority 4 to ael-std-exten-ael (0x216cce0)
    -- Added extension 's' priority 3 to ael-std-exten-ael (0x216cce0)
    -- Added extension 's' priority 2 to ael-std-exten-ael (0x216cce0)
    -- Added extension 's' priority 1 to ael-std-exten-ael (0x216cce0)
    -- Registered extension context 'ael-local' (0x217bfd0) in local table 0x2144780; 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' (0x7fa4cc0516b0) in local table 0x2144780; 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' (0x7fa4cc051220) in local table 0x2144780; 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' (0x217bbd0) in local table 0x2144780; 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 (0x217bbd0)
    -- Added extension '_91877NXXXXXX' priority 1 to ael-trunktollfree (0x217bbd0)
    -- Added extension '_91888NXXXXXX' priority 1 to ael-trunktollfree (0x217bbd0)
    -- Added extension '_91800NXXXXXX' priority 1 to ael-trunktollfree (0x217bbd0)
    -- Registered extension context 'ael-trunklocal' (0x7fa4cc0520b0) in local table 0x2144780; 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 (0x7fa4cc0520b0)
    -- Registered extension context 'ael-trunkld' (0x216b6c0) in local table 0x2144780; 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 (0x216b6c0)
    -- Added extension '_91NXXNXXXXXX' priority 1 to ael-trunkld (0x216b6c0)
    -- Registered extension context 'ael-trunkint' (0x216b5e0) in local table 0x2144780; 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 (0x216b5e0)
    -- Added extension '_9011.' priority 1 to ael-trunkint (0x216b5e0)
    -- Registered extension context 'ael-iaxprovider' (0x216b8d0) in local table 0x2144780; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-iaxprovider) to new(ael-iaxprovider) context, registrar = pbx_config
    -- Registered extension context 'ael-iaxtel700' (0x216c070) in local table 0x2144780; 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 (0x216c070)
    -- Registered extension context 'ael-dundi-e164' (0x216bf60) in local table 0x2144780; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-dundi-e164) to new(ael-dundi-e164) context, registrar = pbx_config
    -- Added extension 's' priority 3 to ael-dundi-e164 (0x216bf60)
    -- Added extension 's' priority 2 to ael-dundi-e164 (0x216bf60)
    -- Added extension 's' priority 1 to ael-dundi-e164 (0x216bf60)
    -- Registered extension context 'ael-dundi-e164-lookup' (0x2153490) in local table 0x2144780; 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' (0x2154020) in local table 0x2144780; 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' (0x21535d0) in local table 0x2144780; 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' (0x21533c0) in local table 0x2144780; 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' (0x216dee0) in local table 0x2144780; 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' (0x2153e00) in local table 0x2144780; 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' (0x2153f30) in local table 0x2144780; 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 (0x2153f30)
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000488 sec
    -- Time to restore hints and swap in new dialplan: 0.000000 sec
    -- Time to delete the old dialplan: 0.000048 sec
    -- Total time merge_contexts_delete: 0.000536 sec
linux4*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
2201/2201                  192.168.15.224   D          5060     Unmonitored
2202/2202                  192.168.15.240   D          2360     Unmonitored
2203                       (Unspecified)    D          5060     Unmonitored
mn/gr                      192.168.15.3     D          5060     Unmonitored
4 sip peers [Monitored: 0 online, 0 offline Unmonitored: 4 online, 0 offline]
  == Using SIP RTP CoS mark 5
    -- Executing [2201@gr2:1] Answer("SIP/2202-00000031", "") in new stack
    -- Executing [2201@gr2:2] Dial("SIP/2202-00000031", "SIP/2201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 2201
    -- SIP/2201-00000032 is ringing
    -- SIP/2201-00000032 answered SIP/2202-00000031
    -- Packet2Packet bridging SIP/2202-00000031 and SIP/2201-00000032
  == Spawn extension (gr2, 2201, 2) exited non-zero on 'SIP/2202-00000031'
[Jun 28 13:52:09] NOTICE[5623]: chan_sip.c:21599 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 2202
  == Using SIP RTP CoS mark 5
    -- Executing [2101@gr2:1] Answer("SIP/2202-00000033", "") in new stack
    -- Executing [2101@gr2:2] Dial("SIP/2202-00000033", "SIP/mn/2101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called mn/2101
    -- SIP/mn-00000034 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Auto fallthrough, channel 'SIP/2202-00000033' status is 'CONGESTION'
  == Using SIP RTP CoS mark 5
    -- Executing [2101@gr2:1] Answer("SIP/2202-00000035", "") in new stack
    -- Executing [2101@gr2:2] Dial("SIP/2202-00000035", "SIP/mn/2101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called mn/2101
    -- SIP/mn-00000036 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Auto fallthrough, channel 'SIP/2202-00000035' status is 'CONGESTION'
  == Using SIP RTP CoS mark 5
[Jun 28 13:53:00] NOTICE[5623]: chan_sip.c:20281 handle_request_invite: Call from '2201' to extension '2101' rejected because extension not found in context 'gr1'.
linux4*CLI> exit
Executing last minute cleanups