" /> Agent Scripting - Genesys CTI User Forum

Author Topic: Agent Scripting  (Read 6784 times)

dias7777

  • Guest
Agent Scripting
« on: January 16, 2007, 08:59:34 AM »
Advertisement
Hi all.
I would like to integrate into genesys desktop (which i have from genesys express 7.2) agent scripting. In the user's guide of agent scripting i found the procedure for integrating agent scripting if you develop agent scripting in tomcat. What about if you develop agent scripting in IIS? In the server that i have installed IIS and agent scripting i have genesys integration server and in the agent scripting i set up the G_NETServer_PrimaryHost and the G_NETServer_PrimaryPort. Is there anyting else that i need to configure in order to see in the agent desktop (GAD) the agent scripting? I don't want it to implement the agent scripting in tomcat because i think i don't have AIL which is necessary.

Thanks in advance

Offline Seb Reeve

  • Jr. Member
  • **
  • Posts: 62
  • Karma: 0
    • Sabio Limited
Re: Agent Scripting
« Reply #1 on: January 18, 2007, 09:58:49 AM »
  • Best Answer
  • ...you do have AIL (the Genesys Desktop uses it)!

    Some of the integration components which integrate the scripting with Genesys Framework are only written in Java using AIL.

    In order to allow scripting access to current call data and CTI events using the Genesys-provided solution, you will need to compile your scripts to JSP and execute them in an environment such as Tomcat.

    (Just remember if you do use Tomcat to publish Agent Scripts - you cannot use  the GDesktop Tomcat instance.)

    Hope this helps,

    Seb

    dias7777

    • Guest
    Re: Agent Scripting
    « Reply #2 on: January 22, 2007, 08:44:58 AM »
  • Best Answer
  • Seb thnaks for your answer but i didn't understand a lot unfortunately.

    1) Is Agent Interaction Layer the jar file AIL.jar ?

    2) I followed the instructions that are described in page 42 of the deployment guide(Genesys Agent Scripting) for genesys agent desktop version 7.2 which is not customized. So basically i followed the 4 steps described in pages 43-44. I have deployed genesys agent scripting in a different server from GAD. when i make a new phone call in GAD i see the following: Exception occured while assigning Process flow for this interaction Exception.lang.Exception no assignment rules were deployed. (in the frame just next to the attached data inside GAD). How the web server that i have GAD knows that i want to deploy a specific project that i have in a different web server?Where do i configure this? The only thing that i have configured in the server that i have genesys agent scripting is in Assignment Rules ->Deployment Settings the genesys agent scripting assigner servlet url and agent project book url.

    3) is the template that comes with genesys agent scripting(Genesys_Agent_Scrpting_720) is needed only if i want genesys data in the web server that i deploy genesys agent scripting?When i try to run genesys agent scripting this way i have the following error: The GAS AIL loader is not initialized. I have configured the place, the agent. the primary host and the primary port.

    Thanks in advance 

    Offline Seb Reeve

    • Jr. Member
    • **
    • Posts: 62
    • Karma: 0
      • Sabio Limited
    Re: Agent Scripting
    « Reply #3 on: January 22, 2007, 09:40:30 AM »
  • Best Answer
  • In step 4 on page 44, you added a servlet definition to GDesktop for something called the GASAssigner servlet.

    This tells your browser which script to show based on Assignment Rules which you specify.

    Please look at instructions "Genesys Agent Scripting Project Book" on page 45 - you need to give the project book the URL of the GASAssigner Servlet (as a browser would need it), e.g.:

    [font=Courier]<servlet-mapping>
    <servlet-name>GASAssignerServlet</servlet-name>
    <url-pattern>/GASAssigner</url-pattern>
    </servlet-mapping>[/font]

    ...the [font=Courier]<url-pattern>[/font] defines how a browser should access this servlet - you are configuring the WEB.XML file for the /gdesktop/ app so:

    [u]http://yourserver:8080/gdesktop/GASAssigner[/u] is the Assigner Servlet URL... Put this URL into the Step 2 config from page 45/46.

    For the default project book URL, put the URL where the GAS Scripts will be accessed by a browser after they are compiled (NOT in the same Tomcat instance as GDesktop!!), e.g.:

    [u]http://yourserver:[b]8090[/b]/MyScriptProject[/u]

    Note: In my install I had to compile Agent Scripts to the root folder of Tomcat - I could not use a sub-directory.

    Hit the "Deploy Rules" button - If the URL is configured OK, you should find a WWGAssignRules.xml file in the .../webapps/gdesktop/ folder.

    Hope that helps,

    Seb


    dias7777

    • Guest
    Re: Agent Scripting
    « Reply #4 on: January 22, 2007, 12:11:21 PM »
  • Best Answer
  • Seb thanks again for your answer.
    I can see now the agent scripting inside the GAD and the WWGAssignRules.xml file is created successfully. What i did wrong was that i specified
    http://yourserver:8080/gdesktop/GASAssigner and i think i should specify
    http://yourserver:8090/gdesktop/GASAssigner since in my configuration manager the desktop listens to port 8090.
    But now i have the following error. When the form appears inside GAD this message appears at the bottom
    InteractionID = .... error getting attached data
    java.lang.exception  the GAS AIL Loader is not initialized and error messages appear when i try to transfer calls, disconnect etc