]> git.ipfire.org Git - thirdparty/asterisk.git/commit
dsp.c: Fix and improve potentially inaccurate log message.
authorNaveen Albert <asterisk@phreaknet.org>
Fri, 9 Feb 2024 22:07:13 +0000 (17:07 -0500)
committerNaveen Albert <asterisk@phreaknet.org>
Wed, 14 Feb 2024 13:19:09 +0000 (13:19 +0000)
commit59df4892ad17c3b002d48dc5817eec2be9824045
treef7244a9aadb95daaead1b4d4cba648c20a098341
parentcb057a6381f61be5009e48ddaa872c9295724811
dsp.c: Fix and improve potentially inaccurate log message.

If ast_dsp_process is called with a codec besides slin, ulaw,
or alaw, a warning is logged that in-band DTMF is not supported,
but this message is not always appropriate or correct, because
ast_dsp_process is much more generic than just DTMF detection.

This logs a more generic message in those cases, and also improves
codec-mismatch logging throughout dsp.c by ensuring incompatible
codecs are printed out.

Resolves: #595
main/dsp.c