cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1058
Views
0
Helpful
8
Replies
Highlighted
Beginner

"error.unsupported.format": Unsupported Grammar Exception; nested exception is: com.cisco.dialogservices.DialogServicesException: Server not found

HI,

We have difficulty getting a smple dtmf menu execution. CVP throws error as "

"error.unsupported.format": Unsupported Grammar Exception; nested exception is:

com.cisco.dialogservices.DialogServicesException: Server not found"

PFA menu.vxml page. It's just dtmf only and no ASR configured but error log says not supported. Can you please let us know what is the actually issue with and supported grammar formats?

As per cvp logs, looks like asr is getting fired:

The GetPrompt.ashx page that is referenced as the audio source of Menu.ashx is triggering the retrieval of a grammar, as shown from this log snippet.

1662322: Feb 23 10:22:54.613 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] Fetch:    http://10.52.13.190/eCI/Prompts/GetPrompt.ashx?L=1&G=0&T=2&I=1000
1662332: Feb 23 10:22:54.916 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] Play:     http://10.52.13.190/eCI/Prompts/GetPrompt.ashx?L=1&G=0&T=2&I=1000
1662334: Feb 23 10:22:54.916 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] FormItemTraverser:handlMenuElement(): adding dtmf choice grammar string =

1662349: Feb 23 10:22:54.918 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] VBGrammarHandler.addInlineGrammer(): application/srgs+xml
1662497: Feb 23 10:22:54.931 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] playAndRecognize Listen:  
1662499: Feb 23 10:22:54.931 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] GrammarManager ltInLineGrammar:(type: application/srgs+xml )
1662500: Feb 23 10:22:54.931 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] DialogServicesAdapterImpl :: selectDialogService srgsFlag:rootGrammarTypeIsSRGS +true:true
1662505: Feb 23 10:22:54.942 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] DialogServicesAdapterImpl :: Switched to MRCP mode
1662506: Feb 23 10:22:54.942 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] DialogServicesAdapterImpl activiteAllGrammar:(size: 9 )
1662507: Feb 23 10:22:54.942 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] DialogServicesAdapterImpl :: activiteUniverselGrammar
1662508: Feb 23 10:22:54.942 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] DialogServicesAdapterImpl Grammar:(size: 9 )
1662509: Feb 23 10:22:54.942 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] GrammarManager ltInLineGrammar:(type: application/srgs+xml )
1662510: Feb 23 10:22:54.942 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] DialogServicesAdapterImpl :: activiting srgs universel grammar
1662511: Feb 23 10:22:54.942 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] DialogServicesAdapterImpl:

Activite in-Line Grammer:choice3@field.grammar

1662512: Feb 23 10:22:54.947 CST %MIVR-SS_MRCP_ASR-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] Entering activateGrammar() - type=com.cisco.grammar.SRGSDomGrammar, grammar=SRGS[ecma_var=,DOM=<?xml version="1.0" encoding="ISO-8859-1"?>

<grammar mode="dtmf" root="root" version="1.0" xml:lang="en-US" xmlns="http://www.w3.org/2001/06/grammar">

     <rule id="root" scope="public">

         <one-of>

             <item>

                  1

             </item>

         </one-of>

     </rule>

</grammar>


,base_url=null]
1662513: Feb 23 10:22:54.947 CST %MIVR-SS_MRCP_ASR-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] activateGrammar() - grammar ID: choice3@field.grammar, Modal: false
1662514: Feb 23 10:22:54.947 CST %MIVR-SS_MRCP_ASR-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] activateGrammar() - params: DialogParameters[session_xml_content=null,base.uri=(java.lang.String)http://10.52.13.190/eCI/Menu/Menu.ashx?L=English&G=0&ID=1000&O=100&CID=XMS-21311,asr_server=null,fetch.timeout=(java.lang.Integer)10000,grammar.max.stale=(java.lang.Integer)0,grammar.max.age=(java.lang.Integer)300]
1662515: Feb 23 10:22:54.947 CST %MIVR-SS_MRCP_ASR-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708]ERROR: ASRProvMgr:getServer:  The provider- provider0 has no servers configured. Return null to the requesting channel.
1662516: Feb 23 10:22:54.947 CST %MIVR-SS_MRCP_ASR-3-SUBSYSTEM_MRCP_ASR_NO_SERVER_FOUND::Undefined mnemonic 'SUBSYSTEM_MRCP_ASR_NO_SERVER_FOUND': Param_0=1

8 REPLIES 8
Highlighted
Rising star

Studio and VXML Server always create 'field' tags - not 'menu' tags

(menu is just a short cut for a field). The 2 grammars below are created

by VXML Server and are valid formats for the grammars. You should

probably  mimic them, rather than try to start from scratch.

Also see the IOS VXML Programming guide for examples and documentation.

Highlighted

Hi Janine,

We just want to understand with whatever choice element that is available in menu.vxml sent I .e.

<choice dtmf="1" next="Menu.ashx?L&#61;English&#38;G&#61;0&#38;ID&#61;1000&#38;O&#61;100&#38;CID&#61;XMS-21311&#38;DET&#61;1"/>


how CVP interprets this as ,if you see the log, we see that browser switching to MRCP mode...

1662505: Feb 23 10:22:54.942 CST %MIVR-SS_VB-7-UNK:[CALLID=A161EAF317EC11E8B379D5E8FD0EA99E-15194029723708] DialogServicesAdapterImpl :: Switched to MRCP mode..


Not clear on how or why CVP is switching to MRCP mode...


We would need some suggestions around this how can we adjust this so that CVP doesn't switch to MRCP  mode because with our earlier experience , for speech to be invoked, choice element should be something like this:


<choice dtmf="1" next="Menu.ashx?L&#61;English&#38;G&#61;0&#38;ID&#61;1000&#38;O&#61;100&#38;CID&#61;XMS-21311&#38;DET&#61;1">one</choice>



SO need to understand how CVP interprets below 3 cases, one only dtmf, 2nd with dtmf and speech and 3rd case,only speech:


1 - <choice dtmf="1" next="Menu.ashx?L&#61;English&#38;G&#61;0&#38;ID&#61;1000&#38;O&#61;100&#38;CID&#61;XMS-21311&#38;DET&#61;1"/>

2 - <choice dtmf="1" next="Menu.ashx?L&#61;English&#38;G&#61;0&#38;ID&#61;1000&#38;O&#61;100&#38;CID&#61;XMS-21311&#38;DET&#61;1">one</choice>

3 - <choice next="Menu.ashx?L&#61;English&#38;G&#61;0&#38;ID&#61;1000&#38;O&#61;100&#38;CID&#61;XMS-21311&#38;DET&#61;1">words</choice>





Highlighted

HI,

Can we get some help on the request we posted related to menu and choice element as how it's interpreted by cisco voic e browser. and is there any possibility of mrcp getting switched in case of first choice element case mentioned below?

SO need to understand how CVP interprets below 3 cases, one only dtmf, 2nd with dtmf and word value speicifed and 3rd case, only words:


1 - <choice dtmf="1" next="Menu.ashx?L&#61;English&#38;G&#61;0&#38;ID&#61;1000&#38;O&#61;100&#38;CID&#61;XMS-21311&#38;DET&#61;1"/>

2 - <choice dtmf="1" next="Menu.ashx?L&#61;English&#38;G&#61;0&#38;ID&#61;1000&#38;O&#61;100&#38;CID&#61;XMS-21311&#38;DET&#61;1">one</choice>

3 - <choice next="Menu.ashx?L&#61;English&#38;G&#61;0&#38;ID&#61;1000&#38;O&#61;100&#38;CID&#61;XMS-21311&#38;DET&#61;1">words</choice>




Highlighted

****When you post a question, please indicate your CVP version, and which of  IOS VB or VVB you have***

1) How  are you  invoking your vxml page? 

1A) If you're calling it from an ICM script, you must set user.microapp.input_type to "D" else the VB thinks you're using speech reco.

1B)If you're calling it from a SubdialogInvoke in Studio, then under Project/Properties/CallStudio/General - set Gateway to DTMF Only

1C)If you're calling it some other way, then I don't know the answer. But you can figure it out. Creaet an ICM Menu microapp. Then in the routing script, before you invoke it, set user.microapp.input_type to "D". Then see what is sent to the VB. Then you'll know how Cisco enables just DTMF.

Highlighted

HI Janine,

CVP version is 11.6(1).

We are invoking vxml page through subdialog invoke from call studio and Project/Properties/CallStudio/General is already set do cisco dtmf.


We have tried setting other option voicexml2.0 with cisco dtmf as well but no difference ins results.


We have even tried setting the property for input modes to dtmf and univsersals to none as well but result is same. We see issue happening only with menu where it is invoking MRCP. Using form-field-grammar element has no issue.

Please advise..

Highlighted

It might be a VVB bug - they've been known to exist!

Can you try this on an IOS voice browser system?

Highlighted

Thank you..Wiill check..

We have tried one setting with DTMF="true" for Menu element which didn't work before but now we atleast here the menu  prompt and when we press a key for dtmf, we get a different error

error.badfetch: Menu dtmf=true and choice dtmf is not * # or 0



PFA attached menu.vxml. We don't need any options for *,# and adding choice element for same didn't make any difference and we are not clear what this error means.: Can you please advise?

.

Highlighted

Is  there a reason you can't just  switch the format to use and dtmf?

Content for Community-Ad
Cisco Community October 2020 Spotlight Award Winners