jkockler
asked on
making 2 sip peers ring, at the same time in asterisk dial plan
I want to make 2 sip peer ip phones ring at the same time, when dialing a specific DID or extension. For the example we will say that i want to ring, phone1 and phone 2 at the same time when calling DID 2222222222
So for example, I have in my sip.conf
[phone1]
type=friend
context=whatever
host=dynamic
secret=hi
callerid=0000000000
mailbox=0000000000
[phone2]
type=friend
context=whatever
host=dynamic
secret=hi
callerid=1111111111
mailbox=1111111111
What would the incoming calls context look like in extensions.conf to make both phones ring simultaneously when calling DID 2222222222 ????
I have tried a couple different things in extensions.conf, like:
exten => 2222222222,1,Dial(SIP/phon e1,phone2, 20) ; That did not work
exten => 2222222222,1,Dial(SIP/phon e1,20)
exten => 2222222222,1,Dial(SIP/phon e2,20) ; This did not work either
Thanks for the help!!
So for example, I have in my sip.conf
[phone1]
type=friend
context=whatever
host=dynamic
secret=hi
callerid=0000000000
mailbox=0000000000
[phone2]
type=friend
context=whatever
host=dynamic
secret=hi
callerid=1111111111
mailbox=1111111111
What would the incoming calls context look like in extensions.conf to make both phones ring simultaneously when calling DID 2222222222 ????
I have tried a couple different things in extensions.conf, like:
exten => 2222222222,1,Dial(SIP/phon
exten => 2222222222,1,Dial(SIP/phon
exten => 2222222222,1,Dial(SIP/phon
Thanks for the help!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.