Trasnfer the chat to a live agent

Is it possible at the end of a task to transfer the chat to a real agent using audiocodes?
I also tried using this script to transfer the call, but it didn’t work.

{
  "type": "event",
  "name": "transfer",
  "activityParams": {
    "transferTarget": "tel:+123456789"
  }
}