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@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@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