Понедельник (10/17/11)

/dev/tty2
17:12:04
#asterisk -rvvvv
Asterisk 1.6.2.9-2+squeeze3, 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+squeeze3 currently running on linux8 (pid = 6260)
Verbosity is at least 4
linux8*CLI>
linux8*CLI>
linux8*CLI> dialplan reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf':   == Found
    -- Registered extension context 'default' (0x8568910) in local table 0x8559960; registrar: pbx_config
    -- Added extension '2499' priority 1 to default (0x8568910)
    -- Added extension '_240X' priority 1 to default (0x8568910)
  == Parsing '/etc/asterisk/users.conf':   == Found
    -- Registered extension context 'ael-dundi-e164-canonical' (0x85590a0) in local table 0x8559960; 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' (0x8813510) in local table 0x8559960; 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' (0x8813590) in local table 0x8559960; 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' (0x8813638) in local table 0x8559960; 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' (0x88129b8) in local table 0x8559960; 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' (0x880ecc0) in local table 0x8559960; 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' (0x854b350) in local table 0x8559960; 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 1 to ael-dundi-e164 (0x854b350)
    -- Added extension 's' priority 2 to ael-dundi-e164 (0x854b350)
    -- Added extension 's' priority 3 to ael-dundi-e164 (0x854b350)
    -- Registered extension context 'ael-iaxtel700' (0xb7178718) in local table 0x8559960; 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 (0xb7178718)
    -- Registered extension context 'ael-iaxprovider' (0x88121f0) in local table 0x8559960; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-iaxprovider) to new(ael-iaxprovider) context, registrar = pbx_config
    -- Registered extension context 'ael-trunkint' (0x88126e0) in local table 0x8559960; 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 (0x88126e0)
    -- Added extension '_9011.' priority 2 to ael-trunkint (0x88126e0)
    -- Registered extension context 'ael-trunkld' (0xb717cff0) in local table 0x8559960; 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 (0xb717cff0)
    -- Added extension '_91NXXNXXXXXX' priority 2 to ael-trunkld (0xb717cff0)
    -- Registered extension context 'ael-trunklocal' (0x88124f8) in local table 0x8559960; 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 (0x88124f8)
    -- Registered extension context 'ael-trunktollfree' (0x8812400) in local table 0x8559960; 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 (0x8812400)
    -- Added extension '_91888NXXXXXX' priority 1 to ael-trunktollfree (0x8812400)
    -- Added extension '_91877NXXXXXX' priority 1 to ael-trunktollfree (0x8812400)
    -- Added extension '_91866NXXXXXX' priority 1 to ael-trunktollfree (0x8812400)
    -- Registered extension context 'ael-international' (0xb7178090) in local table 0x8559960; 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' (0x8812f40) in local table 0x8559960; 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' (0x8812fd0) in local table 0x8559960; 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' (0xb7172dd8) in local table 0x8559960; 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 's' priority 1 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 's' priority 2 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 's' priority 3 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 's' priority 4 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 's' priority 5 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 's' priority 6 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 's' priority 7 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 's' priority 8 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 'a' priority 1 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 'a' priority 2 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension '_sw-4-.' priority 10 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension '_sw-4-.' priority 11 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 'sw-4-' priority 10 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 'sw-4-BUSY' priority 10 to ael-std-exten-ael (0xb7172dd8)
    -- Added extension 'sw-4-BUSY' priority 11 to ael-std-exten-ael (0xb7172dd8)
    -- Registered extension context 'ael-demo' (0xb71725a0) in local table 0x8559960; 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 (0xb71725a0)
    -- Added extension 's' priority 2 to ael-demo (0xb71725a0)
    -- Added extension 's' priority 3 to ael-demo (0xb71725a0)
    -- Added extension 's' priority 4 to ael-demo (0xb71725a0)
    -- Added extension 's' priority 5 to ael-demo (0xb71725a0)
    -- Added extension 's' priority 6 to ael-demo (0xb71725a0)
    -- Added extension 's' priority 7 to ael-demo (0xb71725a0)
    -- Added extension 's' priority 8 to ael-demo (0xb71725a0)
    -- Added extension 's' priority 9 to ael-demo (0xb71725a0)
    -- Added extension 's' priority 10 to ael-demo (0xb71725a0)
    -- Added extension 's' priority 11 to ael-demo (0xb71725a0)
   -- Added extension 's' priority 12 to ael-demo (0xb71725a0)
    -- Added extension '2' priority 1 to ael-demo (0xb71725a0)
    -- Added extension '2' priority 2 to ael-demo (0xb71725a0)
    -- Added extension '3' priority 1 to ael-demo (0xb71725a0)
    -- Added extension '3' priority 2 to ael-demo (0xb71725a0)
    -- Added extension '1000' priority 1 to ael-demo (0xb71725a0)
    -- Added extension '500' priority 1 to ael-demo (0xb71725a0)
    -- Added extension '500' priority 2 to ael-demo (0xb71725a0)
    -- Added extension '500' priority 3 to ael-demo (0xb71725a0)
    -- Added extension '500' priority 4 to ael-demo (0xb71725a0)
    -- Added extension '600' priority 1 to ael-demo (0xb71725a0)
    -- Added extension '600' priority 2 to ael-demo (0xb71725a0)
    -- Added extension '600' priority 3 to ael-demo (0xb71725a0)
    -- Added extension '600' priority 4 to ael-demo (0xb71725a0)
    -- Added extension '_1234' priority 1 to ael-demo (0xb71725a0)
    -- Added extension '8500' priority 1 to ael-demo (0xb71725a0)
    -- Added extension '8500' priority 2 to ael-demo (0xb71725a0)
    -- Added extension '#' priority 1 to ael-demo (0xb71725a0)
    -- Added extension '#' priority 2 to ael-demo (0xb71725a0)
    -- Added extension 't' priority 1 to ael-demo (0xb71725a0)
    -- Added extension 'i' priority 1 to ael-demo (0xb71725a0)
    -- Registered extension context 'ael-default' (0xb7178e50) in local table 0x8559960; 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 'demo' (0xb7171d68) in local table 0x8559960; registrar: pbx_lua
    -- merging incls/swits/igpats from old(demo) to new(demo) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'demo'
    -- Registered extension context 'local' (0xb7171df0) in local table 0x8559960; registrar: pbx_lua
    -- merging incls/swits/igpats from old(local) to new(local) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'local'
    -- Registered extension context 'app_queue_gosub_virtual_context' (0xb7171e90) in local table 0x8559960; 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 (0xb7171e90)
    -- Registered extension context 'parkedcalls' (0x8813b50) in local table 0x8559960; registrar: features
    -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config
    -- Added extension '700' priority 1 to parkedcalls (0x8813b50)
    -- Registered extension context 'app_dial_gosub_virtual_context' (0x8813728) in local table 0x8559960; 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 (0x8813728)
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000568 sec
    -- Time to restore hints and swap in new dialplan: 0.000000 sec
    -- Time to delete the old dialplan: 0.000035 sec
    -- Total time merge_contexts_delete: 0.000603 sec
linux8*CLI>
linux8*CLI>
linux8*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
2401/2401                  192.168.80.201   D          5060     Unmonitored
2402/2402                  192.168.80.205   D          17300    Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
  == Using SIP RTP CoS mark 5
    -- Executing [2402@default:1] Dial("SIP/2401-00000000", "SIP/2402") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 2402
    -- SIP/2402-00000001 is ringing
    -- SIP/2402-00000001 answered SIP/2401-00000000
    -- Native bridging SIP/2401-00000000 and SIP/2402-00000001
  == Spawn extension (default, 2402, 1) exited non-zero on 'SIP/2401-00000000'
  == Using SIP RTP CoS mark 5
    -- Executing [2401@default:1] Dial("SIP/2402-00000002", "SIP/2401") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 2401
    -- SIP/2401-00000003 is ringing
    -- SIP/2401-00000003 answered SIP/2402-00000002
    -- Native bridging SIP/2402-00000002 and SIP/2401-00000003
  == Spawn extension (default, 2401, 1) exited non-zero on 'SIP/2402-00000002'
  == Using SIP RTP CoS mark 5
    -- Executing [2402@default:1] Dial("SIP/2401-00000004", "SIP/2402") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 2402
    -- SIP/2402-00000005 is ringing
    -- SIP/2402-00000005 answered SIP/2401-00000004
    -- Native bridging SIP/2401-00000004 and SIP/2402-00000005
  == Spawn extension (default, 2402, 1) exited non-zero on 'SIP/2401-00000004'
  == Using SIP RTP CoS mark 5
    -- Executing [2499@default:1] Playback("SIP/2402-00000006", "hello-world") in new stack
    -- <SIP/2402-00000006> Playing 'hello-world.gsm' (language 'en')
[Oct 17 18:17:49] NOTICE[7964]: rtp.c:1808 ast_rtp_read: Unknown RTP codec 126 received from '192.168.80.205'
[Oct 17 18:17:49] NOTICE[7964]: rtp.c:1808 ast_rtp_read: Unknown RTP codec 126 received from '192.168.80.205'
[Oct 17 18:17:49] NOTICE[7964]: rtp.c:1808 ast_rtp_read: Unknown RTP codec 126 received from '192.168.80.205'
    -- Auto fallthrough, channel 'SIP/2402-00000006' status is 'UNKNOWN'
  == Using SIP RTP CoS mark 5
    -- Executing [2499@default:1] Playback("SIP/2402-00000007", "hello-world") in new stack
    -- <SIP/2402-00000007> Playing 'hello-world.gsm' (language 'en')
[Oct 17 18:18:20] NOTICE[7965]: rtp.c:1808 ast_rtp_read: Unknown RTP codec 126 received from '192.168.80.205'
[Oct 17 18:18:20] NOTICE[7965]: rtp.c:1808 ast_rtp_read: Unknown RTP codec 126 received from '192.168.80.205'
[Oct 17 18:18:20] NOTICE[7965]: rtp.c:1808 ast_rtp_read: Unknown RTP codec 126 received from '192.168.80.205'
    -- Auto fallthrough, channel 'SIP/2402-00000007' status is 'UNKNOWN'
  == Using SIP RTP CoS mark 5
    -- Executing [2401@default:1] Dial("SIP/2402-00000008", "SIP/2401") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 2401
    -- SIP/2401-00000009 is ringing
    -- SIP/2401-00000009 answered SIP/2402-00000008
    -- Native bridging SIP/2402-00000008 and SIP/2401-00000009
  == Spawn extension (default, 2401, 1) exited non-zero on 'SIP/2402-00000008'
  == Using SIP RTP CoS mark 5
    -- Executing [2401@default:1] Dial("SIP/2402-0000000a", "SIP/2401") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 2401
    -- SIP/2401-0000000b is ringing
    -- SIP/2401-0000000b answered SIP/2402-0000000a
    -- Native bridging SIP/2402-0000000a and SIP/2401-0000000b
  == Spawn extension (default, 2401, 1) exited non-zero on 'SIP/2402-0000000a'
    -- Unregistered SIP '2402'
    -- Registered SIP '2402' at 192.168.80.205 port 33246
       > Saved useragent "X-Lite 4 release 4.1 stamp 63214" for peer 2402
[Oct 17 18:28:28] NOTICE[6274]: chan_sip.c:21594 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 2402
  == Using SIP RTP CoS mark 5
    -- Executing [2401@default:1] Dial("SIP/2402-0000000c", "SIP/2401") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 2401
    -- SIP/2401-0000000d is ringing
    -- SIP/2401-0000000d answered SIP/2402-0000000c
    -- Native bridging SIP/2402-0000000c and SIP/2401-0000000d
  == Spawn extension (default, 2401, 1) exited non-zero on 'SIP/2402-0000000c'
  == Using SIP RTP CoS mark 5
    -- Executing [2402@default:1] Dial("SIP/2401-0000000e", "SIP/2402") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 2402
    -- SIP/2402-0000000f is ringing
    -- SIP/2402-0000000f answered SIP/2401-0000000e
    -- Native bridging SIP/2401-0000000e and SIP/2402-0000000f
  == Spawn extension (default, 2402, 1) exited non-zero on 'SIP/2401-0000000e'
linux8*CLI> quit
Executing last minute cleanups