hubot-natural icon indicating copy to clipboard operation
hubot-natural copied to clipboard

Bot not leaving livechat after transfer to live agent.

Open pittar opened this issue 6 years ago • 5 comments

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 avatar Jul 25 '18 16:07 pittar

FYI, using RocketChat version 0.66.3.

pittar avatar Jul 25 '18 19:07 pittar

Same issue for me. Any fix available for this?

krishnaprasadhg avatar Apr 17 '19 13:04 krishnaprasadhg

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

https://github.com/Amazebot/bbot/issues/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.

timkinnane avatar Apr 17 '19 13:04 timkinnane

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!

krishnaprasadhg avatar Apr 22 '19 05:04 krishnaprasadhg

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

timkinnane avatar Apr 22 '19 09:04 timkinnane