]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Handle SRTP_READ_ERROR in mod_rayo
authorTravis Cross <tc@traviscross.com>
Sat, 28 Jun 2014 06:42:57 +0000 (06:42 +0000)
committerTravis Cross <tc@traviscross.com>
Sat, 28 Jun 2014 06:42:57 +0000 (06:42 +0000)
src/mod/event_handlers/mod_rayo/mod_rayo.c

index 609e666a584c810bbd0c078eb8099f60a702f1d4..f2be64dd24e857a8a3d8e8438eca94986ea86472 100644 (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;