Пятница (04/01/16)

/dev/pts/6
10:56:52
#asterisk -rvvv
Asterisk 11.13.1~dfsg-2+b1, Copyright (C) 1999 - 2013 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 11.13.1~dfsg-2+b1 currently running on asterisk2 (pid = 9381)
asterisk2*CLI> dialplan reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf': Found
    -- Registered extension context 'local'; registrar: pbx_config
    -- Added extension '_12XX' priority 1 to local
    -- Added extension '1299' priority 1 to local
    -- Added extension '1299' priority 2 to local
    -- Registered extension context 'internal'; registrar: pbx_config
    -- Added extension '_40XX' priority 1 to internal
    -- Added extension '_40XX' priority 2 to internal
    -- Added extension '_41XX' priority 1 to internal
    -- Added extension '4203' priority 1 to internal
    -- Added extension '4204' priority 1 to internal
    -- Added extension '4204' priority 2 to internal
    -- Added extension '4204' priority 3 to internal
    -- Added extension '4204' priority 4 to internal
    -- Added extension '4205' priority 1 to internal
    -- Added extension '4205' priority 2 to internal
    -- Added extension '4211' priority 1 to internal
    -- Added extension '_422X' priority 1 to internal
    -- Added extension '_430X' priority 1 to internal
    -- Added extension '_430X' priority 2 to internal
[Apr  1 11:57:01] WARNING[9916]: pbx.c:9902 add_priority: Unable to register extension '4204' priority 1 in 'internal', already in use
[Apr  1 11:57:01] WARNING[9916]: pbx.c:9902 add_priority: Unable to register extension '4204' priority 2 in 'internal', already in use
[Apr  1 11:57:01] WARNING[9916]: pbx.c:9902 add_priority: Unable to register extension '4204' priority 3 in 'internal', already in use
[Apr  1 11:57:01] WARNING[9916]: pbx.c:9902 add_priority: Unable to register extension '4204' priority 4 in 'internal', already in use
    -- Added extension '4210' priority 1 to internal
    -- Registered extension context 'submenu'; registrar: pbx_config
    -- Added extension 's' priority 1 to submenu
    -- Added extension 's' priority 2 to submenu
    -- Added extension '9' priority 1 to submenu
    -- Added extension '1' priority 1 to submenu
    -- Added extension '2' priority 1 to submenu
[Apr  1 11:57:01] WARNING[9916]: pbx.c:9902 add_priority: Unable to register extension '9' priority 1 in 'submenu', already in use
    -- Added extension '0' priority 1 to submenu
    -- Registered extension context 'menu'; registrar: pbx_config
    -- Added extension 's' priority 1 to menu
    -- Added extension 's' priority 2 to menu
    -- Added extension 's' priority 3 to menu
    -- Added extension 's' priority 4 to menu
    -- Added extension 's' priority 5 to menu
    -- Added extension 's' priority 6 to menu
    -- Added extension 's' priority 7 to menu
    -- Added extension 's' priority 8 to menu
    -- Added extension 's' priority 9 to menu
    -- Added extension '1' priority 1 to menu
    -- Added extension '2' priority 1 to menu
    -- Added extension '3' priority 1 to menu
    -- Added extension '9' priority 1 to menu
    -- Added extension '0' priority 1 to menu
    -- Added extension '0' priority 2 to menu
    -- Registered extension context 'order-status'; registrar: pbx_config
    -- Added extension '2' priority 1 to order-status
    -- Added extension '2' priority 2 to order-status
    -- Added extension '2' priority 3 to order-status
    -- Added extension '2' priority 4 to order-status
    -- Added extension 's' priority 5 to order-status
    -- Added extension '3' priority 1 to order-status
    -- Registered extension context 'external'; registrar: pbx_config
    -- Added extension '_2XXX' priority 1 to external
    -- Added extension '_1[134]XX' priority 1 to external
    -- Registered extension context 'macro-call'; registrar: pbx_config
    -- Added extension 's' priority 1 to macro-call
    -- Added extension 's' priority 2 to macro-call
    -- Added extension 's' priority 3 to macro-call
    -- Added extension 's' priority 4 to macro-call
    -- Added extension 's' priority 5 to macro-call
    -- Added extension 's' priority 6 to macro-call
    -- Added extension 's' priority 7 to macro-call
    -- Added extension 's' priority 8 to macro-call
    -- Added extension 's' priority 9 to macro-call
    -- Added extension 's' priority 10 to macro-call
    -- Added extension 's' priority 11 to macro-call
    -- Added extension 's' priority 12 to macro-call
    -- Added extension 's' priority 13 to macro-call
    -- Added extension 's' priority 14 to macro-call
    -- Registered extension context 'gr1'; registrar: pbx_config
    -- Including context 'default' in context 'gr1'
    -- Including context 'local' in context 'gr1'
    -- Including context 'internal' in context 'gr1'
    -- Including context 'external' in context 'gr1'
    -- Registered extension context 'gr2'; registrar: pbx_config
    -- Including context 'local' in context 'gr2'
    -- Including context 'res1' in context 'gr2'
    -- Including context 'res2' in context 'gr2'
    -- Registered extension context 'dongle'; registrar: pbx_config
    -- Added extension '+375447373039' priority 1 to dongle
  == Parsing '/etc/asterisk/users.conf': Found
    -- Registered extension context 'default'; registrar: pbx_lua
    -- merging incls/swits/igpats from old(default) to new(default) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'default'
    -- Added extension '1234' priority -1 to default
    -- Registered extension context 'public'; registrar: pbx_lua
    -- merging incls/swits/igpats from old(public) to new(public) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'public'
    -- 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'
    -- Added extension '1000' priority -1 to demo
    -- Added extension '1001' priority -1 to demo
    -- 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
    -- merging incls/swits/igpats from old(gr2) to new(gr2) context, registrar = pbx_config
    -- merging incls/swits/igpats from old(gr1) to new(gr1) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.001262 sec
    -- Time to restore hints and swap in new dialplan: 0.000004 sec
    -- Time to delete the old dialplan: 0.000108 sec
    -- Total time merge_contexts_delete: 0.001374 sec
[Apr  1 11:57:01] WARNING[9916]: pbx.c:12279 ast_context_verify_includes: Context 'gr2' tries to include nonexistent context 'res1'
  == Using SIP RTP CoS mark 5
    -- Executing [4211@gr1:1] Goto("SIP/1201-00000000", "menu,s,1") in new stack
    -- Goto (menu,s,1)
    -- Executing [s@menu:1] Answer("SIP/1201-00000000", "") in new stack
    -- Executing [s@menu:2] BackGround("SIP/1201-00000000", "/var/tmp/asterisk/message06") in new stack
    -- <SIP/1201-00000000> Playing '/var/tmp/asterisk/message06.gsm' (language 'ru')
asterisk2*CLI> dongle show device
device   devices
asterisk2*CLI> dongle show devices
ID           Group State      RSSI Mode Submode Provider Name  Model      Firmware          IMEI             IMSI             Number
dongle0      0     Free       24   3    3       VELCOM         E173       11.126.15.00.327  862910016255207  257010070385983  +375447373039
    -- Executing [1@menu:1] Goto("SIP/1201-00000000", "submenu,s,start") in new stack
    -- Goto (submenu,s,2)
    -- Executing [s@submenu:2] BackGround("SIP/1201-00000000", "/var/tmp/asterisk/message11") in new stack
    -- <SIP/1201-00000000> Playing '/var/tmp/asterisk/message11.gsm' (language 'ru')
    -- Executing [1@submenu:1] AGI("SIP/1201-00000000", "/usr/local/bin/asterisk-festival.pl,/var/tmp/belki.txt") in new stack
    -- Launched AGI Script /usr/local/bin/asterisk-festival.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70)
    -- <SIP/1201-00000000> Playing '/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70.slin' (language 'ru')
    -- <SIP/1201-00000000>AGI Script /usr/local/bin/asterisk-festival.pl completed, returning 4
  == Spawn extension (submenu, 1, 1) exited non-zero on 'SIP/1201-00000000'
    -- Executing [+375447373039@dongle:1] Goto("Dongle/dongle0-0100000005", "menu,s,1") in new stack
    -- Goto (menu,s,1)
    -- Executing [s@menu:1] Answer("Dongle/dongle0-0100000005", "") in new stack
    -- Executing [s@menu:2] BackGround("Dongle/dongle0-0100000005", "/var/tmp/asterisk/message06") in new stack
    -- <Dongle/dongle0-0100000005> Playing '/var/tmp/asterisk/message06.gsm' (language 'en')
    -- Executing [s@menu:3] WaitExten("Dongle/dongle0-0100000005", "2") in new stack
    -- Timeout on Dongle/dongle0-0100000005, continuing...
    -- Executing [s@menu:4] BackGround("Dongle/dongle0-0100000005", "/var/tmp/asterisk/message07") in new stack
    -- <Dongle/dongle0-0100000005> Playing '/var/tmp/asterisk/message07.gsm' (language 'en')
    -- Executing [1@menu:1] Goto("Dongle/dongle0-0100000005", "submenu,s,start") in new stack
    -- Goto (submenu,s,2)
    -- Executing [s@submenu:2] BackGround("Dongle/dongle0-0100000005", "/var/tmp/asterisk/message11") in new stack
    -- <Dongle/dongle0-0100000005> Playing '/var/tmp/asterisk/message11.gsm' (language 'en')
    -- Executing [1@submenu:1] AGI("Dongle/dongle0-0100000005", "/usr/local/bin/asterisk-festival.pl,/var/tmp/belki.txt") in new stack
    -- Launched AGI Script /usr/local/bin/asterisk-festival.pl
    -- AGI Script Executing Application: (Playback) Options: (/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70)
    -- <Dongle/dongle0-0100000005> Playing '/var/lib/asterisk/sounds/tts/tts-0d70b4e597139d61cf2468e31ec3ea70.slin' (language 'en')
    -- <Dongle/dongle0-0100000005>AGI Script /usr/local/bin/asterisk-festival.pl completed, returning 0
    -- Auto fallthrough, channel 'Dongle/dongle0-0100000005' status is 'UNKNOWN'
asterisk2*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups