[Asterisk-Dev] Adding "Bridge" command to manager.c: Implementation Problem

Levent Guendogdu l.guendogdu at feature-it.com
Mon Jun 9 10:49:19 MST 2003


in my effort to implement the "Action: Bridge" to the manager interface
I haven't been able to solve how to actually do the bridge. The skeleton
works, manager implementation is done.

The "action: bridge" command takes two parameters:

Channel A and Channel B.

All I want to do is to connect Channel A to Channel B.

I tried using ast_channel_masquerade until I've learned, that

masquerade(a, b) doesn't connect A to B, but it connects the person A
talks to (which is MOH or another Person) to B. What I need is the
ability to connect two active channels together and throw away their
previous endpoints.

I'm knocking my teeth out on this one for several days now (not many
teeth left...).

Any help will be GREATLY appreciated.

Thanks a lot.


More information about the asterisk-dev mailing list