Since Asterisk uses multiple dialplan formats, read the input using the Asterisk library utilities and parse into a data struct, then write it out to the FreeSWITCHâ„¢ format. Browser -Based No clients, apps, or sketchy plugins to install. Powerful Features HD voice and video, noise cancellation, virtual office command center, screen and file sharing, just to name a few. If you wanted to re-prompt on invalid input, you could do so by checking for when ivrlevel is 2 and ivrsel is blank and then do another play_and_get_digits and transfer back to destination_number. SignalWire Work makes remote collaboration simple and intuitive, without sacrificing security or functionality. Condition check to see if the ivrlevel is 2 and the ivr selection is 3 or blank (invalid input).Play a message about calls being monitored for QA.Condition check to see if the ivrlevel is 2 and the ivr selection is 2:.Transfer back to the destination number we originally matched on (the extension is evaluated again, go back to the start). Set the ivrlevel variable to 2 to indicate we're going to the second level of the IVR.Play the second sound and wait 5 seconds for 1 digit of either 2 or 3 (stored in the ivrsel variable).Condition check is if we've traversed the IVR before (via the ivrlevel variable), if not, the following occurs:.Condition checks destination number - this must match to continue.This is looks a little different than the original but the behaviour is the same:
0 Comments
Leave a Reply. |