Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.

Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

Chat Immediate


This Callback scenario is a chat service that goes through the following stages:

Start Callback

  • Callback service: Returns URL to initiate chat interaction, immediately to the mobile device.
  • Callback service: Waits for chat interaction to arrive.
  • Next: Mobile device is expected to initiate chat interaction.

Initiate Chat

  • Inbound Chat service: Locates the GMS service associated with the arrived chat interaction.
  • Inbound Chat service: Delegates the chat interaction to be processed by the Callback service.
  • Callback service: Reserves target to route chat interaction.
  • Callback service: Routes the chat interaction to the target.
  • Callback service terminates.

Configuration Options

The table below lists the key options applicable to this scenario.

Use the GMS Service Management UI to set the configuration options. On the Services > Configured Services tab, add a Callback service with Chat-Immediate as the Common Default Configuration (see Adding a Service). When you add this service and default configuration, many options are automatically populated with the appropriate default values. Some options, however, will require you to enter your own values. See the Comments column in the following table for these details.

Category Option Value Comment
General _media_type chat These are the default values, which are automatically populated when using the pre-defined Chat-Immediate service. You do not need to change these values.
_wait_for_agent false
_wait_for_user_confirm false
URS Queuing _target <string> You must enter a string value for this option. This option is the routing target that specifies the agent/queue resource that should process this request. Format the string according to the URS target specification. For example:
  • Billing@StatServer.GA routes to the Billing Agent Group
  • English=20&Loans=2@StatServer.?? routes to any agent matching the skill expression

See the Universal Routing Server (URS) documentation for additional information about URS targets.

_urs_server_url http://<urs primary hostname:port> You must enter the URL for your primary Universal Routing Server (URS).
_urs_virtual_queue <virtual queue to be used by strategy> You must enter the virtual queue to which the service request will be added.
_urs_prioritization_strategy WaitForTarget The default value shown here matches the name of the URS strategy that you imported into IRD. If you changed the name of the strategy, update this value to reflect the correct name.
_urs_strategy_update_sub_routine SetRouteDelay The default value shown here matches the name of the URS subroutine that you imported into IRD. If you changed the name of the subroutine, update this value to reflect the correct name.

Sample Request and Response Sequence

Create chat immediate service

Request URL:http://localhost:8080/genesys/1/service/callback/chat-immediate
Request Method:POST
Status Code:200 OK
Request Headersview source
Content-Type:multipart/form-data; boundary=----WebKitFormBoundaryYbCe8VCHJCMGeynE
Cookie:JSESSIONID=1bob1qjgrmiy589bpyvtmrhow; BAYEUX_BROWSER=f3d8-3vwgdclvyroghjsaf87i1c60
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36
Request Payload
Content-Disposition: form-data; name="_customer_number"

Content-Disposition: form-data; name="usr_customer_name"

Bob Markel
Content-Disposition: form-data; name="usr_reason"

billing question
Content-Disposition: form-data; name="_device_notification_id"

Content-Disposition: form-data; name="_device_os"

Response Headersview source
Date:Tue, 13 Aug 2013 22:15:31 GMT
Expires:Thu, 01 Jan 1970 00:00:00 GMT

Response Body:
    "_dialog_id": "1",
    "_action": "StartChat",
    "_label": "Start Chat",
    "_start_chat_url": "http://localhost:8080/genesys/1/service/369-01d32409-b4bb-4884-b266-02d8216fe5e3/ixn/chat",
    "_comet_url": "http://localhost:8080/genesys/cometd",
    "_user_header": "b16416334828b1d26ef14f329628b55b5a8c631d8928a371a5584722dd7fb673",
    "_id_to_jump_before": "exit://",
    "_chat_parameters": {
        "subject": "None"
    "_id": "369-01d32409-b4bb-4884-b266-02d8216fe5e3"

Sequence Diagram

Click on the diagram to access full resolution.

Chat immediate.png

This page was last edited on December 11, 2015, at 14:28.


Comment on this article:

blog comments powered by Disqus