CVP Studio mediaserver faiover

For microapps I simply use ip host mediaserver = CVP1 IP and ip host mediaserver-backup = CVP2 IP and set media_server var = "mediaserver" and RunExtScript failsover and sue the backup mediaserver in case of an issue.
But for CVP Studio Projects, I set audio_path = mediaserver/CVP/app/en-gb for e.g. and this works - as in Studio projects can resolve mediaserver = CVP1 IP.
But in case CVP1 is down, mediaserver-backup = CVP2 does not gets resolved automaticaly and call fails at play audio.
How to get Studio projects audio prompts to use mediaserver-backup please?
Thanks & Regards,
Kartik Bhatia

mediaserver
mediaserver-backup 
above are redundancy mechanism that CVP call server IVR service uses to fetch media.
if mediaserver is not available, it automatically appends mediaserver-backup and try to fetch file from there.(this is there for asr tts also,)
so this mechanism will work well for your most of  the microapps, as they all use CVP call servers IVR service to create VXML page and serves gateway.
coming to audium script, it is loaded on VXML server so VXML server is responsible for creating VXML page and serving to VG and there is no such mechanism like this in VXML server,
you have to completely rely on load balancer like ACE to achieve redundancy.
i hope this answers your query correctly.
regards
chintan
~please rate if helpful

Similar Messages

  • CVP studio Audio elements return immediately?

    (CVP/ICM 8.5, comprehensive, using CVP studio)
    This may be a dumb question, but is it normal for CVP studio Audio steps to enter and exit immediately? I have the issue where if I have a queue loop with just audio steps, it produces a log file like this:
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,newcall,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,ani,9191234567
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,areacode,919
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,exchange,636
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,dnis,2101
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,uui,NA
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,iidigits,NA
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,parameter,callid=A6259096FDEA11E08654CF2A44831DBA
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,parameter,_dnis=2101
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,,start,parameter,_ani=9191234567
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.112,CVP Subdialog Start_01,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.128,CVP Subdialog Start_01,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.128,NoCBPleaseHold1,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.132,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold1,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBPleaseHold2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.144,NoCBCCMusic2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold1,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold1,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBPleaseHold2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.159,NoCBCCMusic2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold1,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.179,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold1,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.179,NoCBCCMusic,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.179,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBPleaseHold2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.175,NoCBCCMusic2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold1,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold1,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold1,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBCCMusic,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.190,NoCBPleaseHold2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBPleaseHold2,exit,done
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBCCMusic2,enter,
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBCCMusic2,interaction,audio_group,initial_audio_group
    172.28.201.51.1319510917112.484.NoCBQueue,10/24/2011 22:48:37.206,NoCBCCMusic2,exit,done
    [ and so on]
    The PleaseHold1 and 2 prompts are about 7-10 seconds, and the music ones are 30 minutes each. These acutally play, and to the caller it sounds like everything is working well, except the CVP call server is over there blowing up the logs...like 60KB of new data every second per call. I ran a http client debug on the VXML gateway and it appears that it just keeps making repeated requests for the data. This seems to happen on every audio step across all of the scripts that I have, except I never noticed it because they have elements besides just audio steps that seem to cause it not to be an issue. The logs seem to only blow up like this if I have a loop in CVP with just audio steps.
    The only workaround I've found is to run through the loop once, return to ICM, then re-invoke it.
    Robby

    Try using getdigit to play the prompt and music file with interdigit timeout as 1 sec and number of retries as 1. This would avoid all the logs. However, it will add 1 sec delay, which would be certainly unnoticed.
    Manoj Anantha

  • CVP Studio apps for CCB - passing data between apps

    Hello,
    we currently have UCCE 9.0(4) with CVP 9.0(4) and have Courtesy Callback working with the out-of-the box ICM script and CVP studio apps.
    In the ICM script when we it passed the qname to the CallbackEntry app, I have added another field called comp for company name to be used within that app. That seems to work great so that I can choose a different SetQueueDefault node depending on which company I am using for CCB (each company needs to use a different Calling Line ID value as well as a different Maximum Estimated Wait Time),
    The problem I am experiencing now is that I am trying to use this same comp field within the CallbackWait app so that I can play a different announcement to the caller depending on which company is being used (ex. This is a callback for Company A for..., or This is a callback for Company B for....). It always hits the Return Exit State of that decision node since it doesn't have that comp value available.
    Does anyone know how I can pass that comp value from the CallbackEntry CVP Studio app to the other apps so that they can all access it and make decisions from it?
    I'm still new to CVP and CCB so I'm not familiar with what I can do with it yet.
    Is there any documentation available for CVP Studio Apps that would explain how this can be done?
    I would appreciate any help with this.
    Thanks,
    Joe

    You may want to consider a single sign-on (SSO) solution. Consult the documentation for your application server to see what SSO solutions they support.

  • CVP Studio Post Call Survey Application?

    Hi
    Is anyone aware of any "sample" Post Call Survey Studio applications or materials that are out there?  I am having to build one for the project I'm working on and it would be helpful to have a reference/template.
    Thanks
    Walter

    Hi Nathan,
    Were you able to resolve this issue? I am faced with the same problem. I was able to get this working by forwarding the call out to my testing toll free number via an ICM label that then comes back into CVP with a new DN. This is working but isn't an ideal solution. Any help would be appreciated.
    Best regards,
    Jason K

  • CVP DBLookup cursor/concurrency type

    I was just wondering if anyone has used the standard DBLookup step in CVP against an SQL 2005 database.
    I have developed a simple CVP application which does database lookup on the DTMF digits entered, to select a single field from the database based on the digits.
    In tomcat, I am getting the following error. "com.microsoft.sqlserver.jdbc.SQLServerException: The cursor type/concurrency combination is not supported"
    This is using the standard CVP studio DB Lookup step and occurs when restarting tomcat when it tries to load my application. Is there something I need to do to successfully connect to a SQL 2005 database?
    Thanks
    Alex

    Hi Geoff,
    I appreciate your help.
    The context.xml and web.xml are defined in the .../VXMLServer/Tomcat/conf folder
    I have defined the JNDI in the context.xml. (I've removed the IP Address and passwords).
        WEB-INF/web.xml
        jdbc/MOTS_DB" 
              auth="Container"
               type="javax.sql.DataSource"
               maxActive="100"
               maxIdle="30"
               maxWait="10000"
               username="mots"
               password=""
               driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
               url="jdbc:sqlserver://:1433;DatabaseName=MOTS_DB;"/>
    In the web.xml folder I have defined the following:
             MOTS  
             jdbc/MOTS_DB  
            javax.sql.DataSource  
            Container  
    This is my DBLookup.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    single
    MOTS_DB
    SELECT SkillGroup FROM MOTS WHERE MOTS={0}]]>
    Here is the error. This is on the .../logs/GlobalErrorLog
    12/06/2011 02:33:35.493, SERVER ERROR: An error occurred while loading application 'ATT_Enter_MOTS'.
    com.audium.server.AudiumException: There was a problem creating the database tables for the user management system.
                at com.audium.server.controller.AudiumServerConfiguration.initialize(AudiumServerConfiguration.java:856)
                at com.audium.server.controller.AudiumServerConfiguration.initializeAll(AudiumServerConfiguration.java:739)
                at com.audium.server.controller.ControllerInitializer.(Controller.java:3484)
                at com.audium.server.controller.ControllerInitializer.doInitialization(Controller.java:3501)
                at com.audium.server.controller.Controller.init(Controller.java:371)
                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
                at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
                at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
                at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
                at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
                at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
                at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
                at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
                at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
                at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
                at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
                at org.apache.catalina.core.StandardService.start(StandardService.java:448)
                at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
                at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
                at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    Root Cause: com.audium.server.userManagement.LoggingException: com.microsoft.sqlserver.jdbc.SQLServerException: The cursor type/concurrency combination is not supported.
                at com.audium.server.userManagement.ApplicationLogger.getApplication(ApplicationLogger.java:78)
                at com.audium.server.userManagement.UserManagementLoggerAPI.getApplication(UserManagementLoggerAPI.java:132)
                at com.audium.server.userManagement.UserManagementLoggerAPI.addApplication(UserManagementLoggerAPI.java:120)
                at com.audium.server.controller.AudiumServerConfiguration.initialize(AudiumServerConfiguration.java:853)
                at com.audium.server.controller.AudiumServerConfiguration.initializeAll(AudiumServerConfiguration.java:739)
                at com.audium.server.controller.ControllerInitializer.(Controller.java:3484)
                at com.audium.server.controller.ControllerInitializer.doInitialization(Controller.java:3501)
                at com.audium.server.controller.Controller.init(Controller.java:371)
                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
                at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
                at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
                at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
                at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
                at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
                at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
                at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
                at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
                at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
                at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
                at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
                at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
                at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
                at org.apache.catalina.core.StandardService.start(StandardService.java:448)
                at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
                at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:585)
                at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
                at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

  • CVP and the java files

    Hi All;
    Where could I find the java (jar files) that are using by the CVP to integrate with the database? Is it in the CVP Studio or the CVP VXML Server?
    This jar files are used by the script to do a queries and execute some functionalities on the CRM application.
    Any advise?
    Regards
    Bilal

    I will see if I can get you a screenshot, im being very literally. In CVP Studio when you drag the action element in, it says "class"..
    under here just put your class in as referenced above.  'TestClass()'  just like that, and of course if you want you can pass in parameters..
    Upload the jar file to VXMLServer/common/lib ...  restart the VXML server process on the server or through OAMP.
    Upload the application with OAMP, if its new it will automatically deploy, and if its old you need to go under VMXLServer/Applications//admin/ and there is an update_app.bat file or something like that you must run..
    You should now be able to place a call in, which runs that CVP app and run that class..
    You can check the VXMLServer/Applications//logs to see the CVP app and a bit about the running of the app to make sure it ran, and what each element returned.
    Does this make sense?  I will work on that screenshot.
    Cheers,
    Chad

  • No Custom Class in CVP Session?

    Hi,
    I feel a little like I've just moved into The Twilight Zone here - is this a newbie question?
    In my CVP VXML application, I have 2 custom elements that use a custom class.  In the beginning of the call flow, I create an instance of the class, assign it to session, and then later in the call flow I retrieve it from session.
    CustomObject myAmazingObject = new CustomObject();
    actionData.setSessionData("amazingObject", myAmazingObject);
    When the object is retrieved from session, I got a ClassCastException when retrieving it, so I added some slightly more defensive code:
    CustomObject existingObject = null; //(CustomObject) actionData.getSessionData("amazingObject");
    Object anObject = actionData.getSessionData("amazingObject");
    System.out.println( "THE OBJECT IS: " + anObject.getClass().getName() );
    if( anObject instanceof CustomObject )
         existingObject = (CustomObject) anObject;
    What I'm wondering is, why the full classname is printed correctly in the logs but the instanceof test fails!
    What I need to find out is what needs to happen in order to be able to store/retrieve user-defined classes in the CVP session.  Is there a reason this would not be possible?  Strings work fine, more "creative" objects seem to be disallowed...
    Does the jar containing the object need to be in a special place maybe?
    Thanks,
    Chris

    Apparently what happened here is a side-effect of the "Magical Cache Syndrome".  :-) 
    It appears as though Eclipse or the CVP plugins creates a serialized cache of any jars added to a CVP Studio Project, and there may be a test in the caching mechanism that does not update the cache if only the serialVersionUID changes.  Thus the package+class name is the same, but the runtime instance becomes incompatible.  Maybe?
    Changing the package name of the object, rebuilding, redeploying, fixed the issue.
    Then again, it may not be a builder issue.  It may also be a Tomcat session issue (it uses serialization when bouncing to retain data), though with no active callers in the test environment I'm not sure why Tomcat would even retain a session, and wouldn't the "updateApp" command clobber it?
    Does anyone have any detailed technical information on how this entire mechanism works?  I only like magic tricks I can fully explain... :-)
    Thanks,
    Chris

  • Run CVP updateapp.bat from outsite

    Dear all,
    When I write or modify a application on CVP studio, then I deploy it to CVP VXML server. The problem is that i need to remote desktop to CVP XML server to run the updateapp.bat.
    Are there any way that I can run this file from outsite. Because I have a customer with a CVP studio also, this customer use the same our CVP VXML server.
    I don't want to permit them to remote desktop to my CVP.
    This is the code of this batch file:
    @echo off
    REM Copyright (c) 1999-2007 Cisco Systems, Inc
    REM All rights reserved
    SETLOCAL
    for /f "delims=" %%j in ('cd') do set currDir=%%j
    %CVP_HOME%\jre\bin\java -classpath "..\..\..\admin\admin.jar;..\..\..\lib\framework.jar" com.audium.client.admin.AppUpdate "%currDir%" %1 %2
    ENDLOCAL
    if not {%1} == {noconfirm} pause
    Can i modify on it and run it from outsite?

    David,
    To use jconsole go to you java_home\bin run jconsole.exe choose remote process redio button.
    Fill the value in textbox hostname or ip address of your CVP server and port(9696) like (localhost:9696) and press button connect, you will be connected(Username and password not required).
    There you will get some option, goto in MBean>cisco vxml server>voice application and use whatever option you want.
    Also wait for some time after pressing status or update button, it will take some time to show you result.
    cheers

  • UCCE Pulling Data from Active Directory

    Greetings,
    Is it possible to pull data from Active Directory using caller ANI, and then pass first name, last name, etc... to Finesse through call variables?
    This is for an IT support line of business where callers are internal.
    Either through ICM or CVP Studio application?
    Thanks a lot,
    Mike

    You can write custom element in CVP, A Java class (Standard Action Element) which will connect to your Active Director using standard LDAP protocol and query information based on telephone number.
    then put the data in some variable and pass it back to ICM.
    look at this : http://docs.oracle.com/javase/tutorial/jndi/ops/index.html
    Regards
    Chintan

  • CVP call studio and default audio

    Not sure if this should get posted here or on the development forum but it's getting posted here anyways...
    We have 4 combo boxes in our CVP deployment so we have 4 media servers. I'm trying to figure out what to configure for the Default Audio Path URI in Call Studio when creating a project .It appears that I have to specify either a single media server to pull the audio from or pull it from flash.
    I know our gateways will pull down the wav files from the media servers but if I specify flash in the studio application, do I need to load the wav file directly onto flash on the router or can it access the media servers and pull it down? We run most of our ICM scripts off of microapps, not custom vxml apps. Most of the documentation and the partner class I took doesn't look at multi server deployments and combo boxes like as most standard deployments are like this now. I don'ts ee anything in the Cisco docs for CVP that specify this information. Any help would be appreciated.
    We are using SIP and CSS if that makes a difference.
    ICM 7.5.9
    CVP 7.0.2
    UCM 7.1.3
    thanks
    Paul

    The normal way is to use the VIP you built on your CSS. Let's say this is a.b.c.d and it manages the IP address of the media servers as a "service", providing load balancing and resilience.
    For each application in Studio you should make a matching default audio path and put all the media files under that. Makes it easy - even if there is repetition of system files (1.wav, 2.wav etc). You can control the lifetime (expiration) on IIS more easily.
    Let's assume your application is called "foobar" and your locale is "en-us".
    So set the path to
    http://a.b.c.d/en-us/app/foobar/
    Don't forget the trailing slash. As you go through the Studio program, you just need to specify an audio item as "mywavefile.wav" and that makes it really easy to look at the Prompt Dictionary, as they have simple wav file names and no path information.
    Others may have different views, of course. I'm prepared to vigorously defend mine.
    On IIS you will have wwwroot\en-us\app\foobar with a bunch of files.
    Regards,
    Geoff

  • CVP Call Studio - concatenate variable data

    Hello,
    I'm new to Call Studio, do not have my hands on the software yet.
    Is it possible to concatenate variable data within a call studio script?
    The business wants to capture IVR menu selections for reporting purposes.  The IVR is complex and will require a CVP VXML server application.  My plan is to utilize a call variable within call studio, update the variable with flags/values for each menu selection, then send this data back to ICM.  In ICM, I will analyze this variable and set call types accordingly for reporting.
    Thanks in advance,
    Mike

    Got it.
    ok, so in call studio i would do it like this.i would define one variable say session data "retVAL" and update its value based on menu selection.
    if you closely loom at attached screenshot everything is there. value of all 3 menu options are concatenated and assigned to session data called retVAL using substitution  builder.
    and the value of same variable is returned to ICM using CVP sub dialog return.
    regards
    Chintan

  • CVP Call Studio Database Element

    Hi all,
    I got the below error when I tried to use the Database element in CVP Call Studio to connect to a MSSQL database.
    touch111_24-7_Database,07/08/2014 13:52:31.724, The error was: A built-in element encountered an exception of type com.audium.server.AudiumException. There was a problem looking up the JNDI data source 'ivr1'. The root cause was: javax.naming.NameNotFoundException: Name ivr1 is not bound in this Context.
    I have added the below to the context.xml file :
    <Resource
    name="jdbc/ivr1"
    auth="Container"
    type="javax.sql.DataSource"
    driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
    url="jdbc:sqlserver://x.x.x.x:1433;databaseName=TestCallStudio;user=xxxx;password=xxxx"
    />
    In the Database element settings in Call Studio, I put ivr1 in the JNDI Name field.
    Can someone help me to know what could be causing this error to appear?
    Thank you in advance.
    Lara

    change jndi name in call studio from "ivr1" to "jdbc/ivr1"
    and check if it is working or not.
    regards
    chintan

  • Courtesy Callback for CVP 9 w/o Call Studio

    Just a question, is Call Studio a requirement to be able to utilize courtesy callback for CVP? I have a customer using only micro-apps and didn't purchase Call Studio but they might be potentially looking at some sort of callback solutions. Hence, the question. Many thanks.                  

    Required for courtesy callback.
    Other callback solution would be custom and should be possible through ICM scripting (depends how you do it) directly.
    Thanks!
    -JT-

  • Insert/flag data to PV9 (db) with CVP script (Call Studio) and create java class

    Hi all,
    i already created workflow with CVP script using Call studio, i have a problem how to insert call entered digit to PV9 and check the bill customerID with java class.
    The workFlow design:
    1. Customer enter the customerID (sessionID from ICM)
    2. Play the customerID ---> Insert to PV9 (ex: 12390)
    3. Check monthly bill
    4. Option enter another customerID
    5. Back to step 2 ---> Insert to PV9 (ex:12390,12380)
    When we want to create a java class is enough to install default call studio + JDK and create new call studio project? because when i created new call studio project only will be created callflow folder and app.callflow
    thx before,
    darma

    Hi Chintan,
    This'is my callflow design with callStudio
    i want create java class to get value from REST Url, i already have the script but i'm still confused how to deploy it in call studio, my call studio project is like this
    this'is the java source, how to compile and what prerequisites are required?
    /*   1:    */ import com.audium.server.AudiumException;
    /*   2:    */ import com.audium.server.session.ActionElementData;
    /*   3:    */ import com.audium.server.voiceElement.ActionElementBase;
    /*   4:    */ import java.io.BufferedReader;
    /*   5:    */ import java.io.InputStreamReader;
    /*   6:    */ import java.io.PrintStream;
    /*   7:    */ import java.net.URL;
    /*   8:    */ import java.net.URLConnection;
    /*   9:    */ 
    /*  10:    */ public class MyBill
    /*  11:    */   extends ActionElementBase
    /*  12:    */ {
    /*  13:    */   static final int PREDICT_THRESHOLD = 3;
    /*  14:    */   private static String vBill;
    /*  15:    */   
    /*  16:    */   public static void GetDataBill(String strDataBill)
    /*  17:    */     throws Exception
    /*  18:    */   {
    /*  19: 23 */     vBill = "0";
    /*  20:    */     
    /*  21: 25 */     URL strBill = new URL("http://192.168.10.23//wsclient.php?id=" + strDataBill);
    /*  22:    */     
    /*  23:    */ 
    /*  24:    */ 
    /*  25: 29 */     URLConnection hpCon = strBill.openConnection();
    /*  26: 30 */     int len = hpCon.getContentLength();
    /*  27: 32 */     if (len > 0)
    /*  28:    */     {
    /*  29: 36 */       BufferedReader in = new BufferedReader(
    /*  30: 37 */         new InputStreamReader(strBill.openStream()));
    /*  31: 38 */       vBill = in.readLine();
    /*  32:    */     }
    /*  33:    */     else
    /*  34:    */     {
    /*  35: 45 */       vBill = "0";
    /*  36:    */     }
    /*  37: 49 */     System.out.println("YourBill : " + vBill);
    /*  38:    */   }
    /*  39:    */   
    /*  40:    */   public void doAction(String name, ActionElementData actionAPI)
    /*  41:    */     throws AudiumException
    /*  42:    */   {
    /*  43: 63 */     String strCustID = (String)actionAPI.getSessionData("QueueIDs");
    /*  44:    */     try
    /*  45:    */     {
    /*  46: 66 */       GetDataBill(strCustID);
    /*  47:    */     }
    /*  48:    */     catch (Exception e)
    /*  49:    */     {
    /*  50: 69 */       System.out.println("0");
    /*  51:    */     }
    /*  52: 74 */     String balance = vBill.trim();
    /*  53: 81 */     if (balance == "0")
    /*  54:    */     {
    /*  55: 83 */       actionAPI.removeAllSessionData();
    /*  56: 84 */       actionAPI.setSessionData("balance", balance);
    /*  57:    */     }
    /*  58:    */     else
    /*  59:    */     {
    /*  60: 91 */       String strSess = balance.substring(0, 1);
    /*  61: 92 */       String strSess2 = balance.substring(1);
    /*  62:    */       
    /*  63:    */ 
    /*  64: 95 */       actionAPI.setSessionData("StsBill", strSess);
    /*  65: 96 */       actionAPI.setSessionData("ValBill", strSess2);
    /*  66: 99 */       if (strSess > "1")
    /*  67:    */       {
    /*  68:102 */         actionAPI.setSessionData("StsBill", "1");
    /*  69:103 */         actionAPI.setSessionData("balance", strSess2);
    /*  70:    */       }
    /*  76:110 */       if (strSess == "0")
    /*  77:    */       {
    /*  78:112 */         actionAPI.setSessionData("StsBill", "0");
    /*  79:113 */         actionAPI.setSessionData("balance", strSess2);
    /*  80:    */       }
    /*  81:115 */       if (strSess == "9")
    /*  82:    */       {
    /*  83:117 */         actionAPI.setSessionData("StsBill", "9");
    /*  84:118 */         actionAPI.setSessionData("balance", "0");
    /*  85:    */       }
    /*  86:121 */       if (strSess2.trim() == "") {
    /*  87:122 */         actionAPI.setSessionData("balance", "0");
    /*  88:    */       } else {
    /*  89:124 */         actionAPI.setSessionData("balance", strSess2);
    /*  90:    */       }
    /*  91:    */     }
    /*  92:    */   }
    /*  93:    */ }
    please help Me

  • CVP call studio Video tutorial

    Hi Team
    Is there any CVP call studio Video tutorial to make advanced call flow Integrated with Database IE(Oracle or SQL).
    also how to call JAR integrated file in Advanced prompt element.
    Please advise is there any Video tutorial or Online Course as well for CVPD 8.0.
    Thanks
    Ahmed Soliman

    Ahmed,
    I dont have any links to videos, but have you looked through the CVP programming guides:
    http://www.cisco.com/en/US/products/sw/custcosw/ps1006/products_programming_reference_guides_list.html
    Chris

Maybe you are looking for