K
K
karibskii_koks2016-12-08 10:17:51
Asterisk
karibskii_koks, 2016-12-08 10:17:51

Asterisk, how to set up a call group?

Hello, I'm setting up Asterisk and trying to understand how calls to a group of numbers are implemented.
Do I need to change the values ​​for the context in the dialplan?
[zadarma-in]
exten => 468174,1, Dial(SIP/667&SIP/666,15)
In queues.conf I have:
[ringing]
strategy=ringall
member=> SIP/666,1
member=> SIP/668, 2
Sip.conf
[phones]
type=friend
host=dynamic
secret=123
nat=no
qualify=400
canreinvite=no
context=office
allow=all
[666](phones)
callerid="Satana"
[667](phones)
callerid= "ShadowFriend"
[668](phones)
callerid="friend"
And in my dialplan:
[zadarma-in]
exten => 468174,1, Dial(SIP/667&SIP/666&SIP/668,15)
[office]
include => zadarma-out
exten => 5212,1,Answer
exten => 5212,n,Playback(demo-echotest)
exten => 5212,n,Echo
exten => 5212,n,Playback(demo-echodone)
exten => 666.1, Dial(SIP/666.40)
exten => 666 ,2, Hangup
exten => 667.1, Dial(SIP/667.40)
exten => 667.2, Hangup
exten => 668.1, Dial(SIP/668.40)
exten => 668.2, Hangup

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor, 2016-12-08
@karibskii_koks

Confusing group and queue
Group
Dial(SIP/101&SIP/102,40)
Queue
[1299]
strategy=ringall
member=> SIP/666,1
member=> SIP/668,2
Queue(1299,t,,,300)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question