[Freeswitch-users] Session-wise Language Setting

Sharad Garg sharad at coraltele.com
Fri Mar 30 16:13:12 MSD 2012


Thanks Peter...yes it works.

Just a last query - Is there any API for setting the same so that it can be 
used from Javascript.

Best Regards
Sharad


----- Original Message ----- 
From: "Peter Olsson" <peter.olsson at visionutveckling.se>
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Sent: Friday, March 30, 2012 12:16 PM
Subject: Re: [Freeswitch-users] Session-wise Language Setting


It's a channel variable, it's unique per channel, so there is no risk that a 
variable on channel A overwrites the value of the variable in channel B.

/Peter
________________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org 
[freeswitch-users-bounces at lists.freeswitch.org] f&#246;r Sharad Garg 
[sharad at coraltele.com]
Skickat: den 30 mars 2012 08:11
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] Session-wise Language Setting

Dear Tim,

Thanks for your kind reply.

Just another curisity....For a live call, if I set the default_language say
English, now that call will be entertained in english. Now while first call
is in progreess, second call comes & this caller opts for Russian...so we
have to set default language as russian. In this case, all the voice prompts
which are being played to first caller, will be in russian.

Is'nt it ?

Actually first call should continue in english & second call should be in
russian & so on.

Plz clarify.

Regards
Sharad

----- Original Message -----
From: "Tim St. Pierre" <fs-list at communicatefreely.net>
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Sent: Thursday, March 29, 2012 7:47 PM
Subject: Re: [Freeswitch-users] Session-wise Language Setting


> Yes!
>
> On incoming calls, I set default_language to either en or fr (I'm in
> Canada), depending on the DID.  I can also change that variable in an IVR
> if the caller wants to change the language.  On outgoing calls, I set the
> same variable in the directory, so that any call that a phone makes will
> have a language set.  This is great in a multi-lingual environment, as
> each user can have a language preference that will be used for voice mail
> and other system prompts.  We store that in a database and also have the
> provisioning system look to that same variable, so the screen labels and
> text on the phone is the same language.
>
> -Tim
>
> Sharad Garg wrote:
>> Hi All
>>
>> Just wondering whether we can define the language from beginning of the
>> call means when a call is originated or landed to Freeswitch, can we
>> define the language of all the prompts whether the call should be
>> processed in English or Russian or so on.?
>>
>> Regards
>> Sharad
>>
>>
>> ----- Original Message -----
>> From: <freeswitch-users-request at lists.freeswitch.org>
>> To: <freeswitch-users at lists.freeswitch.org>
>> Sent: Thursday, March 29, 2012 7:33 AM
>> Subject: FreeSWITCH-users Digest, Vol 69, Issue 282
>>
>>
>>
>>> Send FreeSWITCH-users mailing list submissions to
>>> freeswitch-users at lists.freeswitch.org
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> or, via email, send a message with subject or body 'help' to
>>> freeswitch-users-request at lists.freeswitch.org
>>>
>>> You can reach the person managing the list at
>>> freeswitch-users-owner at lists.freeswitch.org
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of FreeSWITCH-users digest..."
>>>
>>>
>>
>>
>> --------------------------------------------------------------------------------
>>
>>
>>
>>> Today's Topics:
>>>
>>>   1. Re: Open Bugs on Jira and Call for help (Ken Rice)
>>>   2. mod_callcenter and moh-sound (Vik Killa)
>>>   3. Re: mod_callcenter and moh-sound (Vik Killa)
>>>   4. Registration VIA TCP (Rob Moore)
>>>   5. Forward calls from opensips to freeswitch (Sherif Omran)
>>>   6. Re: Registration VIA TCP (Mitch Capper)
>>>
>>>
>>
>>
>> --------------------------------------------------------------------------------
>>
>>
>>
>>> _______________________________________________
>>> 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
>>
>
>
>
>


_________________________________________________________________________
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

!DSPAM:4f75538432768881816776!







Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list