[svn-commits] tilghman: branch 1.4 r143140 - /branches/1.4/channels/chan_iax2.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Sep 15 16:29:32 CDT 2008
Author: tilghman
Date: Mon Sep 15 16:29:32 2008
New Revision: 143140
URL: http://svn.digium.com/view/asterisk?view=rev&rev=143140
Log:
Set the raw formats at the same time as the other formats.
(closes issue #13240)
Reported by: jvandal
Patches:
20080813__bug13240.diff.txt uploaded by Corydon76 (license 14)
Modified:
branches/1.4/channels/chan_iax2.c
Modified: branches/1.4/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_iax2.c?view=diff&rev=143140&r1=143139&r2=143140
==============================================================================
--- branches/1.4/channels/chan_iax2.c (original)
+++ branches/1.4/channels/chan_iax2.c Mon Sep 15 16:29:32 2008
@@ -3801,8 +3801,8 @@
tmp->tech = &iax2_tech;
/* We can support any format by default, until we get restricted */
tmp->nativeformats = capability;
- tmp->readformat = ast_best_codec(capability);
- tmp->writeformat = ast_best_codec(capability);
+ tmp->readformat = tmp->rawreadformat = ast_best_codec(capability);
+ tmp->writeformat = tmp->rawwriteformat = ast_best_codec(capability);
tmp->tech_pvt = CALLNO_TO_PTR(i->callno);
/* Don't use ast_set_callerid() here because it will
More information about the svn-commits
mailing list