sipErrorCause function
Implementation
String sipErrorCause(dynamic statusCode) {
String reason = dart_sip_c.CausesType.SIP_FAILURE_CODE;
dart_sip_c.SIP_ERROR_CAUSES.forEach((String key, List<int> value) {
if (value.contains(statusCode)) {
reason = key;
}
});
return reason;
}