Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background / Timeout extension (this should really work!) 1

Status
Not open for further replies.

nauliv

Technical User
Feb 7, 2006
40
US
Hello All,


Maybe it's because it's 1AM... I can't have the "t" extension work with Background()...

The particular context is super simple:

= = = = = = = = = = = = = = = = = = = = = = = = = = = =

[mainmenu]
exten => s,1,ResponseTimeout(3)
exten => s,2,Background(mainmenu)

exten => t,1,Playback(invalid)
exten => t,2,Goto(mainmenu,s,1)

exten => 2,1,Goto(contact,s,1)

exten => 3,1,Goto(hoursdir,s,1)

exten => _1ZZ,1,SayDigits(${EXTEN})
exten => _1ZZ,n,Goto(s,1)

exten => i,1,Playback(invalid)
exten => i,2,Goto(s,1)

= = = = = = = = = = = = = = = = = = = = = = = = = = = =

When dialing the number, i hear the main menu playback,
all options work fine.. But if i don't enter any option,
the call is being hanged up, and asterisk consoles
indicates:
-- Playing 'mainmenu' (language 'en')
== Auto fallthrough, channel 'Zap/1-1' status is 'UNKNOWN'
-- Hungup 'Zap/1-1'

I really can't see why the "t" extension doesn't work...
Tried with/without ReponseTimeout().. no luck.
This is Asterisk 1.2.12

Thanks much !
 
Hi nauliv,

Did you get a resolution on this problem? I am running into the exact same issue!!

- Asterisk 1.2.14
- RedHat 9

Victor
 
Victor, Lee,


Still the exact same problem, even including this:
exten=> s,1,Answer()
exten=> t,1,Answer()


I still don't get what the problem can be....
 
Works like a charm !
Thanks LeeMason !!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top