From: Travis Cross Date: Sat, 28 Jun 2014 06:42:57 +0000 (+0000) Subject: Handle SRTP_READ_ERROR in mod_rayo X-Git-Tag: v1.5.13~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7741f403f1469c32545313f0c2360124ab523664;p=thirdparty%2Ffreeswitch.git Handle SRTP_READ_ERROR in mod_rayo --- 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;