Вторник (05/25/10)

/dev/tty1
15:21:50
#asterisk -rvv
Asterisk 1.4.21.2~dfsg-3+lenny1, 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+lenny1 currently running on linux2 (pid = 9440)
Verbosity is at least 3
linux2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
201/201                    192.168.2.3      D          2048     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux2*CLI> dialplan show
[ Context 'default' created by 'pbx_config' ]
  '8000' =>         1. Answer()                                   [pbx_config]
                    2. Wait(1)                                    [pbx_config]
                    3. Playback(demo-thanks)                      [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]
-= 27 extensions (66 priorities) in 21 contexts. =-
linux2*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status
201/201                    192.168.2.3      D          2048     Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]
linux2*CLI> exit
Executing last minute cleanups