[Asterisk-Users] change languages from an IVR

Gonzalo Servat gservat at gmail.com
Tue Feb 7 06:17:21 MST 2006


On 2/6/06, Mark Phillips <g7ltt at 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



More information about the asterisk-users mailing list