CTI Problem - Problems with direction

Hi,

we try to add an 3CX Call Flow to send to Zammad CTI Agent:
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/json; charset=utf-8
{“error”:“Invalid ‘direction’!”}

Anyone here have seen that error?

The Direction is set correctly.

Thanks!

Have a look at CTI logs in Zammad to check the posted request, I suspect formating error

We had invalid direction when integrating our Wazo PBX, our request looked like this :

[{
   "event": "newcall",
  "direction": "in",
   "from": "493023125741",
   "to": "492214710334",
   "callId": "101",
   "user": ["James Bond"]
}]

We then modified the request to be like this (notice the gone brackets) :

{
   "event": "newcall",
  "direction": "in",
   "from": "493023125741",
   "to": "492214710334",
   "callId": "101",
   "user": ["James Bond"]
}

All good after that

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.