-
Notifications
You must be signed in to change notification settings - Fork 6
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
Multi Agent in Dialogflow #1
Comments
This should work. I'm not quite clear on something - are you saying separate agents on different DID does work when the calls are not placed at the same time? |
I have added code for multi assistant it works fine when both the number are not called at the same time but when I call both the assistant at the same time it does not work then I get the error stated below exactly what you understood,
so I wanted to know if this is a known issue or is it not working for only me? |
It is not a known issue, but it may be a new bug you have found. Just to be certain of your config, you are running the latest mod_dialogflow with this commit, correct? Also, if you are setting the credentials in this way, could you also try removing the Environment var setting of the same from freeswitch.service, just to make sure that is not overriding? |
Hi Dave, I have checked that I am using mod_dialogflow with the same commit, I removed freeswitch enviornment variable but it didnt work, it may be a possible bug. Please do let me know if it works for anyone else. |
Thanks, I will test this week myself and let you know |
I'm not able to recreate the issue as stated. I made two calls at the same time on different DIDs each going to a different dialogflow agent with difference json service files and both calls worked properly. |
Sorry for late reply. I will check this from my end, I will check from my end and let you know, maybe I am doing something wrong with the code. And Thanks!! |
First of all, Thanks for such an awesome project
I am able to run this project with multi-agent support, I am able to connect two DID numbers on different dialogflow agents but at the same time talking to both the agents is not possible which I am dubious is because of the below line in
lib/call-session.js
await endpoint.set('GOOGLE_APPLICATION_CREDENTIALS', serviceAccountJson);
This is the log I get,
2019-12-28 23:35:11.149388 [CRIT] google_glue.cpp:269 StreamingDetectIntentRequest finished with err IAM permission 'dialogflow.sessions.streamingDetectIntent' on 'projects/<projectname>/agent' denied. (7):
Please let me know if I am doing something wrong or this feature is not available as of now in the project.
Thanks
The text was updated successfully, but these errors were encountered: