]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix SendDTMF crash and channel reference leak using channel name parameter.
authorMatthew Jordan <mjordan@digium.com>
Mon, 19 Nov 2012 22:43:03 +0000 (22:43 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 19 Nov 2012 22:43:03 +0000 (22:43 +0000)
commitb341ba9b0d521ebe0c51ee2251c1f12bb5e8de63
treec2539f2fed44ad07d4d904424b133d36f1f5b74b
parentf71c6c98a6e3a1093ac7a6696a10d7bdf6478554
Fix SendDTMF crash and channel reference leak using channel name parameter.

The SendDTMF channel name parameter has two issues.
1) Crashes if the channel name does not exist.
2) Leaks a channel reference if the channel is the current channel.
Problem introduced by ASTERISK-15956.

* Updated SendDTMF documentation.

* Renamed app to senddtmf_name and tweaked the type.
........

Merged revisions 373945 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/certified/branches/1.8.15@376501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_senddtmf.c