[Asterisk-Users] Re: What's the easiest way to call two people at
same time and bridge them?
Tony Mountifield
tony at softins.clara.co.uk
Tue Jan 18 12:36:54 MST 2005
In article <94b3c51f05011811107de1f992 at mail.gmail.com>,
Jess Coburn <jess.coburn at gmail.com> wrote:
> Anyone have a suggestion on how I can have my asterisk box make two
> SIP or IAX calls and bridge the two together? It seems like it would
> be easy to setup but the only way I'm finding seems to be setting up
> meetme rooms.
Use the "Local" channel type. Let's say you have a context called
"phones" with some extensions defined that go to the places you
want to connect, e.g.
[phones]
exten => 2000,1,Dial(SIP/2000)
exten => 2100,1,Dial(SIP/2100)
Then you can ring them both and make them talk to each other by making
a .call file as follows, and putting it into /var/spool/asterisk/outgoing:
Channel: Local/2000 at phones
Context: phones
Extension: 2100
Priority: 1
That will ring extension 2000, and then when it answers it will ring
extension 2100 and connect them together.
Hope this helps
Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
More information about the asterisk-users
mailing list