Made the changes as suggested and listed the log info afterwards from the console. This is asterisk 1.2.15 and the type the dial 1237 and receive the following:
No such extension ‘1237’ in context local
[general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no
;
[globals]
CONSOLE=Console/dsp
CONSOLE=Zap/1
CONSOLE=Phone/phone0
IAXINFO=guest
;IAXINFO=myuser:mypass
TRUNK=Zap/g2
;
[incoming]
;
exten => s,n,Answer()
exten => s,n,Set(TIMEOUT(digit)=5)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n(restart),BackGround(demo-congrats)
exten => s,n(instruct),BackGround(demo-instruct)
exten => s,n,WaitExten
exten => 2,1,BackGround(demo-moreinfo)
exten => 2,n,Goto(s,instruct)
exten => 3,1,Set(LANGUAGE()=en)
exten => 3,n,Goto(s,restart)
exten => 1000,1,Goto(default,s,1)
;
exten => 1234,1,Playback(transfer,skip)
exten => 1234,n,Macro(stdexten,1234,${CONSOLE})
exten => 1235,1,Voicemail(u1234)
exten => 1236,1,Dial(Console/dsp)
exten => 1236,n,Voicemail(u1234)
exten => #,1,Playback(demo-thanks)
exten => #,n,Hangup
exten => t,1,Goto(#,1)
exten => i,1,Playback(invalid)
;
exten => s,1,Answer()
exten => s,2,Background(1237)
exten => 1237,1,Dial(Zap/1,15,r)
exten => 1237,2,Playback(vm-nobodyavail)
exten => 1237,3,Hangup()
exten => 1237,1238,Playback(tt-allbusy)
exten => 1237,1238,Hangup()
exten => 1237,1,Dial(Zap/4/12126996099)
; Create an extension, 500, for dialing the
; Asterisk demo.
;
exten => 500,1,Playback(demo-abouttotry)
exten => 500,n,Dial(IAX2/guest@misery.digium.com/s@default )
exten => 500,n,Playback(demo-nogo)
exten => 500,n,Goto(s,6)
;
; Create an extension, 600, for evaluating echo latency.
;
exten => 600,1,Playback(demo-echotest)
exten => 600,n,Echo
exten => 600,n,Playback(demo-echodone)
exten => 600,n,Goto(s,6)
;
; Give voicemail at extension 8500
;
exten => 8500,1,VoicemailMain
exten => 8500,n,Goto(s,6)
;
[default]
LOG INFO
Sep 22 08:24:23 WARNING[3330] config.c: parse error: No category context for line 1 of /etc/asterisk/extensions.conf
Sep 22 08:24:23 WARNING[3330] pbx.c: Requested contexts didn’t get merged
Sep 22 08:31:49 VERBOSE[3365] logger.c: == Parsing ‘/etc/asterisk/extensions.conf’: Sep 22 08:31:49 VERBOSE[3365] logger.c: == Parsing ‘/etc/asterisk/extensions.conf’: Found
Sep 22 08:31:49 VERBOSE[3365] logger.c: == Setting global variable ‘CONSOLE’ to 'Console/dsp’
Sep 22 08:31:49 VERBOSE[3365] logger.c: == Setting global variable ‘CONSOLE’ to 'Zap/1’
Sep 22 08:31:49 VERBOSE[3365] logger.c: == Setting global variable ‘CONSOLE’ to 'Phone/phone0’
Sep 22 08:31:49 VERBOSE[3365] logger.c: == Setting global variable ‘IAXINFO’ to 'guest’
Sep 22 08:31:49 VERBOSE[3365] logger.c: == Setting global variable ‘TRUNK’ to 'Zap/g2’
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Registered extension context 'incoming’
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Can’t use ‘next’ priority on the first entry!
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘s’ priority -2 to incoming
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Can’t use ‘next’ priority on the first entry!
Sep 22 08:31:49 WARNING[3365] pbx.c: Unable to register extension ‘s’, priority -2 in ‘incoming’, already in use
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Unable to register extension at line 18
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Can’t use ‘next’ priority on the first entry!
Sep 22 08:31:49 WARNING[3365] pbx.c: Unable to register extension ‘s’, priority -2 in ‘incoming’, already in use
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Unable to register extension at line 19
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Can’t use ‘next’ priority on the first entry!
Sep 22 08:31:49 WARNING[3365] pbx.c: Unable to register extension ‘s’, priority -2 in ‘incoming’, already in use
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Unable to register extension at line 20
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Can’t use ‘next’ priority on the first entry!
Sep 22 08:31:49 WARNING[3365] pbx.c: Unable to register extension ‘s’, priority -2 in ‘incoming’, already in use
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Unable to register extension at line 21
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Can’t use ‘next’ priority on the first entry!
Sep 22 08:31:49 WARNING[3365] pbx.c: Unable to register extension ‘s’, priority -2 in ‘incoming’, already in use
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Unable to register extension at line 22
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘2’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘2’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘3’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘3’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1000’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1234’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1234’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1235’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1236’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1236’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘#’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘#’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘t’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘i’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘s’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘s’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1237’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1237’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1237’ priority 3 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘1237’ priority 1238 to incoming
Sep 22 08:31:49 WARNING[3365] pbx.c: Unable to register extension ‘1237’, priority 1238 in ‘incoming’, already in use
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Unable to register extension at line 45
Sep 22 08:31:49 WARNING[3365] pbx.c: Unable to register extension ‘1237’, priority 1 in ‘incoming’, already in use
Sep 22 08:31:49 WARNING[3365] pbx_config.c: Unable to register extension at line 46
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘500’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘500’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘500’ priority 3 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘500’ priority 4 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘600’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘600’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘600’ priority 3 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘600’ priority 4 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘8500’ priority 1 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Added extension ‘8500’ priority 2 to incoming
Sep 22 08:31:49 VERBOSE[3365] logger.c: – Registered extension context 'default’
Sep 22 08:32:20 VERBOSE[3366] logger.c: – Starting simple switch on 'Zap/1-1’
Sep 22 08:32:24 DEBUG[3366] chan_zap.c: DTMF digit: 1 on Zap/1-1
Sep 22 08:32:24 DEBUG[3366] chan_zap.c: Hangup: channel: 1 index = 0, normal = 23, callwait = -1, thirdcall = -1
Sep 22 08:32:24 DEBUG[3366] chan_zap.c: disabled echo cancellation on channel 1
Sep 22 08:32:24 DEBUG[3366] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1
Sep 22 08:32:24 DEBUG[3366] chan_zap.c: Updated conferencing on 1, with 0 conference users
Sep 22 08:32:24 VERBOSE[3366] logger.c: – Hungup 'Zap/1-1’
Sep 22 08:32:27 VERBOSE[3369] logger.c: – Starting simple switch on 'Zap/1-1’
Sep 22 08:32:33 DEBUG[3369] chan_zap.c: Exception on 23, channel 1
Sep 22 08:32:33 DEBUG[3369] chan_zap.c: Got event On hook(1) on channel 1 (index 0)
Sep 22 08:32:33 DEBUG[3369] chan_zap.c: disabled echo cancellation on channel 1
Sep 22 08:32:33 DEBUG[3369] chan_zap.c: waitfordigit returned < 0…
Sep 22 08:32:33 DEBUG[3369] chan_zap.c: Hangup: channel: 1 index = 0, normal = 23, callwait = -1, thirdcall = -1
Sep 22 08:32:33 DEBUG[3369] chan_zap.c: disabled echo cancellation on channel 1
Sep 22 08:32:33 DEBUG[3369] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1
Sep 22 08:32:33 DEBUG[3369] chan_zap.c: Updated conferencing on 1, with 0 conference users
Sep 22 08:32:33 VERBOSE[3369] logger.c: – Hungup 'Zap/1-1’
Sep 22 08:32:37 VERBOSE[3372] logger.c: – Starting simple switch on 'Zap/1-1’
Sep 22 08:32:40 DEBUG[3372] chan_zap.c: Exception on 23, channel 1
Sep 22 08:32:40 DEBUG[3372] chan_zap.c: Got event On hook(1) on channel 1 (index 0)
Sep 22 08:32:40 DEBUG[3372] chan_zap.c: disabled echo cancellation on channel 1
Sep 22 08:32:40 DEBUG[3372] chan_zap.c: waitfordigit returned < 0…
Sep 22 08:32:40 DEBUG[3372] chan_zap.c: Hangup: channel: 1 index = 0, normal = 23, callwait = -1, thirdcall = -1
Sep 22 08:32:40 DEBUG[3372] chan_zap.c: disabled echo cancellation on channel 1
Sep 22 08:32:40 DEBUG[3372] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/1-1
Sep 22 08:32:40 DEBUG[3372] chan_zap.c: Updated conferencing on 1, with 0 conference users
Sep 22 08:32:40 VERBOSE[3372] logger.c: – Hungup 'Zap/1-1’
Sep 22 08:33:19 VERBOSE[3378] logger.c: – Starting simple switch on 'Zap/4-1’
Sep 22 08:33:20 VERBOSE[3378] logger.c: – Executing Answer(“Zap/4-1”, “”) in new stack
Sep 22 08:33:20 DEBUG[3378] chan_zap.c: Took Zap/4-1 off hook
Sep 22 08:33:20 DEBUG[3378] chan_zap.c: Enabled echo cancellation on channel 4
Sep 22 08:33:20 DEBUG[3378] chan_zap.c: No echo training requested
Sep 22 08:33:20 VERBOSE[3378] logger.c: – Executing BackGround(“Zap/4-1”, “1237”) in new stack
Sep 22 08:33:20 WARNING[3378] file.c: File 1237 does not exist in any format
Sep 22 08:33:20 WARNING[3378] file.c: Unable to open 1237 (format unknown): No such file or directory
Sep 22 08:33:20 WARNING[3378] pbx.c: ast_streamfile failed on Zap/4-1 for 1237
Sep 22 08:33:20 VERBOSE[3378] logger.c: == Auto fallthrough, channel ‘Zap/4-1’ status is 'UNKNOWN’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '“Chu,Katsuodo” <2129292200>'
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '2129292200’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is 's’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is 'incoming’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is 'Zap/4-1’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '(null)'
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is 'BackGround’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '1237’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '2007-09-22 08:33:20’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '2007-09-22 08:33:20’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '2007-09-22 08:33:20’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '0’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '0’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is 'ANSWERED’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is 'DOCUMENTATION’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '(null)'
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '1190464399.3’
Sep 22 08:33:20 DEBUG[3378] pbx.c: Function result is '(null)'
Sep 22 08:33:20 DEBUG[3378] chan_zap.c: Hangup: channel: 4 index = 0, normal = 24, callwait = -1, thirdcall = -1
Sep 22 08:33:20 DEBUG[3378] chan_zap.c: disabled echo cancellation on channel 4
Sep 22 08:33:20 DEBUG[3378] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/4-1
Sep 22 08:33:20 DEBUG[3378] chan_zap.c: Updated conferencing on 4, with 0 conference users
Sep 22 08:33:20 VERBOSE[3378] logger.c: – Hungup 'Zap/4-1’
Sep 22 08:35:09 VERBOSE[3365] logger.c: Executing last minute cleanups
Sep 22 08:35:09 VERBOSE[3365] logger.c: == Destroying musiconhold processes
Sep 22 08:35:09 DEBUG[3365] res_musiconhold.c: killing 3335!
Sep 22 08:35:10 DEBUG[3365] res_musiconhold.c: mpg123 pid 3335 and child died after 0 bytes read