onRequestTimeout method

void onRequestTimeout()

Implementation

void onRequestTimeout() {
  logger.error('onRequestTimeout()');

  if (_status != C.statusTerminated) {
    terminate(<String, dynamic>{
      'status_code': 408,
      'reason_phrase': dart_sip_c.CausesType.REQUEST_TIMEOUT,
      'cause': dart_sip_c.CausesType.REQUEST_TIMEOUT
    });
  }
}