Answer the question
In order to leave comments, you need to log in
Asterisk gathering in a conference?
Hello.
Thanks to the help of knowledgeable people, I managed to set up the collection of internal and external numbers in the conference (numbers like 7XXXX). Now I'm interested in how to assemble numbers of various lengths into a conference.
Those. I dial the number 7XXXXX and for example 98XXXXXXXXXX as well as 5XX.
While I can collect 7ХХХХ, other numbers "pass by" and only subscribers with five-digit numbers can talk and catch an incoming call.
Here is the solution for five digit numbers:
[Conference]
exten => _**XXXXX!,1,Set(Numbers=${EXTEN:1})
same => n(loop),GotoIf($["${Numbers:0:1}"!="*"]?end)
same => n(orig),Originate(OOH323/${Numbers:1:5}@avaya,exten,Conference,${CALLERID(num)},1,60)
same => n,Set(Numbers=${Numbers:6})
same => n,Goto(loop)
same => n(end),ConfBridge(${CALLERID(num)},bridge,simple)
exten => _X.,1,Wait(1)
same => n,ConfBridge(${EXTEN},bridge,simple)
[autoredial]
exten => _99.,1,Dial(OOH323/${EXTEN:2}@avaya,40,g)
exten => _99.,n,Wait(5)
exten => _99.,n,Goto(${EXTEN},1)
exten => _99.,h,Goto(${EXTEN},1)
exten => _99.,h,Goto(autoredial,s,1)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question