]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Channel alert pipe: improve diagnostic error return 54/754/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 21:55:50 +0000 (16:55 -0500)
commit6b16fbfc22d99ebf262bb7ac07688b6656831e6e
tree7a21e5f2e4dbdc98fd0faacf40835a739cc42dd4
parent69bfa518a02cbd69b364e5b0a500fc160e7b285d
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