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

/dev/pts/0
11:26:41
#[default]
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 debian (pid = 16994)
Verbosity is at least 4
debian*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf':   == Found
  == Parsing '/etc/asterisk/users.conf':   == Found
  == Using SIP CoS mark 4
  == Parsing '/etc/asterisk/sip_notify.conf':   == Found
debian*CLI> dialplan reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf':   == Found
    -- Registered extension context 'default'; registrar: pbx_config
    -- Added extension '_31XX' priority 1 to default
    -- Added extension '_32XX' priority 1 to default
    -- Added extension '_12XX' priority 1 to default
  == Parsing '/etc/asterisk/users.conf':   == Found
    -- Registered extension context 'demo'; 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'; 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 '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 '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
    -- 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_4_BUSY' priority 11 to ael-std-exten-ael
    -- Added extension 'sw_4_BUSY' priority 10 to ael-std-exten-ael
    -- Added extension 'sw_4_' priority 10 to ael-std-exten-ael
    -- Added extension '_sw_4_.' priority 11 to ael-std-exten-ael
    -- Added extension '_sw_4_.' 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
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000834 sec
    -- Time to restore hints and swap in new dialplan: 0.000003 sec
    -- Time to delete the old dialplan: 0.000039 sec
    -- Total time merge_contexts_delete: 0.000876 sec
debian*CLI> sip show peers
Name/username              Host                                    Dyn Forcerport ACL Port     Status
3101/3101                  192.168.12.201                           D   N             5060     Unmonitored
3102/3102                  192.168.12.107                           D   N             33784    Unmonitored
3103                       (Unspecified)                            D   N             0        Unmonitored
kiev/havana                192.168.12.2                             D   N             5060     Unmonitored
santiago/havana            192.168.12.8                             D   N             5060     Unmonitored
5 sip peers [Monitored: 0 online, 0 offline Unmonitored: 4 online, 1 offline]
  == Using SIP RTP CoS mark 5
    -- Executing [1201@default:1] Dial("SIP/3101-00000022", "SIP/kiev/1201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/kiev/1201
    -- SIP/kiev-00000023 is ringing
    -- Remote UNIX connection
    -- Remote UNIX connection disconnected
    -- SIP/kiev-00000023 answered SIP/3101-00000022
    -- Locally bridging SIP/3101-00000022 and SIP/kiev-00000023
  == Spawn extension (default, 1201, 1) exited non-zero on 'SIP/3101-00000022'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Dial("SIP/kiev-00000024", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/3101
    -- SIP/3101-00000025 is ringing
  == Spawn extension (default, 3101, 1) exited non-zero on 'SIP/kiev-00000024'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Dial("SIP/kiev-00000026", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/3101
    -- SIP/3101-00000027 is ringing
  == Spawn extension (default, 3101, 1) exited non-zero on 'SIP/kiev-00000026'
  == Using SIP RTP CoS mark 5
    -- Executing [3102@default:1] Dial("SIP/santiago-00000028", "SIP/3102") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/3102
    -- SIP/3102-00000029 is ringing
  == Spawn extension (default, 3102, 1) exited non-zero on 'SIP/santiago-00000028'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Dial("SIP/kiev-0000002a", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/3101
    -- SIP/3101-0000002b is ringing
  == Spawn extension (default, 3101, 1) exited non-zero on 'SIP/kiev-0000002a'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Dial("SIP/kiev-0000002c", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/3101
    -- SIP/3101-0000002d is ringing
  == Spawn extension (default, 3101, 1) exited non-zero on 'SIP/kiev-0000002c'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Dial("SIP/kiev-0000002e", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/3101
    -- SIP/3101-0000002f is ringing
  == Spawn extension (default, 3101, 1) exited non-zero on 'SIP/kiev-0000002e'
  == Using SIP RTP CoS mark 5
[Apr 23 12:56:56] NOTICE[17032]: chan_sip.c:22753 handle_request_invite: Call from 'havana' (192.168.12.2:5060) to extension '3301' rejected because extension not found in context 'default'.
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Dial("SIP/santiago-00000030", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/3101
    -- SIP/3101-00000031 is ringing
  == Spawn extension (default, 3101, 1) exited non-zero on 'SIP/santiago-00000030'
  == Using SIP RTP CoS mark 5
    -- Executing [3101@default:1] Dial("SIP/santiago-00000032", "SIP/3101") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/3101
    -- SIP/3101-00000033 is ringing
  == Spawn extension (default, 3101, 1) exited non-zero on 'SIP/santiago-00000032'
  == Using SIP RTP CoS mark 5
[Apr 23 12:58:35] NOTICE[17032]: chan_sip.c:22753 handle_request_invite: Call from '3101' (192.168.12.201:5060) to extension '1101' rejected because extension not found in context 'default'.
  == Using SIP RTP CoS mark 5
    -- Executing [1201@default:1] Dial("SIP/3101-00000034", "SIP/kiev/1201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/kiev/1201
    -- SIP/kiev-00000035 is ringing
  == Spawn extension (default, 1201, 1) exited non-zero on 'SIP/3101-00000034'
  == Using SIP RTP CoS mark 5
[Apr 23 12:59:44] NOTICE[17032]: chan_sip.c:22753 handle_request_invite: Call from 'havana' (192.168.12.8:5060) to extension '1101' rejected because extension not found in context 'default'.
  == Using SIP RTP CoS mark 5
    -- Executing [1201@default:1] Dial("SIP/santiago-00000036", "SIP/kiev/1201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/kiev/1201
    -- SIP/kiev-00000037 is ringing
  == Spawn extension (default, 1201, 1) exited non-zero on 'SIP/santiago-00000036'
  == Using SIP RTP CoS mark 5
[Apr 23 13:00:04] NOTICE[17032]: chan_sip.c:22753 handle_request_invite: Call from 'havana' (192.168.12.8:5060) to extension '1101' rejected because extension not found in context 'default'.
  == Using SIP RTP CoS mark 5
    -- Executing [1201@default:1] Dial("SIP/santiago-00000038", "SIP/kiev/1201") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/kiev/1201
    -- SIP/kiev-00000039 is ringing
  == Spawn extension (default, 1201, 1) exited non-zero on 'SIP/santiago-00000038'
debian*CLI> sip show peers
Disconnected from Asterisk server
Executing last minute cleanups