I have managed to get event subscriptions from the RealTime Speech snap-in. Unfortunately, there is some strange behavior with the event notifications that I am receiving.
During the initial phase of my service, I get multiple events of SPEECH_SEARCH_STARTED, immediately after which I receive SPEECH_SEARCH_STOPPED events.
I really do not know why. Due to this unreasonable behavior, I don't think my service actually scans the input audio stream.
Here are the notifications that I am receiving. Kindly have a look at these:
REQUEST STRING : --event-boundaryContent-Disposition: form-data; name="metadata"Content-Type: application/json; charset=UTF-8Content-Transfer-Encoding: 8bit{"eventId":"1ae-RealTimeSpeech-3.0.2.0.3-3ac92495-d73a-4b55-934b-0e0c49544aee.RealTimeSpeech-3.0.2.0.3-ac1ea237f8c1e2ab654b31a354d832efab59fbcae2a75ff89822a1fe43e0db39","subscriptionId":"RealTimeSpeech-3.0.2.0.3-ac1ea237f8c1e2ab654b31a354d832efab59fbcae2a75ff89822a1fe43e0db39","eventFamily":"SpeechSearch","eventType":"SPEECH_SEARCH_STARTED","version":"1.0.0"}--event-boundaryContent-Disposition: form-data; name="eventbody"Content-Type: application/json; charset=UTF-8Content-Transfer-Encoding: 8bit{"eventType":"SPEECH_SEARCH_STARTED","ucid":"00001001891435061371","appid":"local.1434350767464_311099","searchid":"762ROlDcTAS-NtIcCQfpIw","tags":[],"conceptMatches":[],"callingParty":{"handle":"2302","domain":"collaboratory.avaya.com","display":"SIPwCMUser 2302"},"calledParty":{"handle":"2300","domain":"collaboratory.avaya.com","display":"SIPwCMUser 2300"},"timeOfEvent":"2015-06-23 06:09:42.14"}--event-boundary--
REQUEST STRING : --event-boundaryContent-Disposition: form-data; name="metadata"Content-Type: application/json; charset=UTF-8Content-Transfer-Encoding: 8bit{"eventId":"1ae-RealTimeSpeech-3.0.2.0.3-faa88ed2-e2ab-4f64-bc5c-c656d59fac3d.RealTimeSpeech-3.0.2.0.3-94812f7c910983d4bc0e5dddb4c82a5f9af1b68d8a01f8b9355ac81db818e41a","subscriptionId":"RealTimeSpeech-3.0.2.0.3-94812f7c910983d4bc0e5dddb4c82a5f9af1b68d8a01f8b9355ac81db818e41a","eventFamily":"SpeechSearch","eventType":"SPEECH_SEARCH_STOPPED","version":"1.0.0"}--event-boundaryContent-Disposition: form-data; name="eventbody"Content-Type: application/json; charset=UTF-8Content-Transfer-Encoding: 8bit{"eventType":"SPEECH_SEARCH_STOPPED","ucid":"00001001891435061371","searchid":"762ROlDcTAS-NtIcCQfpIw","reason":"Speech Search terminated:No resource to fulfill request","tags":[],"conceptMatches":[],"timeOfEvent":"2015-06-23 06:09:42.464"}--event-boundary--
What resources is it falling short of in fulfilling the request?
Any help would be appreciated.
Thanks,
Heena
|