bridging two channels

800 views
Skip to first unread message

ik

unread,
Sep 7, 2011, 12:24:59 PM9/7/11
to Adhearsion
Hello,

Let's say I have two asterisks, is there a way to bridge two separate channels on different asterisk into one call ?

Thanks,

Ido

Ben Klang

unread,
Sep 8, 2011, 3:32:54 PM9/8/11
to adhea...@googlegroups.com

Let's say I have two asterisks, is there a way to bridge two separate channels on different asterisk into one call ?


Yes, as of Asterisk 1.6.0 there is a generic bridging API that is accessible via AMI.  This call allows you to bridge two arbitrary channels together.


/BAK/
-- 
Ben Klang

Mojo Lingo -- Voice applications that work like magic
Twitter: @MojoLingo


Thanks,

Ido

--
You received this message because you are subscribed to the Google Groups "Adhearsion" group.
To post to this group, send email to adhea...@googlegroups.com.
To unsubscribe from this group, send email to adhearsion+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/adhearsion?hl=en.

ik

unread,
Sep 10, 2011, 12:17:41 PM9/10/11
to adhea...@googlegroups.com
On Thu, Sep 8, 2011 at 22:32, Ben Klang <bkl...@mojolingo.com> wrote:

Let's say I have two asterisks, is there a way to bridge two separate channels on different asterisk into one call ?


Yes, as of Asterisk 1.6.0 there is a generic bridging API that is accessible via AMI.  This call allows you to bridge two arbitrary channels together.


Thanks Ben, but I'm looking for bridging between two channels that each of them located on different asterisk.
 

Ben Klang

unread,
Sep 10, 2011, 6:30:03 PM9/10/11
to adhea...@googlegroups.com
On Sep 10, 2011, at 12:17 PM, ik wrote:

On Thu, Sep 8, 2011 at 22:32, Ben Klang <bkl...@mojolingo.com> wrote:

Let's say I have two asterisks, is there a way to bridge two separate channels on different asterisk into one call ?


Yes, as of Asterisk 1.6.0 there is a generic bridging API that is accessible via AMI.  This call allows you to bridge two arbitrary channels together.


Thanks Ben, but I'm looking for bridging between two channels that each of them located on different asterisk.

There are a couple of ways to approach this:

1) The easiest is to drop the Call A in to a conference on Asterisk A.  Then have Asterisk B dial the conference bridge on Asterisk A to join the calls.


2) Another approach would be to have Asterisk B dial Asterisk A and have the call go to AGI.  Then Adhearsion can use the Bridge API I referenced earlier to connect the two calls together.  This avoids the need for a whole lot of separate conference bridges.

3) It's possible you could do something similar with call parking, but that's probably more trouble than it's worth.
Reply all
Reply to author
Forward
0 new messages