<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Unable to play media file from path in App media library ECC variable</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=9552549" />
  <subtitle>Unable to play media file from path in App media library ECC variable</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=9552549</id>
  <updated>2013-05-22T23:02:43Z</updated>
  <dc:date>2013-05-22T23:02:43Z</dc:date>
  <entry>
    <title>RE: New Message from GOPALASRINIVASAN KUPPUSWAMY in Customer Voice Portal (</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9626150" />
    <author>
      <name>GEOFFREY THOMPSON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9626150</id>
    <updated>2012-12-20T20:43:56Z</updated>
    <published>2012-12-20T20:43:56Z</published>
    <summary type="html">&gt;&gt;&gt;&gt;After restrating the VRU PG. I could see the user.microapp.app_media_lib variable and fetching the wavefile also works.

Always good to restart things.

I’m glad it’s working because, as things go, this is a trivial part of the configuration – you will have other fish to fry.

Regards,
Geoff</summary>
    <dc:creator>GEOFFREY THOMPSON</dc:creator>
    <dc:date>2012-12-20T20:43:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Hemal Mehta in Customer Voice Portal (CVP) - CVP - All</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9625498" />
    <author>
      <name>GOPALASRINIVASAN KUPPUSWAMY</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9625498</id>
    <updated>2012-12-20T20:19:51Z</updated>
    <published>2012-12-20T20:19:51Z</published>
    <summary type="html">Hi All,
After restrating the VRU PG. I could see the user.microapp.app_media_lib variable and fetching the wavefile also works.
Thanks,
Gopal.</summary>
    <dc:creator>GOPALASRINIVASAN KUPPUSWAMY</dc:creator>
    <dc:date>2012-12-20T20:19:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Hemal Mehta in Customer Voice Portal (CVP) - CVP - All</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9616390" />
    <author>
      <name>GEOFFREY THOMPSON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9616390</id>
    <updated>2012-12-20T16:29:56Z</updated>
    <published>2012-12-20T16:29:56Z</published>
    <summary type="html">&gt;&gt;&gt;&gt;The way I do it is set app_media_lib to “..” and then assign peripheral variable7 (in my case) to “abc\1.wav”. It will play the wav 1.wav file from en-us\app\abc. Works 100%

That’s certainly not the way it was intended to be used, but of course it works. Far better to set the app_media_lib to “app/abc” (forwarded slashes please in URLs) then assign the PV to the wav file 1.wav and use the microapp PM,-7.

It seems to me that the ECC variable is not being passed to the CVP server. Did the original poster spell it correctly?

user.microapp.app_media_lib

Regards,
Geoff</summary>
    <dc:creator>GEOFFREY THOMPSON</dc:creator>
    <dc:date>2012-12-20T16:29:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Janine Graves in Customer Voice Portal (CVP) - CVP - A</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9613627" />
    <author>
      <name>Hemal Mehta</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9613627</id>
    <updated>2012-12-20T15:42:56Z</updated>
    <published>2012-12-20T15:42:56Z</published>
    <summary type="html">The way I do it is set app_media_lib to “..” and then assign peripheral variable7 (in my case) to “abc\1.wav”.  It will play the wav 1.wav file from
en-us\app\abc.  Works 100%
Hemal

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Wednesday, December 19, 2012 9:55 PM
To: cdicuser@developer.cisco.com
Subject: New Message from Janine Graves in Customer Voice Portal (CVP) - CVP - All Versions: Re: New Message from GOPALASRINIVASAN KUPPUSWAMY in Customer Voice Portal (

Janine Graves has created a new message in the forum "CVP - All Versions": -------------------------------------------------------------- The question is whether your app_media_lib variable is being read, or truncated, or something else. Why not start by creating a new folder directly under en-us, name it 'abc' and copy your welcome.wav into the en-us/abc directory. In the routing script, set the app_media_lib variable to contain "abc" If you still see 'app' in the URL - then you'll know that there's a disconnect between your assigning the app_media_lib and the value being sent to the IVR Service on the call server. Many other people use your method and it works. We can't help you narrow down the problem remotely until you start trying some things.
--
To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/9596049 or simply reply to this email.</summary>
    <dc:creator>Hemal Mehta</dc:creator>
    <dc:date>2012-12-20T15:42:56Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from GOPALASRINIVASAN KUPPUSWAMY in Customer Voice Portal (</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9596049" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9596049</id>
    <updated>2012-12-20T03:54:56Z</updated>
    <published>2012-12-20T03:54:56Z</published>
    <summary type="html">The question is whether your app_media_lib variable is being read, or truncated, or something else. Why not start by  creating a new folder  directly under en-us, name it 'abc' and copy your welcome.wav into the en-us/abc directory. In the routing script, set the app_media_lib variable to contain "abc" If you still see 'app' in the URL - then you'll know that there's a disconnect between your assigning the app_media_lib and the value being sent to the IVR Service on the call server. Many other people use your method and it works. We can't help you narrow down the problem remotely until you start trying some things.</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2012-12-20T03:54:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from GOPALASRINIVASAN KUPPUSWAMY in Customer Voice Portal (</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9596013" />
    <author>
      <name>GOPALASRINIVASAN KUPPUSWAMY</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9596013</id>
    <updated>2012-12-20T03:51:32Z</updated>
    <published>2012-12-20T03:50:44Z</published>
    <summary type="html">Yes geoff, I have them set.  I could NOT see this parameter in the CVP logs.  I mean I cannot see user.microapp.app_media_lib = "app/Test"  in the CVP log file.   Thanks, Gopal.</summary>
    <dc:creator>GOPALASRINIVASAN KUPPUSWAMY</dc:creator>
    <dc:date>2012-12-20T03:50:44Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Dipika Gupta in Customer Voice Portal (CVP) - CVP - Al</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9593942" />
    <author>
      <name>GOPALASRINIVASAN KUPPUSWAMY</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9593942</id>
    <updated>2012-12-20T03:45:13Z</updated>
    <published>2012-12-20T03:45:13Z</published>
    <summary type="html">Hi Janine,
The problem is not with mediaserver.  The problem is that user.microapp.app_media_lib parameter is not showing in the CVP Logs. I could see all other microapps variable. except user.microapp.app_media_lib .
I have my script with user.microapp.app_media_lib = "app/test". I have varaible length set to 20. But The variable is not passed to CVP.  so cvp generate the media fetch like this [url=http://172.xx.xx.xxx/en-us/app/welcome.wav]http://172.XX.XX.XXX/en-us/app/welcome.wav[/url]
Media fetch error occurs as I don't have the wavefile under app folder.  IF I move the wavefile to app folder , I could hear the wavefile.
 
Thanks,
Gopa.</summary>
    <dc:creator>GOPALASRINIVASAN KUPPUSWAMY</dc:creator>
    <dc:date>2012-12-20T03:45:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Dipika Gupta in Customer Voice Portal (CVP) - CVP - Al</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9592343" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9592343</id>
    <updated>2012-12-20T01:15:28Z</updated>
    <published>2012-12-20T01:15:28Z</published>
    <summary type="html">IF this does work, then you can try moving the "abc' folder under the 'app' folder on the media server and try reassigning the app_media_lib variable to "app/abc" and see if that works.
 </summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2012-12-20T01:15:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Dipika Gupta in Customer Voice Portal (CVP) - CVP - Al</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9592338" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9592338</id>
    <updated>2012-12-20T01:14:29Z</updated>
    <published>2012-12-20T01:14:29Z</published>
    <summary type="html">Gopal,
Are you using IIS as the media server? Or are you using Apache Tomcat? Do you have more than one media server?
Until you get this working why don't you change the contents of your user.microapp.media_server variable to a hard-coded IP address using a Set Variable node instead of using "mediaserver". 
Why don't you try creating a new folder on your media server directly under en-us, name it 'abc' and copy your welcome.wav into the en-us/abc directory.
In the routing script, set the app_media_lib variable to contain "abc" 
Then select your RunExtScript node with PM,welcome.wav,A  (remember that if you are using Tomcat or Apache as the media server, then it's case sensitive).
If this doesn't work, then what do you see in the CallServer logs?
 </summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2012-12-20T01:14:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from GOPALASRINIVASAN KUPPUSWAMY in Customer Voice Portal (</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9592191" />
    <author>
      <name>GEOFFREY THOMPSON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9592191</id>
    <updated>2012-12-20T00:55:56Z</updated>
    <published>2012-12-20T00:55:56Z</published>
    <summary type="html">The ECC variable app_media_lib needs to be equal to “app/Test”.

Regards,
Geoff</summary>
    <dc:creator>GEOFFREY THOMPSON</dc:creator>
    <dc:date>2012-12-20T00:55:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from GOPALASRINIVASAN KUPPUSWAMY in Customer Voice Portal (</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9590376" />
    <author>
      <name>GEOFFREY THOMPSON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9590376</id>
    <updated>2012-12-20T00:55:56Z</updated>
    <published>2012-12-20T00:55:56Z</published>
    <summary type="html">The ECC variable app_media_lib needs to be equal to “app/Test”.

Regards,
Geoff</summary>
    <dc:creator>GEOFFREY THOMPSON</dc:creator>
    <dc:date>2012-12-20T00:55:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Dipika Gupta in Customer Voice Portal (CVP) - CVP - Al</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9589342" />
    <author>
      <name>GOPALASRINIVASAN KUPPUSWAMY</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9589342</id>
    <updated>2012-12-19T23:10:40Z</updated>
    <published>2012-12-19T23:10:40Z</published>
    <summary type="html">Hi Geoff,
I did audio-prompt load for the [url=http://mediaserver/en-us/app/Test/abc.wav]http://mediaserver/en-us/app/Test/abc.wav[/url] and works fine in gateway.
The issue is that user.microapp.app_media_lib  is not showing in CVP logs,  so instead of [url=http://mediaserver/en-us/app/Test/abc.wav]http://mediaserver/en-us/app/Test/abc.wav[/url] 
CVP creates a media fetch URL as [url=http://mediaserver/en-us/app/abc.wav]http://mediaserver/en-us/app/abc.wav[/url] and ends up in media fetch error,
Any thoughts why this is happening?
Thanks,
Gopal.</summary>
    <dc:creator>GOPALASRINIVASAN KUPPUSWAMY</dc:creator>
    <dc:date>2012-12-19T23:10:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Dipika Gupta in Customer Voice Portal (CVP) - CVP - Al</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9565572" />
    <author>
      <name>GEOFFREY THOMPSON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9565572</id>
    <updated>2012-12-19T15:38:56Z</updated>
    <published>2012-12-19T15:38:56Z</published>
    <summary type="html">Does the gateway have an entry in the IP host table for your keyword “mediaserver”? This must specify the IP address of the Media Store. Once you add the entry, run “ping mediaserver” to check. You can use any keyword you like in ICM – there is nothing special about the word “mediaserver”.

Run debug voice application vxml inout on your gateway to see the errors. Remember, the gateway executes the VXML and “mediaserver” means nothing to it if you don’t have a mapping.

You can call “audio-prompt load http://mediaserver/en-us/app/Welcome.wav” to ensure the mapping and path is correct.

Regards,
Geoff</summary>
    <dc:creator>GEOFFREY THOMPSON</dc:creator>
    <dc:date>2012-12-19T15:38:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to play media file from path in App media library ECC variable</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9558741" />
    <author>
      <name>Dipika Gupta</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9558741</id>
    <updated>2012-12-19T11:14:01Z</updated>
    <published>2012-12-19T11:14:01Z</published>
    <summary type="html">Hi Gerard ,
The lenghth is also fine 20 , no typos .
I am directly giving the name of wav file using PM,Welcome.wav
Still not working</summary>
    <dc:creator>Dipika Gupta</dc:creator>
    <dc:date>2012-12-19T11:14:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: Unable to play media file from path in App media library ECC variable</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9556836" />
    <author>
      <name>Gerard O&amp;#039;Rourke</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9556836</id>
    <updated>2012-12-19T10:29:32Z</updated>
    <published>2012-12-19T10:29:32Z</published>
    <summary type="html">Dipika,
Check that the ECC variable length for user.microapp.app_media_lib is long enough to store your folder name "app/test" (i.e. &gt; than a length of 8).
Check that the ECC variable is 100% correct (no typos), e.g. user.microapp.app_media_lib
I assume you are using the play Media Micro App?
[b]PM,-10,A[/b]
Where -10 = where you set the name of the audio file in Peripheral Variable 10, and then run the above micro app?
Gerry</summary>
    <dc:creator>Gerard O&amp;#039;Rourke</dc:creator>
    <dc:date>2012-12-19T10:29:32Z</dc:date>
  </entry>
  <entry>
    <title>Unable to play media file from path in App media library ECC variable</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9552548" />
    <author>
      <name>Dipika Gupta</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9552548</id>
    <updated>2012-12-19T08:02:11Z</updated>
    <published>2012-12-19T08:02:11Z</published>
    <summary type="html">Hi all ,
I want to play media file Welcome.wav from a particular folder named test which I have created in the app folder of en-us in my media server .In my ICM routing script i am giving the value of ECC variable user.microapp.app_media_lib = "app/test" and user.microapp.locale = "en-us" and trying to play a media file from the folder test created in app of en-us . But the CVP logs are showing me the error 
[i][b]Media Fetch Error for URL=http://mediaserver/en-us/app/[/b][b]Welcome.wav[/b][/i] [i][b]. [/b][/i]
Why is it not taking the path that I have specified in my app media library variable ? i.e. why it is not considering my test folder in its path ? [i][b]
[/b][/i]
If I play my media file Welcome.wav from outside the test folder i.e from the app folder(http://mediaserver/en-us/app/Welcome.wav) it plays fine . 
Please let me know if I am missing something Or is there some place where default path is defined in IIS so it is always taking that path and not the new path that I am giving in my user.microapp.app_media_lib variable.
Thanks,
Dipika Gupta</summary>
    <dc:creator>Dipika Gupta</dc:creator>
    <dc:date>2012-12-19T08:02:11Z</dc:date>
  </entry>
</feed>

