jambonz / jambonz-feature-server

Core telephony feature server for the jambones platform
MIT License
47 stars 38 forks source link

SupportedLanguagesAndVoices API for vendor elevenlabs always adds the voices in "ar" (arabic) node only #982

Open rammohan-y opened 4 days ago

rammohan-y commented 4 days ago

The /SpeechCredentials/speech/supportedLanguagesAndVoices?vendor=elevenlabs rest api always generates the response by adding the voices in "ar" node only

rammohan-y commented 23 hours ago

If the languages are defined at service level instead of accounts, the API is always returning the response from source files instead of calling the vendor's API. When we define speech provider at account level it is getting the data from vendor's API

I think we should introduce a new rest API /SpeechCredentials/speech/supportedLanguagesAndVoicesByServiceProvider to fetch the voices at service provider level

@davehorton @xquanluu @vdharashive