[Asterisk-Dev] Manual Bridge Application
Brian West
brian at bkw.org
Tue Feb 1 12:47:42 MST 2005
1. You're going about this wrong.
2. So you're calling this app with two args. chan1 and chan2 neither being
the caller?
3. Um where is the channel that called the app?
Quoting a wise man here:
"find the target chan then you alloc a blank channel and suck the life force
from the real chan into yours via masq then the now lifeless chan just drops
dead in it's tracks like it was soft hungup then it bridges the new chan
which you now own to you in your thread then you dispose of it and exit"
Danger, Will Robinson! Danger!
bkw
----- Original Message -----
From: "Robert Spielmann" <spielmann at plus.cablesurf.de>
To: <Asterisk-Dev at lists.digium.com>
Sent: Tuesday, February 01, 2005 1:25 PM
Subject: [Asterisk-Dev] Manual Bridge Application
> Hi,
>
> I've done quite a dirty hack to manually bridge two channels, I only
> have one problem:
>
> a) complaints about possible deadlocks on the CLI
> b) the bridge itself works fine, but when one side hangs up, the
> channels stay open.
>
> Code: http://www.byteforge.org/asterisk/app_manualbridge.c
>
> Can anyone give me a hint? :-)
>
> TIA
> Robert
>
> --
> "Whether Halliburton, ENRON or anyone
> greed is a weapon of mass destruction"
> Faithless, "Mass Destruction"
>
> Visit my website: http://www.byteforge.org
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list