Link to home
Start Free TrialLog in
Avatar of jkockler
jkocklerFlag for United States of America

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/phone1,phone2,20) ; That did not work

exten => 2222222222,1,Dial(SIP/phone1,20)
exten => 2222222222,1,Dial(SIP/phone2,20) ; This did not work either


Thanks for the help!!


ASKER CERTIFIED SOLUTION
Avatar of Member_2_1968385
Member_2_1968385
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial