[asterisk-bugs] [Asterisk-GUI 0012539]: Allow restart Voice Menu from given step

noreply at bugs.digium.com noreply at bugs.digium.com
Sun May 4 12:49:00 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12539 
====================================================================== 
Reported By:                litnimax
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   12539
Category:                   General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-28-2008 07:03 CDT
Last Modified:              05-04-2008 12:48 CDT
====================================================================== 
Summary:                    Allow restart Voice Menu from given step
Description: 
Currenly in Asterisk GUI we have actions:
- Goto menu
- Goto extention
- Hangup
- Play Invalid.
If you choose i => Play Invalid binding every wrong choice results in
remote party disconnect (hangup). And he must dial again. It's not good.
I see 2 choices:
- Refactor Play invalid so that it will just play invalid and wait for
next choice (possible good solution)
- Add new action "Restart from step", which is a simple Goto to the same
context to the given priority. It will add a very good flexibility. Also
why not add "Goto context" action with selection of context, exten and
prio?

Thx.
====================================================================== 

---------------------------------------------------------------------- 
 litnimax - 05-04-08 12:48  
---------------------------------------------------------------------- 
Ok. Let me give more explanation.
1) Extensions:
[voicemenu-custom-1]
comment = Main
alias_exten =
exten = s,1,Answer
exten = s,2,Wait(0.5)
exten = s,3,Background(/var/lib/asterisk/sounds/record/welcome_main)
exten = s,4,WaitExten(5)
exten = s,5,Goto(default|100|1)
include = default
exten = 0,1,Goto(default|100|1)
exten = 1,1,Goto(default|101|1)
exten = 2,1,Goto(default|102|1)
exten = 3,1,Goto(default|103|1)
exten = i,1,Playback(invalid)


2) Call log:
    -- Invalid extension '4' in context 'voicemenu-custom-1' on
SIP/799-082027b8
  == CDR updated on SIP/799-082027b8
    -- Executing [i at voicemenu-custom-1:1] Playback("SIP/799-082027b8",
"invalid") in new stack
    -- <SIP/799-082027b8> Playing 'invalid' (language 'en')
  == Auto fallthrough, channel 'SIP/799-082027b8' status is 'UNKNOWN'
explorer*CLI> 

As you can see the call was ended after playing back invalid as there were
no more priorities.

3) Screenshot. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-04-08 12:48  litnimax       Note Added: 0086377                          
======================================================================




More information about the asterisk-bugs mailing list