multiple google cloud service accounts

63 views
Skip to first unread message

Matteo Pastrorio

unread,
Dec 5, 2024, 8:08:01 AM12/5/24
to UniMRCP
Hi there,
We are developing a second dialogflow project using gss, gsr and gdf with asterisk. We have everything set up and a question arose: can we have multiple google cloud service accounts associated with the same unimrcp configuration? Or do we need to create two (or more) different configurations, one for each project?

Vahagn Kocharyan

unread,
Dec 12, 2024, 10:38:41 AM12/12/24
to UniMRCP
Hi you can pass  gapp-credentials-file. Check section  3.1 in manual 
Regards

Matteo Pastrorio

unread,
Jan 2, 2025, 6:01:56 AM1/2/25
to UniMRCP
Hi, sorry for the late reply. Did you mean that we can pass multiple gapp-credentials files? Now we have this situation: google_df_ES_project1 and google_df_ES_project2. Two different projects with two different agents.
Now we have to manually set this line in umsgdf.xml to use one of these projects, but can we use them together with a dinamic configuration, based on the called agent?

<umsgdf license-file="LICENSE FILE" gapp-credentials-file="google_df_ES_project1.json">
<umsgdf license-file="LICENSE FILE" gapp-credentials-file="google_df_ES_project2.json">

eduhe...@gmail.com

unread,
Jan 2, 2025, 1:26:11 PM1/2/25
to UniMRCP
Not in the xml config file, but you can set the credential file to be used, as a parameter when invoking the transcription grammar for each project (grxml or builtin).

Example:

builtin:speech/transcribe?language=it-IT;gapp-credencials-file=google_project1.json
Reply all
Reply to author
Forward
0 new messages