[Asterisk-Users] fatal embrace control in menus ?

Todd Lieberman todd at tlsolutions.net
Sun Aug 24 02:08:33 MST 2003


I just repeat line 2, e.g.

exten => s,1,Play(Greeting)
exten => s,2,Background(Menu Sound)
exten => s,3,Background(Menu Sound)





John Brown wrote:

>Hi, 
>
>	So how does one keep this from happening.
>
>(note, the following is fake code)
>
>exten => s,1,Play(Greeting)
>exten => s,2,Background(Menu Sound)
>exten => s,3,goto(s,2)
>
>How does one control the number of times s,3 gets executed??
>
>The issue is this.
>
>1. Call comes in via PSTN, * answers the call, starts to play
>   things, caller hangs up.  Menu loops for quite some time :)
>
>2. Call comes in via PSTN, * answers the call, start to play things
>   caller does nothing on the first pass thru the menu.
>
>   I want the menu to repeat X times and then disconnect if no
>   action from the claller.
>
>
>samples of extensions.conf would be really appreciated
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>  
>





More information about the asterisk-users mailing list