[asterisk-dev] [Code Review] Set Write format if it does not match native format or current write format.

Tilghman Lesher reviewboard at asterisk.org
Mon Sep 19 13:18:13 CDT 2011


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



/branches/1.8/main/channel.c
<https://reviewboard.asterisk.org/r/1442/#comment8488>

    You still need to log a WARNING here.  It is not fair game to allow channel drivers to skip the step of setting the new codec explicitly.


- Tilghman


On Sept. 17, 2011, 6:51 a.m., irroot wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1442/
> -----------------------------------------------------------
> 
> (Updated Sept. 17, 2011, 6:51 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> Its possible to loose audio on ast_write when the channel is not transcoded correctly.
> 
> in the case of DAHDI the channel is hungup.
> 
> a simple check and fix solves this problem.
> 
> Many support issues are open over this issue.
> 
> 
> This addresses bugs ASTERISK-14384, ASTERISK-17502, ASTERISK-17541, ASTERISK-18063, ASTERISK-18325, and ASTERISK-18422.
>     https://issues.asterisk.org/jira/browse/ASTERISK-14384
>     https://issues.asterisk.org/jira/browse/ASTERISK-17502
>     https://issues.asterisk.org/jira/browse/ASTERISK-17541
>     https://issues.asterisk.org/jira/browse/ASTERISK-18063
>     https://issues.asterisk.org/jira/browse/ASTERISK-18325
>     https://issues.asterisk.org/jira/browse/ASTERISK-18422
> 
> 
> Diffs
> -----
> 
>   /branches/1.8/main/channel.c 336153 
> 
> Diff: https://reviewboard.asterisk.org/r/1442/diff
> 
> 
> Testing
> -------
> 
> This patch has been in use by me in production for a long period and has resolved these issues and works as expected.
> 
> 
> Thanks,
> 
> irroot
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110919/b26b57ae/attachment.htm>


More information about the asterisk-dev mailing list