2 like 0 dislike
25 views
I wrote an ivr in Asterisk, but after playing the audio file, I did not allow more than one digit.
In the matching pattern in _X! It means a digit or more than a digit, so why not apply in the following example?

[testdialplan]
exten => 33,1,Answer
same => n,Set(TIMEOUT(digit)=3)
same => n,Background(demo-congrats)
same => n,wait(3)
exten => _XXX!,1,NoOp(number1)
asked Sep 13, 2017 in Education & Reference by Simmi (530 points) | 25 views
    

1 Answer

0 like 0 dislike

_X! means that Asterisk will only try to assemble a number until at least one digit has been obtained. That is, of course, the trivial case. Generally, when doing IVR’s digits arrive individually, so it will always match exactly one digit. The only time that it would match more is on the start of a call, where the digits are in the request URI.

Source: Asterisk Community

answered Sep 13, 2017 by madhusudan

Related questions

1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Aug 25, 2017 in Education & Reference by Simmi (530 points) | 19 views
0 like 0 dislike
1 answer
1 like 0 dislike
1 answer
0 like 0 dislike
1 answer

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

Mathe Forum Schule und Studenten
1,154 questions
1,284 answers
264 comments
1,530 users