aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authormnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-16 21:31:49 +0000
committermnicholson <mnicholson@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-16 21:31:49 +0000
commit8f40844b358cbcfd5e40c89acc7b07bb511222c6 (patch)
tree9b357003218d86249c4d9f6ee0df22e0eceb8efb /channels/chan_sip.c
parentf89a988ddf967c4243802f1f29e07b97346262e1 (diff)
Merged revisions 277530 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r277530 | mnicholson | 2010-07-16 16:24:45 -0500 (Fri, 16 Jul 2010) | 11 lines Merged revisions 277497 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r277497 | mnicholson | 2010-07-16 16:18:38 -0500 (Fri, 16 Jul 2010) | 4 lines Default to no udptl error correction so that error correction will be disabled in the event that the remote end indicates that they do not support the error correction mode we requested. FAX-128 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@277563 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index bf95bfc25..9bea51e30 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -8324,6 +8324,10 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
if (p->t38.state != T38_ENABLED) {
memset(&p->t38.their_parms, 0, sizeof(p->t38.their_parms));
+
+ /* default EC to none, the remote end should
+ * respond with the EC they want to use */
+ ast_udptl_set_error_correction_scheme(p->udptl, UDPTL_ERROR_CORRECTION_NONE);
}
} else {
ast_log(LOG_WARNING, "Unsupported SDP media type in offer: %s\n", m);