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

Thomas Haeger thomas.haeger at beronet.com
Tue Jun 10 00:47:19 MST 2003


Hallo Levent,

try it with "ast_channel_bridge".

You can find a description in channel.h.


Regards,

Thomas.

-----Ursprüngliche Nachricht-----
Von: asterisk-dev-admin at lists.digium.com
[mailto:asterisk-dev-admin at lists.digium.com]Im Auftrag von Levent
Guendogdu
Gesendet: Montag, 9. Juni 2003 19:49
An: asterisk-dev
Betreff: [Asterisk-Dev] Adding "Bridge" command to manager.c:
Implementation Problem


Hi,

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.

Bye,
 Lev.


_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list