[Asterisk-Dev] Application "ManualBridge"

Robert Spielmann spielmann at tal.de
Mon Jan 31 03:49:16 MST 2005


Am Montag, 31. Januar 2005 11:44 schrieb Paul Cadach:
> Hi,
>
> Probably you need to manual unlock channels when ones isn't needs anymore
> by ast_mutex_unlock(&c1->lock) or ast_mutex_unlock(&c2->lock), at least
> after call to ast_bridge_call(). This should help a little.

I'll try, thank you :-)

> Also, check that ast_moh_stop(), ast_deactivate_generator()4,
> ast_channel_make_compatible(), ast_bridge_call() isn't expect unlocked
> channels.

What exactly do you mean? "The functions expect an unlocked channel" or "the 
functions do NOT expect an unlocked channel"?

Thanks so far :-)
Robert Spielmann
>
> ----- Original Message -----
> From: "Robert Spielmann" <spielmann at tal.de>
> To: <asterisk-dev at lists.digium.com>
> Sent: Monday, January 31, 2005 4:08 PM
> Subject: [Asterisk-Dev] Application "ManualBridge"
>
> > Hi,
> >
> > I wrote my own app to manually bridge two channels, however I get some
> > error messages saying "avoided initial deadlock for channel xyz" and the
> > channels keep existing after both partners hang up. Can someone help me?
> > :-)
> >
> > Code: http://www.pastebin.com/235671
> >
> > TIA
> > Robert Spielmann
> > -----------------------------------------------------
> > TAL.DE Klaus Internet Service GmbH spielmann at tal.de
> > Robertstr. 6 * D-42107 Wuppertal, Germany
> > Tel +49 (0) 202 495-364 * Fax +49 (0) 202 / 495-399
> >
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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

-- 
Mit freundlichen Grüßen
Robert Spielmann
-----------------------------------------------------
TAL.DE  Klaus Internet Service GmbH  spielmann at tal.de
Robertstr. 6        *      D-42107 Wuppertal, Germany
Tel +49 (0) 202 495-364  *  Fax +49 (0) 202 / 495-399




More information about the asterisk-dev mailing list