MNCC: Add cause name for 'invalid callref'

This commit is contained in:
Andreas Eversberg 2019-12-24 15:19:51 +01:00
parent 5dc05576db
commit b1e36be99f
1 changed files with 3 additions and 1 deletions

View File

@ -39,8 +39,10 @@ const char *cause_name(int cause)
return "no-channel";
case CAUSE_TEMPFAIL:
return "link-failure";
case CAUSE_INVALCALLREF:
return "invalid-callref";
default:
sprintf(cause_str, "cause=%d\n", cause);
sprintf(cause_str, "cause=%d", cause);
return cause_str;
}