Claim your Biolink Click Here
0 like 0 dislike
1.2k views

My Code:

exten => 777,1,Set(LANGUAGE()=es)

exten => 777,2,SayDigits(01234)

It does not speak in Spanish, it only speaks in english

Any help would be appreciated..

in Education & Reference by | 1.2k views
0 0
I also want to play the digits in hindi in asterisk? please help
0 0
Place you hindi digits in this location -> /var/lib/asterisk/sounds/hn/digits

and set the language in your dialplan like this
exten => 777,1,Set(CHANNEL(language)=hn)

2 Answers

0 like 0 dislike
Best answer

Double check that your es files are in the right directory…

The path should be

/var/lib/asterisk/sounds/es/digits/0

/var/lib/asterisk/sounds/es/digits/1

by
0 like 0 dislike
LANGUAGE() is deprecated; use CHANNEL(language) instead

Use like below

exten => 777,1,Set(CHANNEL(language)=es)
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
2 like 0 dislike
1 answer
0 like 0 dislike
2 answers
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Sep 27, 2013 in Education & Reference by anonymous | 1.1k views
0 like 0 dislike
1 answer
asked Aug 21, 2013 in Education & Reference by mr. N | 10.0k views

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,312 questions
1,473 answers
569 comments
4,809 users