Суббота (11/28/09)

/dev/pts/1
12:06:23
#asterisk -rvv
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 - 2008 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.
=========================================================================
This package has been modified for the Debian GNU/Linux distribution
Please report all bugs to http://bugs.debian.org/asterisk
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.21.2~dfsg-3 currently running on debian4 (pid = 17793)
Verbosity was 0 and is now 2
debian4*CLI> sip reload
 Reloading SIP
  == Parsing '/etc/asterisk/sip.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
  == Parsing '/etc/asterisk/sip_notify.conf': Found
debian4*CLI> dial
dialplan  dial
debian4*CLI> dialplan reload
Dialplan reloaded.
  == Parsing '/etc/asterisk/extensions.conf': Found
  == Parsing '/etc/asterisk/users.conf': Found
debian4*CLI> show
agents        agi           application   applications  audio
autoanswer    channel       channels      channeltype   channeltypes
codec         codecs        config        dialplan      features
file          function      functions     globals       hints
image         indications   keys          manager       modules
parkedcalls   profile       queue         queues        switches
transcoder    translation   uptime        version       video
voicemail
debian4*CLI> show dialplan
[ Context 'demo' created by 'pbx_config' ]
  '#' =>            1. Playback(demo-thanks)                      [pbx_config]
                    2. Hangup()                                   [pbx_config]
  '1000' =>         1. Goto(default|s|1)                          [pbx_config]
  '1234' =>         1. Playback(transfer|skip)                    [pbx_config]
                    2. Macro(stdexten|1234|${GLOBAL(CONSOLE)})    [pbx_config]
  '1235' =>         1. Voicemail(1234|u)                          [pbx_config]
  '1236' =>         1. Dial(Console/dsp)                          [pbx_config]
                    2. Voicemail(1234|b)                          [pbx_config]
  '2' =>            1. BackGround(demo-moreinfo)                  [pbx_config]
                    2. Goto(s|instruct)                           [pbx_config]
  '3' =>            1. Set(LANGUAGE()=fr)                         [pbx_config]
                    2. Goto(s|restart)                            [pbx_config]
  '500' =>          1. Playback(demo-abouttotry)                  [pbx_config]
                    2. Dial(IAX2/guest@pbx.digium.com/s@default)  [pbx_config]
                    3. Playback(demo-nogo)                        [pbx_config]
                    4. Goto(s|6)                                  [pbx_config]
  '600' =>          1. Playback(demo-echotest)                    [pbx_config]
                    2. Echo()                                     [pbx_config]
                    3. Playback(demo-echodone)                    [pbx_config]
                    4. Goto(s|6)                                  [pbx_config]
  '76245' =>        1. Macro(page|SIP/Grandstream1)               [pbx_config]
  '7999' =>         1. Set(TIMEOUT(absolute)=60)                  [pbx_config]
                    2. Page(Local/Grandstream1@page&Local/Xlite1@page&Local/1234@page/n|d) [pbx_config]
  '8500' =>         1. VoicemailMain()                            [pbx_config]
                    2. Goto(s|6)                                  [pbx_config]
  'i' =>            1. Playback(invalid)                          [pbx_config]
  's' =>            1. Wait(1)                                    [pbx_config]
                    2. Answer()                                   [pbx_config]
                    3. Set(TIMEOUT(digit)=5)                      [pbx_config]
                    4. Set(TIMEOUT(response)=10)                  [pbx_config]
     [restart]      5. BackGround(demo-congrats)                  [pbx_config]
     [instruct]     6. BackGround(demo-instruct)                  [pbx_config]
                    7. WaitExten()                                [pbx_config]
  't' =>            1. Goto(#|1)                                  [pbx_config]
  '_7XXX' =>        1. Macro(page|SIP/${EXTEN})                   [pbx_config]
[ Context 'demo1' created by 'pbx_config' ]
  '4000' =>         1. Answer()                                   [pbx_config]
                    2. Playback(demo-thanks)                      [pbx_config]
                    3. Hangup()                                   [pbx_config]
[ Context 'ael-default' created by 'pbx_ael' ]
  Include =>        'ael-demo'                                    [pbx_ael]
[ Context 'ael-demo' created by 'pbx_ael' ]
  '#' =>            1. Playback(demo-thanks)                      [pbx_ael]
                    2. Hangup()                                   [pbx_ael]
  '1000' =>         1. Goto(ael-default|s|1)                      [pbx_ael]
  '2' =>            1. Background(demo-moreinfo)                  [pbx_ael]
                    2. Goto(s|instructions)                       [pbx_ael]
  '3' =>            1. Set(LANGUAGE()=fr)                         [pbx_ael]
                    2. Goto(s|restart)                            [pbx_ael]
  '500' =>          1. Playback(demo-abouttotry)                  [pbx_ael]
                    2. Dial(IAX2/guest@misery.digium.com/s@default) [pbx_ael]
                    3. Playback(demo-nogo)                        [pbx_ael]
                    4. Goto(s|instructions)                       [pbx_ael]
  '600' =>          1. Playback(demo-echotest)                    [pbx_ael]
                    2. Echo()                                     [pbx_ael]
                    3. Playback(demo-echodone)                    [pbx_ael]
                    4. Goto(s|instructions)                       [pbx_ael]
  '8500' =>         1. VoicemailMain()                            [pbx_ael]
                    2. Goto(s|instructions)                       [pbx_ael]
  'i' =>            1. Playback(invalid)                          [pbx_ael]
  's' =>            1. Wait(1)                                    [pbx_ael]
                    2. Answer()                                   [pbx_ael]
                    3. Set(TIMEOUT(digit)=5)                      [pbx_ael]
                    4. Set(TIMEOUT(response)=10)                  [pbx_ael]
     [restart]      5. Background(demo-congrats)                  [pbx_ael]
     [instructions] 6. Set(x=$[0])                                [pbx_ael]
                    7. GotoIf($[ ${x} < 3]?8:12)                  [pbx_ael]
                    8. Background(demo-instruct)                  [pbx_ael]
                    9. WaitExten()                                [pbx_ael]
                    10. Set(x=$[${x} + 1])                        [pbx_ael]
                    11. Goto(7)                                   [pbx_ael]
                    12. NoOp(Finish for-ael-demo-3)               [pbx_ael]
  't' =>            1. Goto(#|1)                                  [pbx_ael]
  '_1234' =>        1. Macro(ael-std-exten-ael|${EXTEN}| "IAX2")  [pbx_ael]
[ Context 'macro-ael-std-exten-ael' created by 'pbx_ael' ]
  'a' =>            1. VoiceMailMain(${ext})                      [pbx_ael]
                    2. Goto(3)                                    [pbx_ael]
                    3. NoOp(End of Extension a)                   [pbx_ael]
  's' =>            1. Set(ext=${ARG1})                           [pbx_ael]
                    2. Set(dev=${ARG2})                           [pbx_ael]
                    3. Dial(${dev}/${ext}|20)                     [pbx_ael]
                    4. Set(~~EXTEN~~=${EXTEN})                    [pbx_ael]
                    5. Goto(sw-1-${DIALSTATUS}|10)                [pbx_ael]
                    6. NoOp(Finish switch-ael-std-exten-ael-1)    [pbx_ael]
                    7. Goto(8)                                    [pbx_ael]
                    8. NoOp(End of Macro ael-std-exten-ael-s)     [pbx_ael]
  'sw-1-' =>        10. Goto(sw-1-.|10)                           [pbx_ael]
  'sw-1-BUSY' =>    10. Voicemail(${ext}|b)                       [pbx_ael]
                    11. Goto(s|6)                                 [pbx_ael]
  '_sw-1-.' =>      10. Voicemail(${ext}|u)                       [pbx_ael]
                    11. Goto(s|6)                                 [pbx_ael]
[ Context 'ael-local' created by 'pbx_ael' ]
  Include =>        'ael-default'                                 [pbx_ael]
  Include =>        'ael-trunklocal'                              [pbx_ael]
  Include =>        'ael-iaxtel700'                               [pbx_ael]
  Include =>        'ael-trunktollfree'                           [pbx_ael]
  Include =>        'ael-iaxprovider'                             [pbx_ael]
  Ignore pattern => '9'                                           [pbx_ael]
[ Context 'ael-longdistance' created by 'pbx_ael' ]
  Include =>        'ael-local'                                   [pbx_ael]
  Include =>        'ael-trunkld'                                 [pbx_ael]
  Ignore pattern => '9'                                           [pbx_ael]
[ Context 'ael-international' created by 'pbx_ael' ]
  Include =>        'ael-longdistance'                            [pbx_ael]
  Include =>        'ael-trunkint'                                [pbx_ael]
  Ignore pattern => '9'                                           [pbx_ael]
[ Context 'ael-trunktollfree' created by 'pbx_ael' ]
  '_91800NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})        [pbx_ael]
  '_91866NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})        [pbx_ael]
  '_91877NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})        [pbx_ael]
  '_91888NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})        [pbx_ael]
[ Context 'ael-trunklocal' created by 'pbx_ael' ]
  '_9NXXXXXX' =>    1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})        [pbx_ael]
[ Context 'ael-trunkld' created by 'pbx_ael' ]
  '_91NXXNXXXXXX' => 1. Macro(ael-dundi-e164|${EXTEN:1})           [pbx_ael]
                    2. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})        [pbx_ael]
  Include =>        'ael-dundi-e164-lookup'                       [pbx_ael]
[ Context 'ael-trunkint' created by 'pbx_ael' ]
  '_9011.' =>       1. Macro(ael-dundi-e164|${EXTEN:4})           [pbx_ael]
                    2. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})        [pbx_ael]
  Include =>        'ael-dundi-e164-lookup'                       [pbx_ael]
[ Context 'ael-iaxprovider' created by 'pbx_ael' ]
[ Context 'ael-iaxtel700' created by 'pbx_ael' ]
  '_91700XXXXXXX' => 1. Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel) [pbx_ael]
[ Context 'macro-ael-dundi-e164' created by 'pbx_ael' ]
  's' =>            1. Set(exten=${ARG1})                         [pbx_ael]
                    2. Goto(${exten}|1)                           [pbx_ael]
                    3. Goto(4)                                    [pbx_ael]
                    4. NoOp(End of Macro ael-dundi-e164-s)        [pbx_ael]
[ Context 'ael-dundi-e164-lookup' created by 'pbx_ael' ]
  Include =>        'ael-dundi-e164-local'                        [pbx_ael]
  Include =>        'ael-dundi-e164-switch'                       [pbx_ael]
[ Context 'ael-dundi-e164-switch' created by 'pbx_ael' ]
  Alt. Switch =>    'DUNDi/e164'                                  [pbx_ael]
[ Context 'ael-dundi-e164-local' created by 'pbx_ael' ]
  Include =>        'ael-dundi-e164-canonical'                    [pbx_ael]
  Include =>        'ael-dundi-e164-customers'                    [pbx_ael]
  Include =>        'ael-dundi-e164-via-pstn'                     [pbx_ael]
[ Context 'ael-dundi-e164-via-pstn' created by 'pbx_ael' ]
[ Context 'ael-dundi-e164-customers' created by 'pbx_ael' ]
[ Context 'ael-dundi-e164-canonical' created by 'pbx_ael' ]
[ Context 'parkedcalls' created by 'res_features' ]
  '700' =>          1. Park()                                     [res_features]
-= 43 extensions (101 priorities) in 22 contexts. =-
The 'show dialplan' command is deprecated and will be removed in a future release. Please use 'dialplan show' instead.
  == Spawn extension (demo1, 4000, 3) exited non-zero on 'SIP/4444-081db9e8'
[Nov 28 13:08:37] NOTICE[17831]: chan_sip.c:14035 handle_request_invite: Call from '4444' to extension '44' rejected because extension not found.
  == Spawn extension (demo1, 4000, 3) exited non-zero on 'SIP/4444-081db9e8'
  == Spawn extension (demo1, 4000, 2) exited non-zero on 'SIP/4444-081db9e8'
  == Spawn extension (demo1, 4000, 3) exited non-zero on 'SIP/4444-081db9e8'
debian4*CLI>
debian4*CLI>
debian4*CLI> quit
Executing last minute cleanups