(previously submitted to the wrong discussion group)
Centos 6.5
Asterisk 12.4.0
FreePBX 12.0.1beta34
We setup DID any/CID priority inbound routes that match area codes for the province of Quebec:
So any calls from the province of Quebec are handled properly by an Inbound Route with CID (priority checked) to a French IVR, but when a Quebec English caller switches to our English IVR (dial 9) the call channel stays (language: fr) as can be seen in the log except below.
I set both English and French IVR and Directories up with the Languages app. So I must still be missing something critical?
*From extension_additional.conf*
[app-languages]
include => app-languages-custom
exten => 7,1,Noop(Changing Channel to language: en (DirEN))
exten => 7,n,Set(CHANNEL(language)=en)
exten => 7,n,Goto(directory,1,1)
exten => 3,1,Noop(Changing Channel to language: fr (DirFR))
exten => 3,n,Set(CHANNEL(language)=fr)
exten => 3,n,Goto(directory,2,1)
exten => 6,1,Noop(Changing Channel to language: en (IvrEN))
exten => 6,n,Set(CHANNEL(language)=en)
exten => 6,n,Goto(ivr-2,s,1)
exten => 1,1,Noop(Changing Channel to language: fr (IvrFR))
exten => 1,n,Set(CHANNEL(language)=fr)
exten => 1,n,Goto(ivr-3,s,1)
[2014-08-25 14:15:31] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-3:11] ExecIf(“SIP/Callcentric-0000005b”, “1?Background(custom/cdnfr)”) in new stack
[2014-08-25 14:15:31] VERBOSE[17204][C-000000ab] file.c: – <SIP/Callcentric-0000005b> Playing ‘custom/cdnfr.slin’ (language ‘fr’)
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Executing [9@ivr-3:1] Goto(“SIP/Callcentric-0000005b”, “ivr-2,s,1”) in new stack
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Goto (ivr-2,s,1)
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:1] Set(“SIP/Callcentric-0000005b”, “TIMEOUT_LOOPCOUNT=0”) in new stack
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:2] Set(“SIP/Callcentric-0000005b”, “INVALID_LOOPCOUNT=0”) in new stack
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:3] Set(“SIP/Callcentric-0000005b”, “_IVR_CONTEXT_ivr-2=ivr-3”) in new stack
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:4] Set(“SIP/Callcentric-0000005b”, “_IVR_CONTEXT=ivr-2”) in new stack
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:5] Set(“SIP/Callcentric-0000005b”, “__IVR_RETVM=”) in new stack
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:6] GotoIf(“SIP/Callcentric-0000005b”, “0?skip”) in new stack
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:7] Answer(“SIP/Callcentric-0000005b”, “”) in new stack
[2014-08-25 14:15:36] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:8] Wait(“SIP/Callcentric-0000005b”, “1”) in new stack
[2014-08-25 14:15:37] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:9] Set(“SIP/Callcentric-0000005b”, “IVR_MSG=custom/cdnen”) in new stack
[2014-08-25 14:15:37] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:10] Set(“SIP/Callcentric-0000005b”, “TIMEOUT(digit)=3”) in new stack
[2014-08-25 14:15:37] VERBOSE[17204][C-000000ab] func_timeout.c: – Digit timeout set to 3.000
[2014-08-25 14:15:37] VERBOSE[17204][C-000000ab] pbx.c: – Executing [s@ivr-2:11] ExecIf(“SIP/Callcentric-0000005b”, “1?Background(custom/cdnen)”) in new stack
[2014-08-25 14:15:37] VERBOSE[17204][C-000000ab] file.c: – <SIP/Callcentric-0000005b> Playing ‘custom/cdnen.slin’ (language ‘fr’)
[2014-08-25 14:15:41] VERBOSE[17204][C-000000ab] pbx.c: – Executing [#@ivr-2:1] Goto(“SIP/Callcentric-0000005b”, “directory,1,1”) in new stack
[2014-08-25 14:15:41] VERBOSE[17204][C-000000ab] pbx.c: – Goto (directory,1,1)
[2014-08-25 14:15:41] VERBOSE[17204][C-000000ab] pbx.c: – Executing [1@directory:1] Answer(“SIP/Callcentric-0000005b”, “”) in new stack
[2014-08-25 14:15:41] VERBOSE[17204][C-000000ab] pbx.c: – Executing [1@directory:2] Wait(“SIP/Callcentric-0000005b”, “1”) in new stack
[2014-08-25 14:15:42] VERBOSE[17204][C-000000ab] pbx.c: – Executing [1@directory:3] AGI(“SIP/Callcentric-0000005b”, “directory.agi,dir=1,retivr=false”) in new stack
[2014-08-25 14:15:42] VERBOSE[17204][C-000000ab] res_agi.c: – Launched AGI Script /var/lib/asterisk/agi-bin/directory.agi
[2014-08-25 14:15:42] VERBOSE[17204][C-000000ab] file.c: – <SIP/Callcentric-0000005b> Playing ‘cdir-welcome.slin’ (language ‘fr’)
[2014-08-25 14:15:44] VERBOSE[17204][C-000000ab] file.c: – <SIP/Callcentric-0000005b> Playing ‘cdir-please-enter-first-three.slin’ (language ‘fr’)