Nesting Verbs within Gather

Jan 22, 2011 at 6:15 PM



I am currently using the TSL.NET service and can't seem to figure out what changes need to be made to allow the nesting of the <Say> and <Play> verbs.  On the verbgather.cs page there is an indication that nesting can be optionally done(See below). Can someone please let me know what modifications need to be made? I've been struggling with this for two days now. Thanks.


/// You may optionally
    /// nest <Say> and <Play> verbs within a <Gather> verbs while waiting for input.
    /// This allows you to read menu options to caller while letting them enter a
    /// menu selection at any time. After the first digit is received, the audio will
    /// stop playing.

Jan 22, 2011 at 6:28 PM

The error I receive is that Gather verb does not support nested child nodes

Jan 23, 2011 at 5:13 AM

I believe this other discussion has the solution you need:

I never did post a new solution with the update documented there. I'm working on the v2010 API update and will post the latest code for both v2008 and v2010 when possible.

Jan 24, 2011 at 12:44 AM

Thank you so much Tony!!! Worked like a charm!