]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix SendDTMF crash and channel reference leak using channel name parameter.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 27 Sep 2012 22:19:03 +0000 (22:19 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 27 Sep 2012 22:19:03 +0000 (22:19 +0000)
commit7a822e7f551d1dced58894a60740bcf92e074d92
tree6b302ddc46e38545197ea0c341927d822cf72478
parentf8e894e03148e833abf6ff1002a736892f640e1a
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
........

Merged revisions 373946 from http://svn.asterisk.org/svn/asterisk/branches/10

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