]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_playback: Suppress warnings on playback if channel hung up 00/500/1
authorGeorge Joseph <george.joseph@fairview5.com>
Thu, 21 May 2015 00:05:20 +0000 (18:05 -0600)
committerGeorge Joseph <george.joseph@fairview5.com>
Thu, 21 May 2015 00:05:20 +0000 (18:05 -0600)
commit7fcf0a97b897c958de83ee49fe403c52c8a5d3ed
tree7b2e815dce1a99a353eccca00db7cd185a5f30d8
parent4a450f863b6330c653b08261660dfce4a6ba3403
app_playback: Suppress warnings on playback if channel hung up

If a channel hangs up while an audio file is playing, there's
no need to clutter up the logs with a warning so suppress it
if ast_check_hangup returns true.

Also, change warning to debug/2 in file.c if writing a frame
fails.  Same reasoning.

Change-Id: I2e66191af3c5b6e951c98e8f1c3fe3cf2cf7ed89
Reported-by: George Joseph <george.joseph@fairview5.com>
Tested-by: George Joseph <george.joseph@fairview5.com>
apps/app_playback.c
main/file.c