From: Michael Jerris Date: Thu, 14 May 2009 14:58:58 +0000 (+0000) Subject: FSBUILD-159 X-Git-Tag: v1.0.4~902 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aa139e59edd7bce052dcf00f617771d08274fcc;p=thirdparty%2Ffreeswitch.git FSBUILD-159 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13302 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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);