zammad icon indicating copy to clipboard operation
zammad copied to clipboard

[CTI] Caller is not identified if the caller has only entered a telephone number (no firstname, lastname, email).

Open martini opened this issue 1 year ago • 0 comments

Used Zammad Version

6.2

Environment

  • Installation method: any
  • Operating system (if you're unsure: cat /etc/os-release ): any
  • Database + version: any
  • Elasticsearch version: any
  • Browser + version: any

Actual behaviour

Caller is not identified if the caller has only entered a telephone number (no firstname, lastname, email).

Screenshot from 2024-04-10 14-48-36

Expected behaviour

Caller should get identified, even if the caller has only entered a telephone number (no firstname, lastname, email).

Screenshot from 2024-04-11 07-49-56

Steps to reproduce the behaviour

  • enable cti
  • create a user with only filled phone number:
curl --request POST 'http://localhost:3000/api/v1/users' -H "Authorization: Token token=XXX" --header 'Content-Type: application/json' \
   --data-raw '{
      "phone": "493012345"
   }'
  • simulate an inbound call
curl --request POST 'http://localhost:3000/api/v1/cti/XXX' \
   --header 'Content-Type: application/json' \
   --data-raw '{
      "event": "newCall",
      "from": "493012345",
      "to": "490000001",
      "direction": "in",
      "callId": "307fa962-de8d-4ffc-817b-7f699320415991",
      "user": ["Christopher Miller", "Emma Taylor"]
   }'

Verify caller log entry, you can see the caller didn't got identified.

Support Ticket

Ticket#10152999

I'm sure this is a bug and no feature request or a general question.

yes

martini avatar Apr 11 '24 05:04 martini