[asterisk-dev] [Code Review] Support T.38 faxes on local channels

Matthew Nicholson mnicholson at digium.com
Wed Jul 28 12:17:47 CDT 2010



> On 2010-07-28 11:14:28, Russell Bryant wrote:
> > /trunk/channels/chan_local.c, lines 255-262
> > <https://reviewboard.asterisk.org/r/813/diff/2/?file=11955#file11955line255>
> >
> >     I don't think this is safe unless chan is locked before going into this part of the code.  ast_bridged_channel() could disappear out from under you as it is now.

Should I be locking chan and the bridged channel?


- Matthew


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/813/#review2492
-----------------------------------------------------------


On 2010-07-28 12:14:15, Matthew Nicholson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/813/
> -----------------------------------------------------------
> 
> (Updated 2010-07-28 12:14:15)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> This patch enables asterisk to send T.38 faxes over local channels.  To accomplish this, support for ast_channel_queryoption() was added to chan_local and support for passing AST_CONTROL_T38_PARAMETERS control frames through a generic bridge was added.
> 
> 
> Diffs
> -----
> 
>   /trunk/channels/chan_local.c 278500 
>   /trunk/main/channel.c 278500 
> 
> Diff: https://reviewboard.asterisk.org/r/813/diff
> 
> 
> Testing
> -------
> 
> I passed several T.38 faxes over a local channel bridged to a sip channel.
> 
> 
> Thanks,
> 
> Matthew
> 
>




More information about the asterisk-dev mailing list