registrationFailed method

void registrationFailed({
  1. required dynamic response,
  2. String? cause,
})

Registration Failed

Implementation

void registrationFailed({required dynamic response, String? cause}) {
  emit(EventRegistrationFailed(
      cause: ErrorCause(
          cause: Utils.sipErrorCause(response.status_code),
          status_code: response.status_code,
          reason_phrase: response.reason_phrase)));
}