aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-15 21:33:02 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-09-15 21:33:02 +0000
commitb62a59d911fa9afc4bdbdfc83ccdf4aa67fd9a08 (patch)
tree22a6b3e895823ed9a83ef681c63f2b985d3b8c33 /channels
parent01c2b0773bf65aa6d5b3e57e20cb2d7d211a429d (diff)
Merged revisions 143141 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r143141 | tilghman | 2008-09-15 16:31:36 -0500 (Mon, 15 Sep 2008) | 13 lines Merged revisions 143140 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r143140 | tilghman | 2008-09-15 16:29:32 -0500 (Mon, 15 Sep 2008) | 6 lines 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) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@143143 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_iax2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index c0a6bca7c..0e7a55fe1 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -4219,8 +4219,8 @@ static struct ast_channel *ast_iax2_new(int callno, int state, int capability)
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);
if (!ast_strlen_zero(i->parkinglot))