From: Steve Underwood Date: Sun, 2 Jan 2011 11:30:00 +0000 (+0800) Subject: Added missing error codes when an ECM FAX is abandoned with the T30_ERR message X-Git-Tag: v1.2-rc1~223^2~2^2^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec57dc7ab76e5765bbd50905e47a1cac2aad38ba;p=thirdparty%2Ffreeswitch.git Added missing error codes when an ECM FAX is abandoned with the T30_ERR message --- diff --git a/libs/spandsp/src/t30.c b/libs/spandsp/src/t30.c index 45387b8585..aba4eef0eb 100644 --- a/libs/spandsp/src/t30.c +++ b/libs/spandsp/src/t30.c @@ -4275,6 +4275,7 @@ static void process_state_iv_eor(t30_state_t *s, const uint8_t *msg, int len) break; case T30_ERR: /* TODO: Continue with the next message if MPS or EOM? */ + s->current_status = T30_ERR_RETRYDCN; s->timer_t5 = 0; send_dcn(s); break; @@ -4319,6 +4320,7 @@ static void process_state_iv_eor_rnr(t30_state_t *s, const uint8_t *msg, int len break; case T30_ERR: /* TODO: Continue with the next message if MPS or EOM? */ + s->current_status = T30_ERR_RETRYDCN; s->timer_t5 = 0; send_dcn(s); break;