Skip to content

Support additional phone fields for livechat agents #10025

@sampaiodiego

Description

@sampaiodiego

Description:

Currently phone numbers are supported only on customFields, we should also support it on phone field, this way being retro-compatible with Konecty.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.62
  • Operating System: Any
  • Deployment Method(snap/docker/tar/etc): Any
  • Number of Running Instances: 1
  • DB Replicaset Oplog: yes

Steps to Reproduce:

  1. Set phone for a livechat agent like this: db.users.update({ username: 'agent-username' }, { $set: { phone: [ { phoneNumber: '1234567890' } ] } })
  2. Start a livechat with the same agent

Expected behavior:

Agent's phone should appear on livechat widget.

Actual behavior:

It is not shown:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions