[Freeswitch-users] Howto Set default language for an application ?

fsrichard at ghz.fr fsrichard at ghz.fr
Thu Dec 15 12:45:16 MSK 2011


Hello again, I'm sorry about the two e-mails asking the same question, I 
did not think the first one had been sent.

I have found a work around but need your advice as I do not know why it 
was not done this way in the first place !

Old code (default in default.xml) :
> <action application="bridge" data="loopback/app=voicemail:default 
> ${domain_name} ${dialed_extension}"/>

Replacement code :

> <action application="voicemail" data="default ${domain_name} 
> ${dialed_extension}"/>

What is the difference between the two ? Why is the bridge application 
used to transfer to voicemail ? Is the replacement code the wrong 
approach ? Is it a question of how much ressources are used ? If so what 
is the real impact ?

Even if my approach is correct, I'm still interested in knowing if there 
is a way to set the voicemail application default language.

Thank you,

Richard


Le 14.12.11 19:50, fsrichard at ghz.fr a écrit :
> Hello,
>
> I'm trying to set up my first FreeSWITCH server but I don't know where 
> to set the default language corresponding to the following line in 
> conf/dialplan/default.xml :
>
>> <extension name="Local_Extension">
>> ...
>> <action application="bridge" data="loopback/app=voicemail:default 
>> ${domain_name} ${dialed_extension}"/>
>> ...
>> </extension>
>
> I have tried this :
>
>> <extension name="Local_Extension">
>> ...
>> *<action application="set" data="default_language=fr"/>*
>> ...
>> <action application="bridge" data="loopback/app=voicemail:default 
>> ${domain_name} ${dialed_extension}"/>
>> ...
>> </extension>
>
> From what I have understood it is normal that it doesn't work as the 
> bridge to a loopback would use it's own settings, but I don't have a 
> clue where to set it of app=voicemail
>
> Is there a way to set the default language per SIP connection ?
>
> I have got an english and a french SIP line and would like to make 
> calls going to the english line have english instructions for leaving 
> a message on the voicemail and the calls to the french line to have 
> french instructions for leaving a message on the voicemail.
>
> Thank you
>
> Richard
>
>
> _________________________________________________________________________
> 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/20111215/59374026/attachment.html 


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