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

irroot reviewboard at asterisk.org
Tue Sep 20 02:56:15 CDT 2011


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

(Updated Sept. 20, 2011, 2:56 a.m.)


Review request for Asterisk Developers.


Changes
-------

Updated patch to include comments and issue a descriptive warning when this occurs.


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 (updated)
-----

  /branches/1.8/main/channel.c 336930 

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/20110920/09c884c4/attachment.htm>


More information about the asterisk-dev mailing list