
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 12:49 PM - edited 02-03-2021 08:23 AM
We are trying to invoke a 3rd party VXML document using the Invoke Subdialog node in CVP. The URL executes successfully and a portion of the VXML document is received (actual size is 7k but only 2k received) in VVB but then a connection error is thrown: VXMLDocumnet.loadbAndParse().aThread.run(): got vbe (VBEvent type) =error.badfetch: Connection refused (Connection refused); nested exception is:
java.net.ConnectException: Connection refused (Connection refused)
Has anyone successfully invoked a 3rd party VXML document in VVB 12.5 or any other version?
Additional information - after additional testing, we have determined it's the DOCTYPE declaration causing the Connection Refused. What VVB changes are needed to allow this doc type?
<!DOCTYPE vxml PUBLIC '-//W3C//DTD VOICEXML 2.1//EN' 'http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.dtd'>
Solved! Go to Solution.
- Labels:
-
UCCE
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2021 08:11 AM
Solution provided by Cisco TAC.
It appears to be a permission issue when VVB accessing the entire path 'http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.dtd' which you can check with third party.
Try this work around.
1. On CVP media server IIS path, create a folder path as shown below and create a vxml.dtd file.
>> c:\inetpub\wwwroot\TR\2007\REC-voicexml21-20070619
>> vxml.dtd
2. On VVB configure www.w3.org in host-to-ip entry to point to IIS.
admin: show vvb host-to-ip
IPAddress HostName
# This file is managed by hosts_mgr.sh
127.0.0.1 localhost
xx.xx.xx.xx www.w3.org
Command successful.
3. Copy the contents of vxml.dtd file from 'http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.dtd' to the file in IIS.
So this way we fake www.w3.org some internal server from which VVB will get the file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 05:52 PM
Is this the size issue you're mentioning? This is for an older version but perhaps something similar?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 05:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2021 05:01 PM
I wonder if this defect is talking about your issue or more around audio files, but it might be worth looking into?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 05:27 AM
No, we've been able to determine it's the DOCTYPE declaration which is referencing an internet based DTD and the VVB does not have internet access. Anyone found any workarounds for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 06:07 AM
Leave it out. At the bare minimum, just use this --
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<vxml version=\"2.1\">
... etc ...
</vxml>

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 06:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 07:07 AM
I'm sure you've already considered it but do you have the option to reference the DTD on the same server on which the VoiceXML is located?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 07:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 07:59 AM
I might not be following, but would any option be to have the VVB use an internet proxy to reach this document, if VVB doesn't have direct internet access? It appears that's an option with set speechserver httpsProxy host <hostname> for instance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 10:44 AM
That is an option but requires an enterprise security exception which we would prefer not to do at this point.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2021 08:11 AM
Solution provided by Cisco TAC.
It appears to be a permission issue when VVB accessing the entire path 'http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.dtd' which you can check with third party.
Try this work around.
1. On CVP media server IIS path, create a folder path as shown below and create a vxml.dtd file.
>> c:\inetpub\wwwroot\TR\2007\REC-voicexml21-20070619
>> vxml.dtd
2. On VVB configure www.w3.org in host-to-ip entry to point to IIS.
admin: show vvb host-to-ip
IPAddress HostName
# This file is managed by hosts_mgr.sh
127.0.0.1 localhost
xx.xx.xx.xx www.w3.org
Command successful.
3. Copy the contents of vxml.dtd file from 'http://www.w3.org/TR/2007/REC-voicexml21-20070619/vxml.dtd' to the file in IIS.
So this way we fake www.w3.org some internal server from which VVB will get the file.
