Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transfer to live agent. #7

Open
raoulduivestein opened this issue Oct 13, 2020 · 1 comment
Open

Transfer to live agent. #7

raoulduivestein opened this issue Oct 13, 2020 · 1 comment

Comments

@raoulduivestein
Copy link

Is it possible to transfer the call to a other live agent when a specific intent is triggert?

@davehorton
Copy link
Collaborator

Yes, have a look at the simwood branch. Here is where I look at the returned intent to see if a call transfer is requested:

https://github.com/davehorton/drachtio-dialogflow-phone-gateway/blob/c088a99a134b838ee1c6c3c92a92503a3ced9926/lib/models/intent.js#L55

You can do something like that, modify the conditions to your needs. Return the agent number to transfer to in a custom payload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants