150 likes | 349 Views
TEL500-Voice Communications IVR using Speech Recognition in Asterisk Devesh Mendiratta Sameer Deshmukh & Srinivas Madlapelli. Outline. Introduction Flow Chart Google API Google API Interface with Asterisk Results Applications Conclusion Resources References. Introduction.
E N D
TEL500-Voice Communications IVR using Speech Recognition in Asterisk Devesh Mendiratta SameerDeshmukh & SrinivasMadlapelli
Outline • Introduction • Flow Chart • Google API • Google API Interface with Asterisk • Results • Applications • Conclusion • Resources • References
Introduction • Responses as per the input provided by User • Speech to Text Technique • c0dE: Interface of Google API (Application Programming Interface) with Asterisk • Queues • Playback the recordings
Google API Syntax : same => n,agi(googletts.agi,text,[language],[intkey]) • Text field • Language field • Intkey field
Speech agi Syntax: Same => n(record),agi(speech-recog.agi,[lang],[timeout],[intkey],[NOBEEP])
Google agi with Asterisk same => n(record),agi(speech-recog.agi,en-US) same => n,Verbose(1,Script returned: ${status} , ${id} , ${confidence} , ${utterance}) same => n,GotoIf($["${utterance}" = "business"]?sales:recheck) same => n(sales),Background(withusa)
Cont. same => n(sales),Goto(queues,801,1) same => n(recheck),GotoIf($["${utterance}" = "support"]?support:retry) same => n(support),Background(withusu) same => n,Goto(queues,802,1) same => n(retry),Background(repeat) same => n,agi(googletts.agi,"Can you please repeat more clearly?",en) same => n,goto(record)
Applications • Can be extended by including all possible options • Typical Example – AT&T • Account Recharge- Credit/Debit Card • Balance check • Customer Assistance • Surveys • Campaigning
Conclusion • Support to all types of Businesses • “Simple design” approach • Service specific, e.g. Ordering Pizza via Phone
Resources • Hardware : 3 SIP phones • Interface Files : speech-recog.agi & googletts.agi • Installation : perl-libwww, the WWW library for Perl
References • http://www.nuance.com/for-individuals/by-solution/speech-recognition/index.htm • http://zaf.github.io/asterisk-speech-recog/