提交 ec57dc7a authored 作者: Steve Underwood's avatar Steve Underwood

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

上级 2be3175a
...@@ -4275,6 +4275,7 @@ static void process_state_iv_eor(t30_state_t *s, const uint8_t *msg, int len) ...@@ -4275,6 +4275,7 @@ static void process_state_iv_eor(t30_state_t *s, const uint8_t *msg, int len)
break; break;
case T30_ERR: case T30_ERR:
/* TODO: Continue with the next message if MPS or EOM? */ /* TODO: Continue with the next message if MPS or EOM? */
s->current_status = T30_ERR_RETRYDCN;
s->timer_t5 = 0; s->timer_t5 = 0;
send_dcn(s); send_dcn(s);
break; break;
...@@ -4319,6 +4320,7 @@ static void process_state_iv_eor_rnr(t30_state_t *s, const uint8_t *msg, int len ...@@ -4319,6 +4320,7 @@ static void process_state_iv_eor_rnr(t30_state_t *s, const uint8_t *msg, int len
break; break;
case T30_ERR: case T30_ERR:
/* TODO: Continue with the next message if MPS or EOM? */ /* TODO: Continue with the next message if MPS or EOM? */
s->current_status = T30_ERR_RETRYDCN;
s->timer_t5 = 0; s->timer_t5 = 0;
send_dcn(s); send_dcn(s);
break; break;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论