ankitbko / human-handoff-bot

A sample for live human handoff/transfer of conversation from user using Microsoft Bot Framework
https://ankitbko.github.io/2017/03/human-handover-bot/
MIT License
26 stars 13 forks source link

botData.PrivateConversationData.ContainsKey(Constants.USER_KEY) returning false even though mapping has been established #4

Closed valnav closed 7 years ago

valnav commented 7 years ago

No code change.... except luis endpoint the user get the message saying the "you are now connected to " The user types a message, which is received by the agent.

but, when the agent types a message it doesnt reach the user. The user is on the emulator. Agent is on the portal. What am I doing wrong?

ankitbko commented 7 years ago

Ah.. Emulator won't work for this example. The emulator has its own state storage mechanism which is different from Bot State Service which we use in this example. Use any other channel and it should work.

valnav commented 7 years ago

can i do something similar to the agent dashboard where i have the patient also using a webchat hosted page. if so do you have an example of the user in a webchat component.

valnav commented 7 years ago

thanks