summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMatthew Nicholson <mnicholson@digium.com>2010-07-16 21:24:45 +0000
committerMatthew Nicholson <mnicholson@digium.com>2010-07-16 21:24:45 +0000
commit5150954d4ae93ed661ec5b838cc4c50777517c51 (patch)
tree60750d8bdd66ac6059e3f05fbddc2b02aba2eb5e /channels
parent5b8a8fc6c86cc7347a6ef64c01fbf71598e667fe (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@277530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-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 092825393..792ca6980 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -8013,6 +8013,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);