Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

The JTEL chat server implementation is based on the websocket protocol. The JTEL chat server ClientMessenger is used to implement chat channel between ACD Agent and Client.


Same Origin Policy

There is a limitation by using wss protocol described in Same-Origin-Policy (https://de.wikipedia.org/wiki/Same-Origin-Policy)

draw.io Diagram
bordertrue
diagramNameChat Architecture
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth942
revision56


Reference Implementation

See JTEL chat integration in Bitbucket


Haproxy configuration to bypass same origin policy


Code Block
frontend ft_web


  bind 10.42.22.32:8080 name http


  maxconn 10000


  acl PATH_portal path_beg -i /CarrierPortal

 

  acl PATH_chat path_beg -i /gui /ws /rest /chatInit /upload /download


  use_backend bk_web if PATH_portal


  use_backend bk_cm if PATH_chat


  default_backend bk_web


backend bk_cm


  balance roundrobin


  server websrv1 10.42.22.31:3000 maxconn 10000 weight 10 cookie websrv1 check


backend bk_web


  balance roundrobin


  server websrv1 10.42.22.32:8081 maxconn 10000 weight 10 cookie websrv1 check



Sv translation
languagefr

L'implémentation du serveur de chat de JTEL est basée sur le protocole websocket. Le serveur de chat ClientMessenger de JTEL est utilisé pour mettre en place un canal de chat entre l'agent ACD et le client.


Politique de l'origine identique

Il y a une limitation en utilisant le protocole wss décrit dans Same-Origin-Policy (https://de.wikipedia.org/wiki/Same-Origin-Policy)

draw.io Diagram
bordertrue
diagramNameChat Architecture de chat
simpleViewerfalse
width
linksauto
tbstylehauttop
lboxtrue
diagramWidth942
revision56


Mise en œuvre de la référence

Voir Intégration du chat JTEL dans Bitbucket


Configuration haproxy pour contourner la politique de la même origine

Code Block
frontend ft_
web
  bind
webConfiguration haproxy pour contourner la politique de la même origine
  bind 10.42.22.32:8080 name http


  maxconn 10000


  acl PATH_portal path_beg -i /CarrierPortal

 

  acl PATH_chat path_beg -i /gui /ws /rest /chatInit /upload /download


  use_backend bk_web if PATH_portal


  use_backend bk_cm if PATH_chat


  default_backend bk_web


backend bk_cm


  balance roundrobin


  server websrv1 10.42.22.31:3000 maxconn 10000 weight 10 cookie websrv1 check


backend bk_web


  balance roundrobin


  server websrv1 10.42.22.32:8081 maxconn 10000 weight 10 cookie websrv1 check



Sv translation
languagede

The JTEL chat server implementation is based on the websocket protocol. The JTEL chat server ClientMessenger is used to implement chat channel between ACD Agent and ClientDie JTEL-Chat-Server-Implementierung basiert auf dem Websocket-Protokoll. Der JTEL-Chat-Server ClientMessenger wird zur Implementierung des Chat-Kanals zwischen ACD-Agent und Client verwendet.


Same Origin Policy

There is a limitation by using wss protocol described Es gibt eine Einschränkung bei der Verwendung des wss-Protokolls, die in Same-Origin-Policy (https://de.wikipedia.org/wiki/Same-Origin-Policy) beschrieben wird.

draw.io Diagram
bordertrue
diagramNameChat Architecture
simpleViewerfalse
width
linksauto
tbstyletop
lboxtrue
diagramWidth942
revision56


Reference ImplementationReferenz Implementierung

See Siehe JTEL chat integration in Bitbucket


Haproxy configuration to bypass -Konfiguration zur Umgehung der same origin policy

Code Block
frontend ft_
web
  bind
webConfiguration haproxy pour contourner la politique de la même origine
  bind 10.42.22.32:8080 name http


  maxconn 10000


  acl PATH_portal path_beg -i /CarrierPortal

 

  acl PATH_chat path_beg -i /gui /ws /rest /chatInit /upload /download


  use_backend bk_web if PATH_portal


  use_backend bk_cm if PATH_chat


  default_backend bk_web


backend bk_cm


  balance roundrobin


  server websrv1 10.42.22.31:3000 maxconn 10000 weight 10 cookie websrv1 check


backend bk_web


  balance roundrobin


  server websrv1 10.42.22.32:8081 maxconn 10000 weight 10 cookie websrv1 check