Added missing error codes when an ECM FAX is abandoned with the T30_ERR message

This commit is contained in:
Steve Underwood 2011-01-02 19:30:00 +08:00
parent 2be3175ae9
commit ec57dc7ab7
1 changed files with 2 additions and 0 deletions

View 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;