[Asterisk-Users] mainmenu problems

Mark lan-group at monmouth.com
Tue Apr 27 08:42:06 MST 2004


Hello,

The system works fine for outbound calls and inbound DID but the main 
number fails to dead air then a fast busy. Almost like a bad route. My 
telco is sending me 4 digits and it works fine for the DID but the main 
fails. This was working but after a reboot is when it started to fail. Any 
ideas or help would be really appreciated

Thanks

Mark

below is (what I think) the relevant part of extensions.conf

[default]
exten => 165,1,Wait(2)
exten => 165,2,VoicemailMain(${CALLERIDNUM})
exten => 165,3,Wait(2)
exten => 165,4,Hangup

include => extension
include => outbound
include => record


[inbound]
exten => _.,1,Goto(mainmenu,${EXTEN},1)


[mainmenu]
exten => 8000,1,DigitTimeout(10)
exten => 8000,2,ResponseTimeout(10)
exten => 8000,3,Ringing
exten => 8000,4,Wait(3)
exten => 8000,5,Answer
exten => 8000,6,Wait(2)
exten => 8000,7,BackGround(mainmenu)
exten => t,1,Goto(8000,7)
exten => 0,1,Wait(2)
exten => 0,2,Playback(pls-wait-connect-call)
exten => 0,3,Wait(3)
exten => 0,4,Ringing
exten => 0,5,Wait(10)
exten => 0,6,Playback(vm-nobodyavail)
exten => 0,7,Wait(3)
exten => 0,8,Goto(mainmenu,8000,7)

include => extension

[extension]
; Ken, 103
exten => 103,1,Macro(extension-dial|103|SIP/103)
; Patty, 115
exten => 115,1,Macro(extension-dial|115|SIP/115)
; Kyle, 130
exten => 130,1,Macro(extension-dial|130|SIP/130)
; Mark, 171
exten => 171,1,Macro(extension-dial|171|SIP/171)
;exten => 8000,1,Macro(extension-dial|171|SIP/171)
; Eric, 181
exten => 181,1,Macro(extension-dial|181|SIP/181)
; Lewis, 188
exten => 188,1,Macro(extension-dial|188|SIP/188)
; Keith, 271
exten => 271,1,Macro(extension-dial|271|SIP/271)
exten => 1952,1,Macro(extension-dial|271|SIP/271)


[macro-extension-dial]
exten => s,1,Dial(${ARG2}|20|tr)
exten => s,2,Voicemail(u${ARG1})
exten => s,3,Wait(4)
exten => s,4,Hangup
exten => s,102,Voicemail(b${ARG1})
exten => s,103,Wait(4)
exten => s,104,Hangup  




More information about the asterisk-users mailing list