130 likes | 210 Views
Configuring CME for CRS 5.0 & ASR Grammar. CRS-specific Elements on the Router. Here is a log from telnet:
E N D
CRS-specific Elements on the Router • Here is a log from telnet: • Cisco2800#conf t Enter configuration commands, one per line. End with CNTL/Z. Cisco2800(config)#voice service voip Cisco2800(conf-voi-serv)#callmonitor Cisco2800(conf-voi-serv)#gcid Cisco2800(conf-voi-serv)#allow-connections sip to sip Cisco2800(conf-voi-serv)#sip
CRS-specific Elements on the Router • Here is a log from telnet: • Cisco2800#conf t Enter configuration commands, one per line. End with CNTL/Z. Cisco2800(config)#voice service voip Cisco2800(conf-voi-serv)#callmonitor Cisco2800(conf-voi-serv)#gcid Cisco2800(conf-voi-serv)#allow-connections sip to sip Cisco2800(conf-voi-serv)#sip
Configure CRS-specific elements on the Router • Cisco2800(conf-serv-sip)#header-passing Cisco2800(conf-serv-sip)#registrar server Cisco2800(conf-serv-sip)#exit Cisco2800(conf-voi-serv)#exit • Cisco2800(config)#voice class codec 1 Cisco2800(config-class)#codec preference 1 g711ulaw bytes 80 Cisco2800(config-class)#exit • Cisco2800(config)#voice register global Cisco2800(config-register-global)#mode cme
Configure CRS-specific elements on the Router • Cisco2800(config-register-global)#max-pool 50 Cisco2800(config-register-global)#max-dn 100 Cisco2800(config-register-global)#exit Cisco2800(config)#presence Cisco2800(config-presence)#presence call-list Cisco2800(config-presence)#allow subscribe Cisco2800(config-presence)#watcher all Cisco2800(config-presence)#exit Cisco2800(config)#sip Cisco2800(config)#sip-ua Cisco2800(config-sip-ua)#presence enable Cisco2800(config-sip-ua)#exit
Configure CRS-specific elements on the Router • Cisco2800(config)#ip http server Cisco2800(config)#ixi transport http Cisco2800(conf-xml-trans)#response size 64 Cisco2800(conf-xml-trans)#no shutdown Cisco2800(conf-xml-trans)#exit Cisco2800(config)#telephony-service Cisco2800(config-telephony)#xml user axluser password cisco 15 Cisco2800(config-telephony)#transfer-pattern .T Cisco2800(config-telephony)#exit Cisco2800(config)#ixi application cme Cisco2800(conf-xml-app)#no shutdown Cisco2800(conf-xml-app)#exit
IP Phone Agent Specific Configuration • Cisco2800(config-telephony)#url services http://20.1.1.252:6293/ipphone/jsp/sciphonexml/IPAgentInitial.jspCisco2800(config-telephony)#url authentication http://20.1.1.252:6293/ipphone/jsp/sciphonexml/IPAgentAuthenticate.jsp
Editor Steps: TTS Text Input Variable Types • String Constant • Good for specifying fixed text within the workflow • To specify text of another language just copy and paste • String Variable • Good for variable text within the workflow • File or URL Document Variable • Good for changing the text input w/o changing the workflow • Necessary if need to do TTS for long text-like emails • Performance consideration, limit text file size < 20K
SGRS Grammars • XML-based grammars • W3C Speech Recognition Grammar Specification (SRGS) • Inline grammar to recognize “open a window”, see student text • External grammar files (.grxml) are uploaded with CRS Administration Grammar Management • See example of SRGS grammar in student text
GSL Grammars • Rule/Sub Grammar: Statement describing what phrases to recognize • Rule Name: Name of the Rule • Grammar Expression: Describes the phrases to recognize
GSL Grammars GSL Grammar Expressions • [ ] Only one of the words in list must match • () All words in list must match • ? Following word or phase is optional • { } Specifies a Slot value pair, example: {<month> <day>}
GSL Grammars GSL Grammar Example • Digits [one two three four five six seven eight nine zero] • Rule Name: Digits • Only one word to recognize: “one two three four five six seven eight nine or zero” • Valid phrase: “one” • Valid phrase: “one five seven” • Invalid phrase: “one hundred fifty seven”
GSL Grammars Another GSL Grammar Example • Howmany (I [want need] Digits [pencil pencils]) • Rule Name: Howmany • Word to recognize: “I” • Only one word to recognize: “want” or “need” • Another Rule Name: Digits (one, two, three, …) • Only one word to recognize: “pencil” or “pencils” • Valid phrase: “I want six pencils.” • Valid phrase: “I need one pencil.” • Invalid phrase: “Gimme some pencils.”