Language by InboundGroup

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Language by InboundGroup

Postby covarrubiasgg » Thu Jun 10, 2021 12:58 pm

Hello there,

Is there any option to set language by Inbound-group ? I know most of the recordings can be customized by the inbound group, even the music on hold. I want to use the PRESS_CALLBACK_QUEUE but i have an inbound group for Spanish Speakers and other for English Speakers. When using the PRESS_CALLBACK_QUEUE with CID Callback Number Validation , even when I can customize all the recordings in Spanish, the read back of the caller id will be on English.

Is there any way to have the read-back of the caller id in Spanish without changing the language system wide ?


Vicibox 9.0.3 | VERSION: 2.14-808a BUILD: 210406-1821
covarrubiasgg
 
Posts: 420
Joined: Thu Jun 10, 2010 10:20 am
Location: Tijuana, Mexico

Re: Language by InboundGroup

Postby mflorell » Thu Jun 10, 2021 8:55 pm

Eight years ago, we wrote an AGI script that allowed for language flexibility configuration: agi-CALLCARD_dial_in.agi

It uses the ability through AGI to set the channel variable for "language" that many of the Asterisk built-in applications use for their built-in prompts.

For example:
Code: Select all
if ($language =~ /es/)
   {
   $audio_suffix='_es';
   $AGI->exec("EXEC Set(CHANNEL(language)=$language)");


When working on a more limited project a few years later, we had some issues using this and ended up just using prompts with a "_es.wav" prefix instead of bothering with the language channel variable.

At this point we haven't had any requests to make the In-Group PRESS_CALLBACK_QUEUE feature multi-lingual, I'm sure it's possible, but I haven't spent the time to see what it would take to get it to work on newer versions of Asterisk.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 127 guests