Example CRTP URI Specifications
The following are example CRTP protocol URIs:
-
crtp:/Prompts/AA/Welcome
-
crtp:/SPrompts/lang,en-US,fr-FR-EURO/gen/number/one.wav
-
crtp:/Documents/lang,en-GB/VXML/main_menu.vxml
-
crtp:/SGrammars/lang,en-US-NY/AA/main_menu.tgl?accept=application/srgs+xml,text/uri-list&index=0,2,1
In the last, most complex example:
-
The main_menu.tgl system grammar file is referenced in the AA directory, located by searching the language context defined by the language named “en-US-NY.”
-
The grammar requested in the main_menu.tgl system grammar file is a SRGS and XML grammar or a text grammar from a URI-list of sub-grammars.
-
The uri-list of sub-grammars in this case is a compound grammar that contains compound grammars.
-
The requested grammar is accessed from the list of compound grammars through the index pointers, starting with #0.
-
Index #0 indicates the first grammar in the compound grammar at the first level. Index #2 indicates the third grammar in the compound grammar in the second level, pointed to by index #0 in the first level. Index #1 is the second grammar in the compound grammar in the third level, pointed to by index #2 in the second level.
-