We are following the pattern & practices. - Connection probe steps.
-
While activate the webhook in Genesys, Client is able to connect with web socket server. After successful connection client is sending response both with Type "Open".
-
Server is responding back to client with below request body with type "Opened"
{ "version": "2", "type": "opened", "seq": 1, "clientseq": 1, "id": "9aba9a07-8dd5-4654-974a-44075c3d2ba5", "parameters": { "startPaused": false, "media": [ { "type": "audio", "format": "PCMU", "channels": [ "internal" ], "rate": 8000 } ] } }
- Immediatley client is sending response with Type "Close". While server replying with type closed. Getting below error.
{"version":"2","id":"9aba9a07-8dd5-4654-974a-44075c3d2ba5","type":"error","seq":3,"position":"PT0S","parameters":{"code":400,"message":"Connection probe error: Message is malformed"},"serverseq":1}
Kindly help what is wrong in the request body with type "Opened"