]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Channel alert pipe: improve diagnostic error return 55/755/1
authorScott Griepentrog <scott@griepentrog.com>
Wed, 1 Jul 2015 18:34:46 +0000 (13:34 -0500)
committerScott Griepentrog <sgriepentrog@digium.com>
Wed, 1 Jul 2015 22:05:49 +0000 (17:05 -0500)
commit8874d5fc94d6dcfdaea6e697d31d3f5dcf6330f6
tree787c3668ee11a82e64ed7ebb74e7fea96fa6072a
parent9b74dcb687f4e05da012d80ee54d04df82210520
Channel alert pipe: improve diagnostic error return

When a frame is queued on a channel, any failure in
ast_channel_alert_write is logged along with errno.

This change improves the diagnostic message through
aligning the errno value with actual failure cases.

ASTERISK-25224
Reported by: Andrey Biglari

Change-Id: I1bf7b3337ad392789a9f02c650589cd065d20b5b
main/channel_internal_api.c