A customer of mine wants an IVR where the first 3 choices are 1 English 2 Spanish 3 French I can build the IVR but how do I get the system prompts to then speak the selected langauge. For example, a caller has selected Spanish and so is routed to the Spanish part of the IVR. At some point he breaks out of the IVR to leave a VM. How does the system know to continue offering him Spanish? Thanks Mark -- Mark, G7LTT/KC2ENI Randolph, NJ http://www.g7ltt.com
Mark Phillips a ?crit :> A customer of mine wants an IVR where the first 3 choices are > > 1 English > 2 Spanish > 3 French > > I can build the IVR but how do I get the system prompts to then speak > the selected langauge. For example, a caller has selected Spanish and > so is routed to the Spanish part of the IVR. At some point he breaks > out of the IVR to leave a VM. How does the system know to continue > offering him Spanish?asterix:~# asterisk -rx 'show application setlanguage' -= Info about application 'SetLanguage' =- [Synopsis]: Sets user language [Description]: SetLanguage(language): Set the channel language to 'language'. This information is used for the syntax in generation of numbers, and to choose a natural language file when available. For example, if language is set to 'fr' and the file 'demo-congrats' is requested to be played, if the file 'fr/demo-congrats' exists, then it will play that file, and if not will play the normal 'demo-congrats'. Always returns 0. -- Jean-Michel Hiver - http://ykoz.net/ D?couvrez la R?union des Technologies IP & Telecom TEL: +262 (0)262 55 03 98 - RCS 434 273 330 SAINT PIERRE
You have your three choices (1, 2, and 3), so you have to identify them. You set a variable to contain the laguage like this: exten=> 1,1,NoOp(LANGUAGE="en") exten=> 2,1,NoOp(LANGUAGE="sp") exten=> 3,1,NoOp(LANGUAGE="fr") then you can control the dialplan's flow with GotoIf. It's the first thing that came to my mind, I hope it helps. Regards! 2006/2/6, Mark Phillips <g7ltt@g7ltt.com>:> A customer of mine wants an IVR where the first 3 choices are > > 1 English > 2 Spanish > 3 French > > I can build the IVR but how do I get the system prompts to then speak > the selected langauge. For example, a caller has selected Spanish and so > is routed to the Spanish part of the IVR. At some point he breaks out of > the IVR to leave a VM. How does the system know to continue offering him > Spanish? > > Thanks > > Mark > > > -- > > Mark, G7LTT/KC2ENI > Randolph, NJ > http://www.g7ltt.com > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Facundo Ameal. fameal<at>gmail<dot>com Linux User #395088 FWD: 741664 MSN: asado<at>lamorcilla<dot>com<dot>ar ICQ: 74005793 Open your mind, use open source.
On 2/6/06, Mark Phillips <g7ltt@g7ltt.com> wrote:> A customer of mine wants an IVR where the first 3 choices are > > 1 English > 2 Spanish > 3 French > > I can build the IVR but how do I get the system prompts to then speak > the selected langauge. For example, a caller has selected Spanish and so > is routed to the Spanish part of the IVR. At some point he breaks out of > the IVR to leave a VM. How does the system know to continue offering him > Spanish?Maybe once they've selected the language, set their default language? ie: exten => 1,1,Set(LANGUAGE()=en) exten => 1,2,... exten => 2,1,Set(LANGUAGE()=es) exten => 2,2,... exten => 3,1,Set(LANGUAGE()=fr) exten => 3,2,... Hope this helps. Cheers, Gonzalo
> A customer of mine wants an IVR where the first 3 choices are > > 1 English > 2 Spanish > 3 French > > I can build the IVR but how do I get the system prompts to then speak > the selected langauge. For example, a caller has selected Spanish and so > is routed to the Spanish part of the IVR. At some point he breaks out of > the IVR to leave a VM. How does the system know to continue offering him > Spanish?see http://www.voip-info.org/tiki-index.php?page=Asterisk+cmd+SetLanguage and http://www.voip-info.org/wiki/view/Asterisk+multi-language But, AFAIK, when they get to voicemail, the greeting is not based on the language setting, so you have to record it in those 3 languages, which makes a pretty long greeting hth
>But, AFAIK, when they get to voicemail, the greeting is not based on >the language setting, so you have to record it in those 3 languages, >which makes a pretty long greetingThis is common in Canada which has 2 official languages. The convention here is to intersperse the secondary language with the primary language so a non native English speaker can follow what is going on: "Hi, no one can take your call right now / Bonjour, personne ne peuvent prendre votre appel en ce moment / Please leave a message and I will return your call as soon as possible / Veuillez laisser un message et je renverrai votre appel aussit?t que possible" 3 might be a stretch though.
Colin Anderson wrote:>> But, AFAIK, when they get to voicemail, the greeting is not based on >> the language setting, so you have to record it in those 3 languages, >> which makes a pretty long greeting > > > This is common in Canada which has 2 official languages. The convention here > is to intersperse the secondary language with the primary language so a non > native English speaker can follow what is going on: > > "Hi, no one can take your call right now / Bonjour, personne ne peuvent > prendre votre appel en ce moment / Please leave a message and I will return > your call as soon as possible / Veuillez laisser un message et je renverrai > votre appel aussit?t que possible" > > 3 might be a stretch though. > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-usersmaybe break the languages into smaller pieces? for french, press 1... for english, press 2... -- . -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/GIT> d-@ s+:+ a? C+++ BLHIS$ U+++ P+> L+++ !E W+++$ N++ o+ K w-- PS+++ PE@ Y+ PGP++ t 5? X !R tv+ b- DI-- D G e+> h---- r+++ y++++ ------END GEEK CODE BLOCK------ . -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 187 bytes Desc: OpenPGP digital signature Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060207/7cb50ae3/signature.pgp
unfortunately the federal government in Canada mandates this and in Quebec if you don't do it, you can be charged with a criminal offense. French Canada farts in your general direction. -----Original Message----- From: Mark Phillips [mailto:g7ltt@g7ltt.com] Sent: Tuesday, February 07, 2006 1:11 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] change languages from an IVR I've come across this in my dealings with my customers in Toronto. As an Englishman I find it most infuriating. French is after all, the most hated language in the world from an Englishmans perspective ;-} Mark, G7LTT/KC2ENI Randolph, NJ http://www.g7ltt.com Derek Whitten wrote:> Colin Anderson wrote: > >>>But, AFAIK, when they get to voicemail, the greeting is not based on >>>the language setting, so you have to record it in those 3 languages, >>>which makes a pretty long greeting >> >> >>This is common in Canada which has 2 official languages. The conventionhere>>is to intersperse the secondary language with the primary language so anon>>native English speaker can follow what is going on: >> >>"Hi, no one can take your call right now / Bonjour, personne ne peuvent >>prendre votre appel en ce moment / Please leave a message and I willreturn>>your call as soon as possible / Veuillez laisser un message et jerenverrai>>votre appel aussit?t que possible" >> >>3 might be a stretch though. >> >> >>_______________________________________________ >>--Bandwidth and Colocation provided by Easynews.com -- >> >>Asterisk-Users mailing list >>To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users > > > maybe break the languages into smaller pieces? > > for french, press 1... for english, press 2... > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
sorry I meant in the workplace, of course that would be absurd if the provincial gov't mandated your voicemail message at home to be bi-lingual but you know it wouldn't suprise me if they changed the law accordingly. Wasn't there an incident a few years ago where a guy hung a sign outside of his house and he was fined a couple grand, not because it wasn't bi-lingual but because the French wasn't big enough? There's some 80/20 proportion that you have to follow. -----Original Message----- From: Marcel Eric Loiselle [mailto:marceleric@gmail.com] Sent: Wednesday, February 08, 2006 6:50 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] change languages from an IVR Hi Colin, We don't read the same law books :-) Federal goverment mandates governement office, public service, court to be billingual. Thats Quebec provincial governement that force cie to use French or billinguism in some area: -Language use in working place (must be French) -Internal used sofware and documentation (must in French if a French version exist) -School insription (If you parent are French you must study in French) -Price and sign information (billinguism allowed under condition) -... Someting it sucks. But I never saw anything forcing you to translate you phone system (except screaming French customer). My 2 cents On 2/7/06, Colin Anderson < ColinA@landmarkmasterbuilder.com <mailto:ColinA@landmarkmasterbuilder.com> > wrote: unfortunately the federal government in Canada mandates this and in Quebec if you don't do it, you can be charged with a criminal offense. French Canada farts in your general direction. -----Original Message----- From: Mark Phillips [mailto: g7ltt@g7ltt.com <mailto:g7ltt@g7ltt.com> ] Sent: Tuesday, February 07, 2006 1:11 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] change languages from an IVR I've come across this in my dealings with my customers in Toronto. As an Englishman I find it most infuriating. French is after all, the most hated language in the world from an Englishmans perspective ;-} Mark, G7LTT/KC2ENI Randolph, NJ http://www.g7ltt.com <http://www.g7ltt.com> Derek Whitten wrote:> Colin Anderson wrote: > >>>But, AFAIK, when they get to voicemail, the greeting is not based on >>>the language setting, so you have to record it in those 3 languages, >>>which makes a pretty long greeting >> >> >>This is common in Canada which has 2 official languages. The conventionhere>>is to intersperse the secondary language with the primary language so anon>>native English speaker can follow what is going on: >> >>"Hi, no one can take your call right now / Bonjour, personne ne peuvent >>prendre votre appel en ce moment / Please leave a message and I willreturn>>your call as soon as possible / Veuillez laisser un message et jerenverrai>>votre appel aussit?t que possible" >> >>3 might be a stretch though. >> >> >>_______________________________________________ >>--Bandwidth and Colocation provided by Easynews.com <http://Easynews.com>-->> >>Asterisk-Users mailing list >>To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users<http://lists.digium.com/mailman/listinfo/asterisk-users>> > > maybe break the languages into smaller pieces? > > for french, press 1... for english, press 2... > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com <http://Easynews.com>--> > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users<http://lists.digium.com/mailman/listinfo/asterisk-users> _______________________________________________ --Bandwidth and Colocation provided by Easynews.com <http://Easynews.com> -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> _______________________________________________ --Bandwidth and Colocation provided by Easynews.com <http://Easynews.com> -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users <http://lists.digium.com/mailman/listinfo/asterisk-users> -- Marcel Eric mailto: marceleric@gmail.com <mailto:marceleric@gmail.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060208/da0767e7/attachment.htm