]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Added missing error codes when an ECM FAX is abandoned with the T30_ERR message
authorSteve Underwood <steveu@coppice.org>
Sun, 2 Jan 2011 11:30:00 +0000 (19:30 +0800)
committerSteve Underwood <steveu@coppice.org>
Sun, 2 Jan 2011 11:30:00 +0000 (19:30 +0800)
libs/spandsp/src/t30.c

index 45387b858548eddcc8fa4be59a93e79da40cf1c0..aba4eef0ebcc2d2167a56b74f72e9da84eca9d91 100644 (file)
@@ -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;