[*] New Asterisk Install (another one)

M Bergen mbergen at skyweb.ca
Sun Feb 19 19:34:38 CST 2006


Hi Sean;
Here is what I get when I run 'show dialplan', it doesn't have an [incoming]
section.. was I suppose to make one? (don't you just love us newbies?!? ;-)

Asterisk 1.2.4, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for
details.ect                                              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 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.4 currently running on ombi (pid = 2555)
Verbosity is at least 3_tds.conf     indications.conf  privacy.conf
ombi*CLI> show dialplan
[ Context 'ael-demo' created by 'pbx_ael' ]r.conf      res_odbc.conf
  '#' =>            1. Playback(demo-thanks)                      [pbx_ael]
                    2. Hangup()                                   [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 at misery.digium.com)         [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]
  '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. Set(x=$[ ${x} + 1 ])                       [pbx_ael]
                    9. Background(demo-instruct)                  [pbx_ael]
                    10. WaitExten()                               [pbx_ael]
                    11. Goto(7)                                   [pbx_ael]
                    12. NoOp(Finish for-s-6)                      [pbx_ael]
  't' =>            1. Goto(#|1)                                  [pbx_ael]
  '_1234' =>        1. Macro(std-exten-ael|${EXTEN}| "IAX2")      [pbx_ael]
ombi*CLI>
[ Context 'macro-std-exten-ael' created by 'pbx_ael' ]
  'a' =>            1. VoiceMailMain(${ext})                      [pbx_ael]
                    2. return()                                   [pbx_ael]
  's' =>            1. Set(ext=${ARG1})                           [pbx_ael]
                    2. Set(dev=${ARG2})                           [pbx_ael]
                    3. Dial(${dev}/${ext}|20)                     [pbx_ael]
                    4. Goto(sw-4-${DIALSTATUS}|1)                 [pbx_ael]
                    5. NoOp(Finish switch-4)                      [pbx_ael]
  'sw-4-BUSY' =>    1. Voicemail(b${ext})                         [pbx_ael]
                    2. Goto(s|5)                                  [pbx_ael]
  '_sw-4-.' =>      1. Voicemail(u${ext})                         [pbx_ael]
ombi*CLI>
[ Context 'default' created by 'pbx_config' ]
  Include =>        'demo'
[pbx_config]
ombi*CLI>
[ 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|${CONSOLE})
[pbx_config]
  '1235' =>         1. Voicemail(u1234)
[pbx_config]
  '1236' =>         1. Dial(Console/dsp)
[pbx_config]
                    2. Voicemail(u1234)
[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 at misery.digium.com/s at 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]
  '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]

[ Context 'macro-stdPrivacyexten' created by 'pbx_config' ]
  'a' =>            1. VoicemailMain(${ARG1})
[pbx_config]
  's' =>            1. Dial(${ARG2}|20|p)
[pbx_config]
                    2. Goto(s-${DIALSTATUS}|1)
[pbx_config]
  's-BUSY' =>       1. Voicemail(b${ARG1})
[pbx_config]
                    2. Goto(default|s|1)
[pbx_config]
  's-DONTCALL' =>   1. Goto(${ARG3}|s|1)
[pbx_config]
  's-NOANSWER' =>   1. Voicemail(u${ARG1})
[pbx_config]
                    2. Goto(default|s|1)
[pbx_config]
  's-TORTURE' =>    1. Goto(${ARG4}|s|1)
[pbx_config]
  '_s-.' =>         1. Goto(s-NOANSWER|1)
[pbx_config]

[ Context 'macro-stdexten' created by 'pbx_config' ]
  'a' =>            1. VoicemailMain(${ARG1})
[pbx_config]
  's' =>            1. Dial(${ARG2}|20)
[pbx_config]
                    2. Goto(s-${DIALSTATUS}|1)
[pbx_config]
  's-BUSY' =>       1. Voicemail(b${ARG1})
[pbx_config]
                    2. Goto(default|s|1)
[pbx_config]
  's-NOANSWER' =>   1. Voicemail(u${ARG1})
[pbx_config]
                    2. Goto(default|s|1)
[pbx_config]
  '_s-.' =>         1. Goto(s-NOANSWER|1)
[pbx_config]

[ Context 'local' created by 'pbx_config' ]
  Include =>        'default'
[pbx_config]
  Include =>        'parkedcalls'
[pbx_config]
  Include =>        'trunklocal'
[pbx_config]
  Include =>        'iaxtel700'
[pbx_config]
  Include =>        'trunktollfree'
[pbx_config]
  Include =>        'iaxprovider'
[pbx_config]
  Ignore pattern => '9'
[pbx_config]

[ Context 'longdistance' created by 'pbx_config' ]
  Include =>        'local'
[pbx_config]
  Include =>        'trunkld'
[pbx_config]
  Ignore pattern => '9'
[pbx_config]

[ Context 'international' created by 'pbx_config' ]
  Include =>        'longdistance'
[pbx_config]
  Include =>        'trunkint'
[pbx_config]
  Ignore pattern => '9'
[pbx_config]

[ Context 'trunktollfree' created by 'pbx_config' ]
  '_91800NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[pbx_config]
  '_91866NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[pbx_config]
  '_91877NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[pbx_config]
  '_91888NXXXXXX' => 1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[pbx_config]

[ Context 'trunklocal' created by 'pbx_config' ]
  '_9NXXXXXX' =>    1. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[pbx_config]

[ Context 'trunkld' created by 'pbx_config' ]
  '_91NXXNXXXXXX' => 1. Macro(dundi-e164|${EXTEN:1})
[pbx_config]
                    2. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[pbx_config]

[ Context 'trunkint' created by 'pbx_config' ]
  '_9011.' =>       1. Macro(dundi-e164|${EXTEN:4})
[pbx_config]
                    2. Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
[pbx_config]

[ Context 'iaxprovider' created by 'pbx_config' ]

[ Context 'iaxtel700' created by 'pbx_config' ]
  '_91700XXXXXXX' => 1. Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel)
[pbx_config]

[ Context 'macro-dundi-e164' created by 'pbx_config' ]
  's' =>            1. Goto(${ARG1}|1)
[pbx_config]
  Include =>        'dundi-e164-lookup'
[pbx_config]

[ Context 'dundi-e164-lookup' created by 'pbx_config' ]
  Include =>        'dundi-e164-local'
[pbx_config]
  Include =>        'dundi-e164-switch'
[pbx_config]

[ Context 'dundi-e164-switch' created by 'pbx_config' ]
  Alt. Switch =>    'DUNDi/e164'
[pbx_config]

[ Context 'dundi-e164-local' created by 'pbx_config' ]
  Include =>        'dundi-e164-canonical'
[pbx_config]
  Include =>        'dundi-e164-customers'
[pbx_config]
  Include =>        'dundi-e164-via-pstn'
[pbx_config]

[ Context 'dundi-e164-via-pstn' created by 'pbx_config' ]

[ Context 'dundi-e164-customers' created by 'pbx_config' ]

[ Context 'dundi-e164-canonical' created by 'pbx_config' ]

[ Context 'parkedcalls' created by 'res_features' ]
  '700' =>          1. Park()
[res_features]

-= 48 extensions (100 priorities) in 23 contexts. =-
ombi*CLI>

-----Original Message-----
From: Sean Walberg [mailto:sean at ertw.com] 
Sent: Sunday, February 19, 2006 7:05 PM
To: Asterisk Open Source PBX SIG; mbergen at skyweb.ca
Subject: Re: [*] New Asterisk Install (another one)

On Sun, 2006-02-19 at 18:53 -0600, mbergen at skyweb.ca wrote:


> context=incoming

What's [incoming] look like in extensions.conf?  You could also try
changing to context=default just to see if you get anything.

> Asterisk Ready.

The interesting stuff comes after the call comes in...  It'll show how
it picks up the phone and figures out what to do with it, if anything.

Sean

-- 
Sean Walberg <sean at ertw.com>                http://ertw.com





More information about the Asterisk mailing list