[Freeswitch-users] multiple languages
Darcy Primrose
fs at voice2net.ca
Tue Jul 29 00:46:05 MSD 2014
On more item on this that makes it simpler, in the directory you can set the variable
<variable name="default_language" value="fr"/>
Then just use one code {we use *98) to check voicemail. Justed tested this and it does work also. So I guess this makes it seamless.
Darcy
----- Original Message -----
From: Darcy Primrose
To: FreeSWITCH Users Help
Sent: Monday, July 28, 2014 4:40 PM
Subject: Re: [Freeswitch-users] multiple languages
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 at domain.mydomain.ca}user/28 at 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,
http://wiki.freeswitch.org/wiki/Mod_cepstral#libswift.so.
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 -----
From: Neo Haux
To: freeswitch-users at lists.freeswitch.org
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,
ForwardedMessage.eml Subject: Re: [Freeswitch-users] multiple languages
From: Chris Tunbridge <blasterjr at gmail.com>
Date: 07/28/2014 01:27 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Glad i could point you in the right direction.
On Sun, Jul 27, 2014 at 9:13 PM, Darcy Primrose <fs at 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 -----
From: Darcy Primrose
To: FreeSWITCH Users Help
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 at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
------------------------------------------------------------------------------
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140728/3498247b/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list