ive got such code in perl for IVR:

loop until sth {
             if (no previous option) {
                  option= get_data(main menu)
              }
             if (no such option) {
                   next:
             }
                // processing
             ...
                //
}


If user chooses option that does not exist, the loop starts all over
again. First if is processed, but get_data does not play the message. It
is omitted somehow. It is played only i the first iteration. It is
executed, as option is set to empty.



-- 
Pozdrowienia,
Dariusz Dwornikowski  -  ProAdmin
www.proadmin.com.pl
tel: 503936103



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • } Dariusz Dwornikowski
    • Re: } Dariusz Dwornikowski

Reply via email to