Answer the question
In order to leave comments, you need to log in
How to create a queue correctly?
Hello dear.
The asterisk is completely zero, but there was an urgent need to do the following - there is an ivr from which, when dialing, for example, 8, you need to make a call in the following order:
- Simultaneously send a call to numbers 101, 102, 103. After no answer and 20 seconds:
- Simultaneously send a call to numbers 201, 202, 203. After no answer after 20 seconds:
- Dial 301. After no answer after 20 seconds:
- Simultaneously send a call to mobile numbers 89011111111, 89022222222. After no answer and after 20 seconds, hang up.
Did the following:
extentions.conf
exten => 8,1,Queue(testbutton,r,,,80)
queues.conf
[testbutton]
timeout = 20
strategy = linear
ringinuse = no
member => SIP/101.1
member => SIP/102.1
member => SIP/103.1
member => SIP/201.2
member => SIP/202.2
member => SIP /203.2
member => SIP/301.3
member => SIP/[email protected]_gw,4
member => SIP/[email protected]_gw,4
But doesn't work. Where is my mistake?
Answer the question
In order to leave comments, you need to log in
"Queue" is clearly not what you need. It's about creating a queue for callers.
The DIAL command can call several numbers and fight back on a timer
. Each line of your script is a DIAL command
https://asterisk-pbx.ru/wiki/asterisk/cf/queues.conf
Timeout section.
Hint - it's not that timeout = 20.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question