Greeting Multi Language

Hello everyone,

I’m trying to configure an IVR that plays and English and French greeting based on the language selection.

So callers reach IVR-43 where it asks them to press 1 for English, 2 for French. Once they make a selection the call goes to the Language Module and sets the correct language and then goes to IVR-44 where the greeting is being played.

However, it does not play the French greeting when pressing two.

Call logs:

Pressed 1 for English -

[2019-12-05 10:36:59] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-43:11] ExecIf("SIP/SipTrunk-00095a6d", "1?Background(custom/Main-Lang-Selection)") in new stack
[2019-12-05 10:36:59] VERBOSE[3747][C-0003e3fe] file.c: <SIP/SipTrunk-00095a6d> Playing 'custom/Main-Lang-Selection.slin' (language 'en')
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [1@ivr-43:1] Set("SIP/SipTrunk-00095a6d", "__ivrreturn=0") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [1@ivr-43:2] Goto("SIP/SipTrunk-00095a6d", "app-languages,1,1") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx_builtins.c: Goto (app-languages,1,1)
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [1@app-languages:1] NoOp("SIP/SipTrunk-00095a6d", "Changing Channel to language: en (Canada English)") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [1@app-languages:2] Set("SIP/SipTrunk-00095a6d", "CHANNEL(language)=en") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [1@app-languages:3] Goto("SIP/SipTrunk-00095a6d", "ivr-44,s,1") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx_builtins.c: Goto (ivr-44,s,1)
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-44:1] Set("SIP/SipTrunk-00095a6d", "TIMEOUT_LOOPCOUNT=0") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-44:2] Set("SIP/SipTrunk-00095a6d", "INVALID_LOOPCOUNT=0") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-44:3] Set("SIP/SipTrunk-00095a6d", "_IVR_CONTEXT_ivr-44=ivr-43") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-44:4] Set("SIP/SipTrunk-00095a6d", "_IVR_CONTEXT=ivr-44") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-44:5] Set("SIP/SipTrunk-00095a6d", "__IVR_RETVM=") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-44:6] GotoIf("SIP/SipTrunk-00095a6d", "1?skip") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx_builtins.c: Goto (ivr-44,s,9)
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-44:9] Set("SIP/SipTrunk-00095a6d", "IVR_MSG=custom/Canada_AfterHours_GeneralVoicemail_English&custom/Canada_AfterHours_GeneralVoicemail_French") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-44:10] Set("SIP/SipTrunk-00095a6d", "TIMEOUT(digit)=3") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] func_timeout.c: Digit timeout set to 3.000
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] pbx.c: Executing [s@ivr-44:11] ExecIf("SIP/SipTrunk-00095a6d", "1?Background(custom/Canada_AfterHours_GeneralVoicemail_English&custom/Canada_AfterHours_GeneralVoicemail_French)") in new stack
[2019-12-05 10:37:06] VERBOSE[3747][C-0003e3fe] file.c: <SIP/SipTrunk-00095a6d> Playing 'custom/Canada_AfterHours_GeneralVoicemail_English.slin' (language 'en')

Pressed 2 for French -

[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [2@ivr-43:1] Set("SIP/SipTrunk-00095a71", "__ivrreturn=0") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [2@ivr-43:2] Goto("SIP/SipTrunk-00095a71", "app-languages,2,1") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx_builtins.c: Goto (app-languages,2,1)
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [2@app-languages:1] NoOp("SIP/SipTrunk-00095a71", "Changing Channel to language: fr (Canada French)") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [2@app-languages:2] Set("SIP/SipTrunk-00095a71", "CHANNEL(language)=fr") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [2@app-languages:3] Goto("SIP/SipTrunk-00095a71", "ivr-44,s,1") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx_builtins.c: Goto (ivr-44,s,1)
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [s@ivr-44:1] Set("SIP/SipTrunk-00095a71", "TIMEOUT_LOOPCOUNT=0") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [s@ivr-44:2] Set("SIP/SipTrunk-00095a71", "INVALID_LOOPCOUNT=0") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [s@ivr-44:3] Set("SIP/SipTrunk-00095a71", "_IVR_CONTEXT_ivr-44=ivr-43") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [s@ivr-44:4] Set("SIP/SipTrunk-00095a71", "_IVR_CONTEXT=ivr-44") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [s@ivr-44:5] Set("SIP/SipTrunk-00095a71", "__IVR_RETVM=") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [s@ivr-44:6] GotoIf("SIP/SipTrunk-00095a71", "1?skip") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx_builtins.c: Goto (ivr-44,s,9)
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [s@ivr-44:9] Set("SIP/SipTrunk-00095a71", "IVR_MSG=custom/Canada_AfterHours_GeneralVoicemail_English&custom/Canada_AfterHours_GeneralVoicemail_French") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [s@ivr-44:10] Set("SIP/SipTrunk-00095a71", "TIMEOUT(digit)=3") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] func_timeout.c: Digit timeout set to 3.000
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] pbx.c: Executing [s@ivr-44:11] ExecIf("SIP/SipTrunk-00095a71", "1?Background(custom/Canada_AfterHours_GeneralVoicemail_English&custom/Canada_AfterHours_GeneralVoicemail_French)") in new stack
[2019-12-05 10:38:12] VERBOSE[4570][C-0003e401] file.c: <SIP/SipTrunk-00095a71> Playing 'custom/Canada_AfterHours_GeneralVoicemail_English.slin' (language 'fr')

(pastebin link for better view)

Call recording:

What am I missing?

Thank you

You don’t have the recording set up properly in the GUI. Starting from the beginning witha new English recording using a single sound file, then change the dropdown menu to the alternate language. You will see a notice saying:

You have a missing file for this language. Click any red recording above to replace it with a recording/upload below. It will then turn green. Once you have finished uploading/recording the recording will turn grey

You need to do that exactly, click the red bar, upload the alternate language version, and submit. The end result is you have two identically named recording files in different language folders.

Thank you Lorne. That worked!

Our client’s Canadian customers will be happy today :wink:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.