[Freeswitch-users] multiple languages

Darcy Primrose fs at voice2net.ca
Tue Jul 29 03:10:25 MSD 2014


Vous êtes la bienvenue.  Yes, you do need to have cepstral installed to make the French work on top of the english.  single channel is 100 plus 40 for the voice, kind of steep for a home setup.  You could play with an ivr for the voice mail and use the record application.  You can download the french recordings for freeswitch for free, and you could record some of your own greetings, we were doing that for a while and it worked quite well.  There are lots of text to speech on lines aps out there to record customer messages if need be.

Darcy

----- Original Message ----- 
  From: Neo Haux 
  To: freeswitch-users at lists.freeswitch.org 
  Sent: Monday, July 28, 2014 5:29 PM
  Subject: Re: [Freeswitch-users] multiple languages


  Hi Darcy,

  Merci beaucoup !

  Before diving in this and try to implement these codes (for a single domain that I have)
  I want to be sure that I have the correct FS's setup. Do I need cepstral installed to be able to have voicemail in French?  Because this config is for my home pbx/voicemail, so I am not sure if I'll pay the license for such a small setup.

  Thanks again.




  ForwardedMessage.eml Subject: Re: [Freeswitch-users] multiple languages 
        From: "Darcy Primrose" <fs at voice2net.ca> 
        Date: 07/28/2014 04:46 PM 
        To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org> 


  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







------------------------------------------------------------------------------


  _________________________________________________________________________
  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/a3ff4b4e/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list