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

Bot not leaving livechat after transfer to live agent. #51

Open
pittar opened this issue Jul 25, 2018 · 5 comments
Open

Bot not leaving livechat after transfer to live agent. #51

pittar opened this issue Jul 25, 2018 · 5 comments

Comments

@pittar
Copy link

pittar commented Jul 25, 2018

Hi,

I'm having an issue where by hubot-natural chatbot does not leave a livechat session after it has handed off to a live agent.

Using the stock "rocketcat-en.yml" corpus, I have updated the file to include the proper Department hash. When requesting to talk with a human, a live agent is assigned and joins the chat, but the bot is also still present and continues to try and answer as well.

Is there a setting I am missing? It's hard to nail down the config since the images in the instructions are all broken.

Andrew

@pittar
Copy link
Author

pittar commented Jul 25, 2018

FYI, using RocketChat version 0.66.3.

@krishnaprasadhg
Copy link

Same issue for me. Any fix available for this?

@timkinnane
Copy link

Assuming this is the same issue we're talking about over at bBot...

Amazebot/bbot#111

The bot will keep receiving as long as it's in the room. Need to call the leave room method through the SDK, which is part of the adapter. I don't remember the exact attributes.

@krishnaprasadhg
Copy link

Hi @timkinnane ,

Thanks for your response.
I understand we need to call leave chat room method. But not able to find from which node module i need to call this. Please help.

Thanks!

@timkinnane
Copy link

From the driver module, which is inside the adaptor. Should be something like bot.adaptor.driver.callMethod

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

3 participants