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

/dev/pts/6
10:20:05
#asterisk -rvvvvvvvvvvvvvvvvv
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 linux0 (pid = 8606)
Verbosity was 3 and is now 17
linux0*CLI> sip show pe
peers  peer
linux0*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
3101/3101                  192.168.15.236   D          54930    Unmonitored
ny/la                      192.168.15.6     D          5060     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
  == Using SIP RTP CoS mark 5
[Jun 28 12:20:45] NOTICE[8638]: chan_sip.c:20281 handle_request_invite: Call from 'la' to extension '3101' rejected because extension not found in context 'default'.
  == Using SIP RTP CoS mark 5
[Jun 28 12:21:11] NOTICE[8638]: chan_sip.c:20281 handle_request_invite: Call from 'la' to extension '3101' rejected because extension not found in context 'default'.
    -- Remote UNIX connection
linux0*CLI>
  == Parsing '/etc/asterisk/extensions.conf':   == Found
    -- Registered extension context 'default' (0x22eace0) in local table 0x1dcf440; registrar: pbx_config
    -- Added extension '8000' priority 1 to default (0x22eace0)
    -- Added extension '_31XX' priority 1 to default (0x22eace0)
    -- Added extension '_31XX' priority 2 to default (0x22eace0)
    -- Added extension '_32XX' priority 1 to default (0x22eace0)
  == Parsing '/etc/asterisk/users.conf':   == Found
    -- Registered extension context 'app_queue_gosub_virtual_context' (0x7f49f800a200) in local table 0x1dcf440; 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 (0x7f49f800a200)
    -- Registered extension context 'ael-dundi-e164-canonical' (0x22e5b70) in local table 0x1dcf440; 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' (0x22e5eb0) in local table 0x1dcf440; 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' (0x22eb8c0) in local table 0x1dcf440; 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' (0x22d4060) in local table 0x1dcf440; 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' (0x22631c0) in local table 0x1dcf440; 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' (0x2263290) in local table 0x1dcf440; 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' (0x22d3e10) in local table 0x1dcf440; 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 (0x22d3e10)
    -- Added extension 's' priority 2 to ael-dundi-e164 (0x22d3e10)
    -- Added extension 's' priority 3 to ael-dundi-e164 (0x22d3e10)
    -- Registered extension context 'ael-iaxtel700' (0x7f49f8007570) in local table 0x1dcf440; 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 (0x7f49f8007570)
    -- Registered extension context 'ael-iaxprovider' (0x7f49f800d240) in local table 0x1dcf440; registrar: pbx_ael
    -- merging incls/swits/igpats from old(ael-iaxprovider) to new(ael-iaxprovider) context, registrar = pbx_config
    -- Registered extension context 'ael-trunkint' (0x7f49f800d7e0) in local table 0x1dcf440; 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 (0x7f49f800d7e0)
    -- Added extension '_9011.' priority 2 to ael-trunkint (0x7f49f800d7e0)
    -- Registered extension context 'ael-trunkld' (0x22c2550) in local table 0x1dcf440; 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 (0x22c2550)
    -- Added extension '_91NXXNXXXXXX' priority 2 to ael-trunkld (0x22c2550)
    -- Registered extension context 'ael-trunklocal' (0x1d1b580) in local table 0x1dcf440; 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 (0x1d1b580)
    -- Registered extension context 'ael-trunktollfree' (0x225f6e0) in local table 0x1dcf440; 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 (0x225f6e0)
    -- Added extension '_91888NXXXXXX' priority 1 to ael-trunktollfree (0x225f6e0)
    -- Added extension '_91877NXXXXXX' priority 1 to ael-trunktollfree (0x225f6e0)
    -- Added extension '_91866NXXXXXX' priority 1 to ael-trunktollfree (0x225f6e0)
    -- Registered extension context 'ael-international' (0x7f49f8007450) in local table 0x1dcf440; 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' (0x7f49f800e440) in local table 0x1dcf440; 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' (0x7f49f800ee10) in local table 0x1dcf440; 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' (0x7f49f800fc60) in local table 0x1dcf440; 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 (0x7f49f800fc60)
    -- Added extension 's' priority 2 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 's' priority 3 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 's' priority 4 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 's' priority 5 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 's' priority 6 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 's' priority 7 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 's' priority 8 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 'a' priority 1 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 'a' priority 2 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension '_sw-1-.' priority 10 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension '_sw-1-.' priority 11 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 'sw-1-' priority 10 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 'sw-1-BUSY' priority 10 to ael-std-exten-ael (0x7f49f800fc60)
    -- Added extension 'sw-1-BUSY' priority 11 to ael-std-exten-ael (0x7f49f800fc60)
    -- Registered extension context 'ael-demo' (0x22d93e0) in local table 0x1dcf440; 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 (0x22d93e0)
    -- Added extension 's' priority 2 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 3 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 4 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 5 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 6 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 7 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 8 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 9 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 10 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 11 to ael-demo (0x22d93e0)
    -- Added extension 's' priority 12 to ael-demo (0x22d93e0)
    -- Added extension '2' priority 1 to ael-demo (0x22d93e0)
    -- Added extension '2' priority 2 to ael-demo (0x22d93e0)
    -- Added extension '3' priority 1 to ael-demo (0x22d93e0)
    -- Added extension '3' priority 2 to ael-demo (0x22d93e0)
    -- Added extension '1000' priority 1 to ael-demo (0x22d93e0)
    -- Added extension '500' priority 1 to ael-demo (0x22d93e0)
    -- Added extension '500' priority 2 to ael-demo (0x22d93e0)
    -- Added extension '500' priority 3 to ael-demo (0x22d93e0)
    -- Added extension '500' priority 4 to ael-demo (0x22d93e0)
    -- Added extension '600' priority 1 to ael-demo (0x22d93e0)
    -- Added extension '600' priority 2 to ael-demo (0x22d93e0)
    -- Added extension '600' priority 3 to ael-demo (0x22d93e0)
    -- Added extension '600' priority 4 to ael-demo (0x22d93e0)
    -- Added extension '_1234' priority 1 to ael-demo (0x22d93e0)
    -- Added extension '8500' priority 1 to ael-demo (0x22d93e0)
    -- Added extension '8500' priority 2 to ael-demo (0x22d93e0)
    -- Added extension '#' priority 1 to ael-demo (0x22d93e0)
    -- Added extension '#' priority 2 to ael-demo (0x22d93e0)
    -- Added extension 't' priority 1 to ael-demo (0x22d93e0)
    -- Added extension 'i' priority 1 to ael-demo (0x22d93e0)
    -- Registered extension context 'ael-default' (0x2239730) in local table 0x1dcf440; 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 'parkedcalls' (0x223a000) in local table 0x1dcf440; registrar: features
    -- merging incls/swits/igpats from old(parkedcalls) to new(parkedcalls) context, registrar = pbx_config
    -- Added extension '700' priority 1 to parkedcalls (0x223a000)
    -- Registered extension context 'app_dial_gosub_virtual_context' (0x225f4c0) in local table 0x1dcf440; 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 (0x225f4c0)
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000238 sec
    -- Time to restore hints and swap in new dialplan: 0.000000 sec
    -- Time to delete the old dialplan: 0.000040 sec
    -- Total time merge_contexts_delete: 0.000278 sec
    -- Remote UNIX connection disconnected
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Answer("SIP/ny-00000002", "") in new stack
    -- Executing [3101@default:2] Dial("SIP/ny-00000002", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3101
[Jun 28 12:21:43] NOTICE[10500]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/ny-00000002 of format ulaw since our native format has changed to 0x2 (gsm)
    -- SIP/3101-00000003 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Auto fallthrough, channel 'SIP/ny-00000002' status is 'CONGESTION'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Answer("SIP/ny-00000004", "") in new stack
    -- Executing [3101@default:2] Dial("SIP/ny-00000004", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3101
[Jun 28 12:22:37] NOTICE[10502]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/ny-00000004 of format ulaw since our native format has changed to 0x2 (gsm)
    -- SIP/3101-00000005 is ringing
    -- Got SIP response 480 "Terminated" back from 192.168.15.236
    -- SIP/3101-00000005 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Auto fallthrough, channel 'SIP/ny-00000004' status is 'CONGESTION'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Answer("SIP/ny-00000006", "") in new stack
    -- Executing [3101@default:2] Dial("SIP/ny-00000006", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3101
[Jun 28 12:22:55] NOTICE[10503]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/ny-00000006 of format ulaw since our native format has changed to 0x2 (gsm)
    -- SIP/3101-00000007 is ringing
    -- Call on SIP/3101-00000007 placed on hold
    -- Music class default requested but no musiconhold loaded.
    -- SIP/3101-00000007 answered SIP/ny-00000006
  == Spawn extension (default, 3101, 2) exited non-zero on 'SIP/ny-00000006'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Answer("SIP/ny-00000008", "") in new stack
    -- Executing [3101@default:2] Dial("SIP/ny-00000008", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3101
[Jun 28 12:24:36] NOTICE[10504]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/ny-00000008 of format ulaw since our native format has changed to 0x2 (gsm)
    -- SIP/3101-00000009 is ringing
    -- SIP/3101-00000009 answered SIP/ny-00000008
  == Spawn extension (default, 3101, 2) exited non-zero on 'SIP/ny-00000008'
  == Using SIP RTP CoS mark 5
    -- Executing [3201@default:1] Dial("SIP/3101-0000000a", "SIP/ny/3201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called ny/3201
    -- SIP/ny-0000000b answered SIP/3101-0000000a
    -- Packet2Packet bridging SIP/3101-0000000a and SIP/ny-0000000b
  == Spawn extension (default, 3201, 1) exited non-zero on 'SIP/3101-0000000a'
linux0*CLI>
linux0*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
3101/3101                  192.168.15.236   D          54930    Unmonitored
ny/la                      192.168.15.6     D          5060     Unmonitored
2 sip peers [Monitored: 0 online, 0 offline Unmonitored: 2 online, 0 offline]
linux0*CLI> sip reload
 Reloading SIP
    -- Remote UNIX connection
 Reloading SIP
    -- Remote UNIX connection disconnected
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Answer("SIP/ny-0000000c", "") in new stack
    -- Executing [3101@default:2] Dial("SIP/ny-0000000c", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3101
    -- SIP/3101-0000000d is ringing
    -- SIP/3101-0000000d answered SIP/ny-0000000c
    -- Packet2Packet bridging SIP/ny-0000000c and SIP/3101-0000000d
  == Spawn extension (default, 3101, 2) exited non-zero on 'SIP/ny-0000000c'
    -- Registered SIP '3101' at 192.168.15.236 port 54930
    -- Remote UNIX connection
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
  == Parsing '/etc/asterisk/sip_notify.conf':   == Found
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Answer("SIP/ny-0000000e", "") in new stack
    -- Executing [3101@default:2] Dial("SIP/ny-0000000e", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3101
[Jun 28 13:26:55] NOTICE[10705]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/ny-0000000e of format ulaw since our native format has changed to 0x2 (gsm)
    -- SIP/3101-0000000f is ringing
    -- SIP/3101-0000000f answered SIP/ny-0000000e
  == Spawn extension (default, 3101, 2) exited non-zero on 'SIP/ny-0000000e'
  == Using SIP RTP CoS mark 5
    -- Executing [3201@default:1] Dial("SIP/3101-00000010", "SIP/ny/3201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called ny/3201
    -- SIP/ny-00000011 answered SIP/3101-00000010
    -- Packet2Packet bridging SIP/3101-00000010 and SIP/ny-00000011
  == Spawn extension (default, 3201, 1) exited non-zero on 'SIP/3101-00000010'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Answer("SIP/ny-00000012", "") in new stack
    -- Executing [3101@default:2] Dial("SIP/ny-00000012", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3101
[Jun 28 13:28:03] NOTICE[10710]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/ny-00000012 of format ulaw since our native format has changed to 0x2 (gsm)
    -- SIP/3101-00000013 is ringing
    -- SIP/3101-00000013 answered SIP/ny-00000012
  == Spawn extension (default, 3101, 2) exited non-zero on 'SIP/ny-00000012'
    -- Remote UNIX connection disconnected
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Answer("SIP/ny-00000014", "") in new stack
    -- Executing [3101@default:2] Dial("SIP/ny-00000014", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3101
[Jun 28 13:44:36] NOTICE[10797]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/ny-00000014 of format ulaw since our native format has changed to 0x2 (gsm)
    -- SIP/3101-00000015 is ringing
    -- SIP/3101-00000015 answered SIP/ny-00000014
  == Spawn extension (default, 3101, 2) exited non-zero on 'SIP/ny-00000014'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Answer("SIP/ny-00000016", "") in new stack
    -- Executing [3101@default:2] Dial("SIP/ny-00000016", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 3101
[Jun 28 13:46:52] NOTICE[10800]: channel.c:3066 __ast_read: Dropping incompatible voice frame on SIP/ny-00000016 of format ulaw since our native format has changed to 0x2 (gsm)
    -- SIP/3101-00000017 is ringing
    -- SIP/3101-00000017 is ringing
    -- SIP/3101-00000017 is ringing
    -- SIP/3101-00000017 answered SIP/ny-00000016
  == Spawn extension (default, 3101, 2) exited non-zero on 'SIP/ny-00000016'
    -- Registered SIP '3101' at 192.168.15.236 port 54930
linux0*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
  == Parsing '/etc/asterisk/sip_notify.conf':   == Found
    -- Remote UNIX connection
 Reloading SIP
    -- Remote UNIX connection disconnected
    -- Unregistered SIP '3101'
linux0*CLI> exit
Executing last minute cleanups