Mixed-language Alert Call prompts outside en / en_GB
Repeat Caller Alert Calls can produce mixed-language audio when the FreePBX/Asterisk system language is set to a language other than en or en_GB.
Observed behaviour
Tested on FreePBX 17 / Asterisk 22 with the global Sound Languages setting changed to French.
Standard FreePBX/Asterisk prompts correctly follow the configured French language, confirming that the French sound pack and global language selection are working. However, parts of the Repeat Caller Alert Call remain in English. For example, the word "Number" is spoken in English while the surrounding call audio is in French.
We also found issues when testing in Spanish and German, and likely most others. This results in a mixed-language Alert Call.
Expected behaviour
All Repeat Caller Alert Call audio should respect the active Asterisk channel language.
Where standard Asterisk sound prompts or language-aware AGI commands are available, Repeat Caller should use those rather than supplying English-specific prompts.
The behaviour should work for any installed Asterisk sound language, not just en and en_GB.
Investigation required
Review the complete Alert Call audio path for:
- hard-coded English text or sound files;
- explicit English prompt names or paths;
- channel language being overridden or lost during originate/AGI handling;
- uses of
STREAM FILE, SAY NUMBER, SAY DIGITS or related AGI commands that may not be respecting the active channel language;
- any existing special handling for
en / en_GB that does not generalise to other languages.
The fix should avoid maintaining Repeat Caller-specific translations where equivalent standard Asterisk prompts already exist.
Testing
Add coverage confirming that:
- Alert Calls preserve and respect a non-English channel language;
- standard prompts are resolved using that language;
- spoken numbers use the appropriate Asterisk language handling;
- no Repeat Caller-owned English prompt is inserted into an otherwise non-English Alert Call;
- existing
en and en_GB behaviour remains unchanged.
Mixed-language Alert Call prompts outside en / en_GB
Repeat Caller Alert Calls can produce mixed-language audio when the FreePBX/Asterisk system language is set to a language other than
enoren_GB.Observed behaviour
Tested on FreePBX 17 / Asterisk 22 with the global Sound Languages setting changed to French.
Standard FreePBX/Asterisk prompts correctly follow the configured French language, confirming that the French sound pack and global language selection are working. However, parts of the Repeat Caller Alert Call remain in English. For example, the word "Number" is spoken in English while the surrounding call audio is in French.
We also found issues when testing in Spanish and German, and likely most others. This results in a mixed-language Alert Call.
Expected behaviour
All Repeat Caller Alert Call audio should respect the active Asterisk channel language.
Where standard Asterisk sound prompts or language-aware AGI commands are available, Repeat Caller should use those rather than supplying English-specific prompts.
The behaviour should work for any installed Asterisk sound language, not just
enanden_GB.Investigation required
Review the complete Alert Call audio path for:
STREAM FILE,SAY NUMBER,SAY DIGITSor related AGI commands that may not be respecting the active channel language;en/en_GBthat does not generalise to other languages.The fix should avoid maintaining Repeat Caller-specific translations where equivalent standard Asterisk prompts already exist.
Testing
Add coverage confirming that:
enanden_GBbehaviour remains unchanged.