From 6aa139e59edd7bce052dcf00f617771d08274fcc Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 14 May 2009 14:58:58 +0000 Subject: [PATCH] FSBUILD-159 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13302 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 1c05953970..a661bb4825 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -725,6 +725,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_park(switch_core_session_t *session, switch_byte_t *sendbuf = NULL; uint32_t sendlen = 0; + switch_assert(read_frame); + if (switch_test_flag(read_frame, SFF_CNG)) { sendlen = bpf; switch_assert(sendlen <= SWITCH_RECOMMENDED_BUFFER_SIZE);