Set Languages for each extension

Hi everybody,

I want to customize the language of each sip extension.

I know that the place where i set the language is on sip.conf or zapata.conf, but this configuration is general for all the extensions.

For example:

sip extension 30, language=es
sip extension 40, language=en

Please, tell me the ideas


exten => 30,1,Set(CHANNEL(language)=es)
exten => 40,1,Set(CHANNEL(language)=en)


Marco Bruni