Handle SRTP_READ_ERROR in mod_rayo

This commit is contained in:
Travis Cross 2014-06-28 06:42:57 +00:00
parent f31641f4bf
commit 7741f403f1
1 changed files with 1 additions and 0 deletions

View File

@ -444,6 +444,7 @@ static const char *switch_cause_to_rayo_cause(switch_call_cause_t cause)
case SWITCH_CAUSE_INVALID_URL:
case SWITCH_CAUSE_INVALID_PROFILE:
case SWITCH_CAUSE_NO_PICKUP:
case SWITCH_CAUSE_SRTP_READ_ERROR:
return RAYO_END_REASON_ERROR;
}
return RAYO_END_REASON_HANGUP;