diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index 609e666a58..f2be64dd24 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -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;