Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languagede

Die 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

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
revision6


Referenz Implementierung

Siehe JTEL chat integration in Bitbucket


Haproxy-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