fixes crash during dtmf
authorDavid Vossel <dvossel@digium.com>
Wed, 19 May 2010 14:38:02 +0000 (14:38 +0000)
committerDavid Vossel <dvossel@digium.com>
Wed, 19 May 2010 14:38:02 +0000 (14:38 +0000)
commit51e7ee235b0d75964bb221d3a246ccc2422a6cb4
tree93a1dedba92cb2fbac1bbba0114c7ef3fdffac1a
parent30e9a9794caf571b752495c850dcdb1725f4984c
fixes crash during dtmf

During the processing of Cisco dtmf the dtmf samples were
not being calculated correctly.  In an attempt to determine
what sample rate was being used, a NULL frame was processed
which caused a crash.  This patch resolves this.

(closes issue #17248)
Reported by: falves11
Patches:
      issue_17248.diff uploaded by dvossel (license 671)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@264114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_rtp_asterisk.c