P
P
pcdesign2019-06-18 10:59:55
Asterisk
pcdesign, 2019-06-18 10:59:55

How to remove silence from the voice menu in asterisk?

There is a voice menu like "Click on 1 to get to such and such a department or enter an internal number."
Here is a snippet of the config:

exten => 1,1,Goto(otdel1,s,1) ; Делаем переход в контекст первого отдела по нажатию клавиши 1 
exten => _XXX,1,Dial(SIP/${EXTEN}) ; Звонок на добавочный

Everything set up. Normally works.
But after pressing the number "1" silence, somewhere for 5 seconds, then transition to the otdel1 context.
Perhaps the asterisk will not understand what the subscriber wants to press 1 or press 111 with an internal number.
And then there is silence.
Is there a way to win this somehow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vreitech, 2019-06-18
@pcdesign

indeed, it waits to see if more characters are entered.
win - as an option:

exten => 1,1,Goto(otdel1,s,1) ; Делаем переход в контекст первого отдела по нажатию клавиши 1 
exten => _2XX,1,Dial(SIP/${EXTEN}) ; Звонок на добавочный

only additional then should start with a deuce.
or like this:
exten => 2,1,Goto(otdel1,s,1) ; Делаем переход в контекст первого отдела по нажатию клавиши 1 
exten => _1XX,1,Dial(SIP/${EXTEN}) ; Звонок на добавочный

only incremental then must start with one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question