Call Menu, jump to after timeout
Posted: Wed Aug 03, 2011 8:57 am
Hello Everyone.
I'm trying to build a simple IVR where the user selects between choices and listens to a recording. However I would like that after this recording is played it would return to the main menu.
Currently the main menu plays fine, if I select an option it plays the recording fine, but afterwards it hangups up the call, not returning to main menu.
I am trying with setting in CALL MENU for all the options:
-Timeout = 0
- NONE for timeout Prompt or invalid prompt
- and then OPTION = INVALID
- and route CALLMENU pointing to my main menu.
For some reason the calls just finishes.
Any pointers are welcome!
Thank you!
Alex
VERSION: 2.4-324a
BUILD: 110707-1402
Ubuntu Server 11.04
I'm trying to build a simple IVR where the user selects between choices and listens to a recording. However I would like that after this recording is played it would return to the main menu.
Currently the main menu plays fine, if I select an option it plays the recording fine, but afterwards it hangups up the call, not returning to main menu.
I am trying with setting in CALL MENU for all the options:
-Timeout = 0
- NONE for timeout Prompt or invalid prompt
- and then OPTION = INVALID
- and route CALLMENU pointing to my main menu.
For some reason the calls just finishes.
- Code: Select all
-- Executing [XXXXXX@trunkinbound:1] AGI("SIP/gs102-00000018", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
-- AGI Script agi-DID_route.agi completed, returning 0
-- Executing [s@mainmenu:1] AGI("SIP/gs102-00000018", "agi-VDAD_inbound_calltime_check.agi|-----NO-----mainmenu--------------------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
-- AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
-- Executing [s@mainmenu:2] BackGround("SIP/gs102-00000018", "ivrmainmenu") in new stack
-- <SIP/gs102-00000018> Playing 'ivrmainmenu' (language 'en')
-- Executing [1@mainmenu:1] Goto("SIP/gs102-00000018", "choice2|s|1") in new stack
-- Goto (trayectoria,s,1)
-- Executing [s@trayectoria:1] AGI("SIP/gs102-00000018", "agi-VDAD_inbound_calltime_check.agi|-----NO-----choice2--------------------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_inbound_calltime_check.agi
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
-- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
-- AGI Script agi-VDAD_inbound_calltime_check.agi completed, returning 0
-- Executing [s@choice2:2] BackGround("SIP/gs102-00000018", "choice2rec") in new stack
-- <SIP/gs102-00000018> Playing 'choice2rec' (language 'en')
== Auto fallthrough, channel 'SIP/gs102-00000018' status is 'UNKNOWN'
-- Executing [h@choice2:1] DeadAGI("SIP/gs102-00000018", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
Any pointers are welcome!
Thank you!
Alex
VERSION: 2.4-324a
BUILD: 110707-1402
Ubuntu Server 11.04