I inserted it in three places. First for
the IVR, following is a portion of the dialplan that calls the
ivr
<condition field="${are_we_open}"
expression="^Yes$">
<action application="set"
data="hangup_after_bridge=true"/>
<action
application="set"
data="default_language=fr"/>
<action
application="answer"/>
<action application="sleep"
data="1000"/>
<action application="ivr"
data="61_domain.mydomain.ca"/>
<action
application="transfer" data="820 XML domain.mydomain.ca"/>
<anti-action application="transfer" data="20 XML
domain.mydomain"/>
</condition>
So I use two IVRs, one for english, 1 for
french.
Then for inbound voice mail - this is for extension
28 in its dialplan
<action
application="bridge"
data="{sip_invite_domain=domain.mydomain.ca,presence_id=28@domain.mydomain.ca}user/28@domain.mydomain.ca"/>
<action application="set"
data="default_language=fr"/>
<action
application="answer"/>
<action application="sleep"
data="1000"/>
<action
application="voicemail" data="default domain.mydomain.ca 28"/>
Then for checking voicemail we use two codes
currently, I haven't investigated this far enough to make it seamless, we
had a customer to get going:
<extension
name="vmain">
<condition
field="destination_number"
expression="^vmain$|^4001$|^\*99$">
<action
application="set" data="default_language=fr"/>
<action
application="answer"/>
<action application="set"
data="vm_announce_cid=ivr/ivr-this_is_a_call_from.wav"/>
<action
application="sleep" data="1000"/>
<action application="voicemail" data="check
default domain.mydomain.ca
${sip_from_user}"/>
</condition>
</extension>
But the real key thing is to follow the
instructions 100% on the following link,
And you have to purchase licenses to make it fully
functional, but you get a courtesy make to let you know you have the correct
language working.
It is not 100% multilingual, but it is by all means
acceptable. Hope this helps some.
Darcy
----- Original Message -----
Sent: Monday, July 28, 2014 3:51 PM
Subject: Re: [Freeswitch-users] multiple
languages
Hi Darcy,
I am trying to configure my voicemail to be in
French too without success.
Where did you put the line : <action application="set"
data="default_language=fr"/> ?
I added it in the
dialplan/default.xml (extension "Local_Extension" that has the line
<condition field="destination_number"
expression="^(10[01][0-9])$">)
<action application="bridge"
data="user/${dialed_extension}@${domain_name}"/>
<action application="set"
data="default_language=fr"/>
<action
application="answer"/>
<action application="sleep"
data="1000"/>
<action
application="bridge" data="loopback/app=voicemail:default ${domain_name}
${dialed_extension}"/>
But I still get the voicemail in
english
Thanks,
Glad i could point you in the right
direction.
On Sun, Jul 27, 2014 at 9:13 PM, Darcy Primrose
<fs@voice2net.ca> wrote:
Chris, ignore the last message, I had an english message
forced, it is working correctly. Thank you again for your
assistance.
Darcy
----- Original Message -----
Sent: Sunday, July 27, 2014 11:03
PM
Subject: Re: [Freeswitch-users] multiple
languages
Chris, thank you, I now get french or english on
the voicemail depending on the endpoint setting. However, I still do not
get French on the IVR, If I can solve that, I am in great shape, any ideas
what I might be missing. Your help with this is very much
appreciated.
Darcy
_________________________________________________________________________
Professional
FreeSWITCH Consulting
Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered
IP PBX: The CudaTel Communication
Server
http://www.cudatel.com
Official FreeSWITCH
Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users
mailing
list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org