Answered No Match on Grammar/Record Result?

  • Monday, April 16, 2012 12:03 PM
     
     

    Is there a way to have a no match/wildcard in a grammar? I've built a system that will be calling a LOT of different people and they want to record the names of who answers the phone. There's no way to enter every single possible name, so I was hoping there might be a way to do a catch-all instead of it saying the input doesn't exist.

    Similarly, is there a way to just record a snippet of audio from the workflow? That way I could save the name in case they need to go back to it.

All Replies

  • Monday, April 16, 2012 12:37 PM
     
     Answered

    Your best bet is probably to create a custom workflow activity that uses the UCMA Recorder class to capture a recording of the name. The code you write in the custom activity would get a reference to the AudioVideoCall object from the CallProvider on the CommunicationsSequenceActivity that contains your other workflow activities, and would hook up the Recorder to the flow object for the call.

    Here's some documentation on creating custom activities: http://msdn.microsoft.com/en-us/library/ms734413(v=vs.90).aspx


    Michael Greenlee | linkedin: http://www.linkedin.com/in/michaelgreenlee | blog: http://blog.greenl.ee

    • Marked As Answer by k.connors Tuesday, April 17, 2012 1:44 PM
    •  
  • Tuesday, April 17, 2012 1:44 PM
     
     
    Thanks for the tip! Worked like a charm :D