issue with french language

All installation and configuration problems and questions

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

issue with french language

Postby roll72 » Tue Nov 10, 2009 5:59 pm

Hello,

I'm using vicidial 2.2 with asterisk 1.2
I put all the french sound with the same owner (1000) and right in /var/lib/asterisk/sounds in the needed directory in digits/fr for example.

I was following advice found here : http://www.voip-info.org/wiki/view/Aste ... ernational

I changed all the language=fr in the conf files as follow

root@william:/etc/asterisk# grep language *.*
adtranvofr.conf:; Default language
adtranvofr.conf:;language=en
alsa.conf:; Default language
alsa.conf:;language=en
extensions.conf:language=fr
iax.conf:language=fr
iaxprov.conf:; language is the preferred language for the device
iaxprov.conf:language=fr
manager.conf:language=fr
misdn.conf:; language
misdn.conf:language=fr
modem.conf:; Default language
modem.conf:;language=en
oss.conf:; Default language
oss.conf:;language=en
sip.conf:;language=en ; Default language setting for all users/peers
sip.conf:language=fr ; Default language setting for all users/peers
zapata.conf:; Default language
zapata.conf:;language=en
zapata.conf:language=fr



but I still have the english prompt as you could see in the campaign survey example with going to the voicemail 12345 :

[Nov 10 23:51:07] -- Executing AGI("SIP/siptrunk-081e3270", "agi-VDAD_ALL_outbound.agi|SURVEYCAMP-----LB") in new stack
[Nov 10 23:51:07] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---4-----0 completed, returning 0
[Nov 10 23:51:07] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Nov 10 23:51:07] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 10 23:51:07] == Parsing '/etc/asterisk/manager.conf': [Nov 10 23:51:07] Found
[Nov 10 23:51:07] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 10 23:51:07] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 10 23:51:08] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 10 23:51:30] Destroying call '0b7f396142fdbd7757f7c06853e881d4@10.0.0.4'
[Nov 10 23:51:41] -- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Nov 10 23:51:41] -- Executing Wait("SIP/siptrunk-081e3270", "1") in new stack
[Nov 10 23:51:42] -- Executing VoiceMail("SIP/siptrunk-081e3270", "12345|u") in new stack
[Nov 10 23:51:42] -- Playing 'vm-theperson' (language 'en')
[Nov 10 23:51:43] -- Playing 'digits/1' (language 'en')
[Nov 10 23:51:44] -- Playing 'digits/2' (language 'en')
[Nov 10 23:51:44] -- Playing 'digits/3' (language 'en')
[Nov 10 23:51:45] -- Playing 'digits/4' (language 'en')
[Nov 10 23:51:46] -- Playing 'digits/5' (language 'en')
[Nov 10 23:51:46] -- Playing 'vm-isunavail' (language 'en')
[Nov 10 23:51:47] -- Playing 'vm-intro' (language 'en')
[Nov 10 23:51:53] -- Playing 'beep' (language 'en')
[Nov 10 23:51:54] -- Recording the message

I restarted several time asterisk but despite this, I still have the englsih prompt, does there is something specific to vicidial for the asterisk language configuration ?

Thanks in advance for you help
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm

is it an issue with gsm or wav file?

Postby roll72 » Tue Nov 10, 2009 7:41 pm

Hello,

I tried to limit the type of the file of each prompt. it looks asterisk try to get a gsm extension then a wav before anything else.

is it a bug of asterisk or vicidial to ask for english prompt ?
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm

Postby roll72 » Thu Nov 12, 2009 5:05 pm

Hello,

I finally found a way to fix my issue, I changed the following lines in extensions.conf :

; this is used to allow the GUI to send live calls directly into voicemail
; don't forget to set GUI variable $voicemail_dump_exten to this extension
exten => _85026666666666.,1,Wait(1)
exten => _85026666666666.,2,Set(LANGUAGE()=fr)
exten => _85026666666666.,3,Voicemail(${EXTEN:14}|u)
exten => _85026666666666.,4,Hangup

and now I got a lovely french voice tell me to leave a message ;-)

Hope it help others
roll72
 
Posts: 82
Joined: Wed Jun 10, 2009 12:32 pm

Postby mflorell » Thu Nov 12, 2009 7:57 pm

Vive la France!

no I don't really speak French :)


Thank you very much for posting your solution!
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

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