Четверг (03/31/16)

/dev/pts/4
13:44:25
#asterisk -rvvvv
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 asterisk4 (pid = 499)
asterisk4*CLI>
asterisk4*CLI> queue
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI> ex
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI>
No such command 'queue ' (type 'core show help queue' for other possible commands)
No such command 'ex' (type 'core show help ex' for other possible commands)
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI> queue show
queue1  rules
asterisk4*CLI> queue show queue1
queue1 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
   Members:
      SIP/1402 (ringinuse enabled) (Not in use) has taken no calls yet
   No Callers
  == Spawn extension (menu, 3, 1) exited non-zero on 'SIP/1401-0000005d'
asterisk4*CLI> queue show queue1
queue1 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
   Members:
      SIP/1402 (ringinuse enabled) (Not in use) has taken no calls yet
   No Callers
  == Parsing '/etc/asterisk/extensions.conf': Found
    -- 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
    -- Registered extension context 'submenu'; registrar: pbx_config
    -- Added extension 's' priority 1 to submenu
    -- Added extension 's' priority 2 to submenu
    -- Added extension '1' priority 1 to submenu
    -- Added extension '2' priority 2 to submenu
    -- Added extension '2' priority 1 to submenu
[Mar 31 14:45:18] WARNING[6393]: pbx.c:9902 add_priority: Unable to register extension '2' priority 2 in 'submenu', already in use
    -- Added extension '9' priority 1 to submenu
    -- 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 '2' priority 2 to menu
    -- Added extension '2' priority 3 to menu
    -- Added extension '2' priority 4 to menu
    -- Added extension '2' priority 5 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 'i' priority 1 to menu
    -- Registered extension context 'local'; registrar: pbx_config
    -- Added extension '4210' priority 1 to local
    -- Added extension '_14XX' priority 1 to local
    -- Registered extension context 'linphone'; registrar: pbx_config
    -- Including context 'local' in context 'linphone'
    -- Registered extension context 'default'; registrar: pbx_config
    -- Added extension '4000' priority 1 to default
    -- Added extension '4001' priority 1 to default
    -- Added extension '4002' priority 1 to default
    -- Added extension '4003' priority 1 to default
    -- Added extension '4004' priority 1 to default
    -- Added extension '4005' priority 1 to default
    -- Added extension '4106' priority 1 to default
    -- Added extension '4107' priority 1 to default
    -- Added extension '4108' priority 1 to default
    -- Added extension '4109' priority 1 to default
    -- Added extension '4110' priority 1 to default
    -- Added extension '4111' priority 1 to default
    -- Added extension '4112' priority 1 to default
    -- Added extension '4311' priority 1 to default
    -- Added extension '4204' priority 1 to default
    -- Added extension '4204' priority 2 to default
    -- Added extension '4204' priority 3 to default
    -- Added extension '4204' priority 4 to default
    -- Added extension '4207' priority 1 to default
    -- Added extension '4207' priority 2 to default
    -- Added extension '4209' priority 1 to default
    -- Added extension '4211' priority 1 to default
    -- Added extension '4212' priority 1 to default
    -- Added extension '4208' priority 1 to default
    -- Added extension '4208' priority 2 to default
    -- Added extension '4208' priority 3 to default
    -- Added extension '4208' priority 4 to default
    -- Added extension '4208' priority 5 to default
    -- Added extension '4208' priority 6 to default
    -- Added extension '4200' priority 1 to default
    -- Added extension '_40XX' priority 1 to default
    -- Added extension '_40XX' priority 2 to default
    -- Added extension '_41XX' priority 1 to default
    -- Registered extension context 'phone'; registrar: pbx_config
    -- Including context 'local' in context 'phone'
    -- Including context 'default' in context 'phone'
    -- Added extension '_1[123]XX' priority 1 to phone
    -- Added extension '_2[1234]XX' priority 1 to phone
  == Parsing '/etc/asterisk/users.conf': Found
    -- 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 '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 '1001' priority -1 to demo
    -- Added extension '1000' priority -1 to demo
    -- 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 '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(default) to new(default) context, registrar = pbx_config
    -- Including switch 'Lua/' in context 'default'
    -- Added extension '1234' priority -1 to default
    -- merging incls/swits/igpats from old(linphone) to new(linphone) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000732 sec
    -- Time to restore hints and swap in new dialplan: 0.000002 sec
    -- Time to delete the old dialplan: 0.000059 sec
    -- Total time merge_contexts_delete: 0.000793 sec
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI>
  == Using SIP RTP CoS mark 5
    -- Executing [4311@phone:1] Goto("SIP/1401-0000005f", "menu,s,1") in new stack
    -- Goto (menu,s,1)
    -- Executing [s@menu:1] Answer("SIP/1401-0000005f", "") in new stack
       > 0x7ff3f801bcb0 -- Probation passed - setting RTP source address to 192.168.40.201:16398
    -- Executing [s@menu:2] BackGround("SIP/1401-0000005f", "/var/tmp/asterisk/message106") in new stack
    -- <SIP/1401-0000005f> Playing '/var/tmp/asterisk/message106.slin' (language 'ja')
    -- Executing [s@menu:3] WaitExten("SIP/1401-0000005f", "2") in new stack
  == CDR updated on SIP/1401-0000005f
    -- Executing [3@menu:1] Queue("SIP/1401-0000005f", "queue1") in new stack
    -- Started music on hold, class 'default', on SIP/1401-0000005f
  == Using SIP RTP CoS mark 5
    -- SIP/1402-00000060 is ringing
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI> queue show queue1
queue1 has 1 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
   Members:
      SIP/1402 (ringinuse enabled) (Not in use) has taken no calls yet
   Callers:
      1. SIP/1401-0000005f (wait: 0:01, prio: 0)
    -- SIP/1402-00000060 answered SIP/1401-0000005f
    -- Stopped music on hold on SIP/1401-0000005f
    -- Remotely bridging SIP/1401-0000005f and SIP/1402-00000060
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI> queue show queue1
queue1 has 0 calls (max unlimited) in 'ringall' strategy (1s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
   Members:
      SIP/1402 (ringinuse enabled) (Not in use) has taken no calls yet
   No Callers
  == Spawn extension (menu, 3, 1) exited non-zero on 'SIP/1401-0000005f'
asterisk4*CLI>
asterisk4*CLI>
asterisk4*CLI> queue show queue1
queue1 has 0 calls (max unlimited) in 'ringall' strategy (1s holdtime, 5s talktime), W:0, C:1, A:0, SL:0.0% within 0s
   Members:
      SIP/1402 (ringinuse enabled) (Not in use) has taken 1 calls (last was 2 secs ago)
   No Callers
asterisk4*CLI> quit
Asterisk cleanly ending (0).
Executing last minute cleanups