08-22-2016 03:32 AM
Hi guys, i continue my friend's UCCE project, and i'm stuck at CVP audio issue. If i make a call to ICM with toVXML configured (SendtoCallStudio.jpg), audio from those call studio script cached to VXML Gateway successfully. But when i ring ICM script (ICM Script.jpg), i received "Media fetch error" from CVP logs and 404 from VXML Gateway.
Verification Done:
media_server in ICM Script configured with "http:/<cvp server IP>:7000/CVP"
locale = en-us; media_lib pointed to app/test
IIS server pointed to default location which is %ServerDisk%\inetpub\wwwroot
Tried access media url (http:/x.x.x.x:7000/CVP/en-us/test/Welcome.wav) from browser received tomcat 404 file not found.
Restart CVP Server, VXML Gateway, PG, still got "media fetch error" (IIS & CVP error logs attached)
Then i tried to remove port 7000 along with "CVP" in media_server (http:/x.x.x.x), and after that everythings working, Welcome.wav cached to VXML gateway.
What actually happen here?
What did i miss and how to configure http:/x.x.x.x:7000/CVP pointed to inetpub\wwwroot?
Solved! Go to Solution.
08-22-2016 06:28 AM
ICM microapps use this algorithm (with the contents of the user.microapp
variables inserted) to play the audio file when using
PM,filename,A or PM, filename:
http://user.microapp.media_server/user.microapp.locale/user.microapp.app_media_lib/filename.wav
*
*
*So if your audio files are served by IIS (C:\inetput\wwwroot\en-us\app)
then you'd set:*
user.microapp.media_server = "media_server" (or whatever is on the gateway)
user.microapp.locale="en-us" (en-us is the default, so you can omit
this from the icm script)
user.microapp.app_media_lib = "app" (app is the default so you can omit
this from the icm script, unless you'd set it to something else
previously, like "..")
*
*
*However, if your audio files are served by VXMLServer's Tomcat (not
really recommended)
(C:\Cisco\CVP\VXMLServer\Tomcat\webapps\CVP\audio\en-us\app) then you'd
set:*
user.microapp.media_server = "http://vxmlserver_ip:7000/CVP/audio" (or
whatever is on the gateway)
user.microapp.locale="en-us" (en-us is the default, so you can omit
this from the icm script)
user.microapp.app_media_lib = "app" (app is the default so you can omit
this from the icm script, unless you'd set it to something else
previously, like "..")
*
*
*
*
*
*
*
*
*
*
08-23-2016 06:27 AM
Thanks for pointing me to the right direction guys. I hope i could mark both answer as correct answer.
10-28-2019 01:08 PM
Guys I am seeing these two error codes (other than 404 http requests)
Any clue what 202 and or 187 are?
2019-10-04 11:12:04 ***.***.***.*** GET /en-us/app/base.AfterHours.wav - 80 - 137.15.82.162 Cisco-IOS-C3900e/15.4 304 0 0 202
2019-10-04 12:59:46 ***.***.***.*** GET /en-us/app/base.AfterHours.wav - 80 - 137.15.82.162 Cisco-IOS-C3900e/15.4 304 0 0 187
10-29-2019 01:22 AM
Lee,
These are not errors.
The 304 (4th last column) means that the file has not been modified (the client did a HTTP get with the header If-Modified-Since header set to the date of the file it had in cache).
The server replies back with a 304 - which means the file has not been modified since that date - and the client continuous to use the file it has in cache.
So this is much more efficient than downloading the file again.
The last column which you have highlighted is just the number of Milliseconds it took IIS to process that request.
Gerry
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide