span_log(&s->logging, SPAN_LOG_FLOW, "T2A expired in phase %s, state %s. An HDLC frame lasted too long.\n", phase_names[s->phase], state_names[s->state]);
t30_set_status(s, T30_ERR_HDLC_CARRIER);
+ /* T.30 says we should retry at this point, but we can't. We would need to
+ wait for the far end to go quiet before sending. Experience says you only
+ get here when the far end is buggy, and it will not go quiet unless you
+ hang up. If we were to retry, how long should we wait for the line to go
+ quiet? T.30 doesn't specify things like that. The only effective strategy,
+ when trying to deal with problems found in logs from real world systems,
+ is to abandon the call. */
terminate_call(s);
}
/*- End of function --------------------------------------------------------*/