In article <[EMAIL PROTECTED]>,
Jess Coburn <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED]
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: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to