diff options
author | Kevin Harwell <kharwell@digium.com> | 2017-08-15 13:12:10 -0500 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2017-08-16 09:41:42 -0500 |
commit | f919adac8d65ed2b54776259128b1252ffd461e6 (patch) | |
tree | 94c283a4c2d5d249f1a5486f8ff67e25adac4c5e /apps/app_authenticate.c | |
parent | 0442fcb5869df3ba9e37fac5428897d2374f7e77 (diff) |
manager: hook event is not being raised
When the iostream code went in it introduced a conditional that made it so the
hook event was not being raised even if a hook is present. This patch adds a
check to see if a hook is present in astman_append. If so then call into the
send_string function, which in turn raises the even for specified hook.
Also updated the ami hooks unit test, so the test could be automated.
ASTERISK-27200 #close
Change-Id: Iff37f02f9708195d8f23e68f959d6eab720e1e36
Diffstat (limited to 'apps/app_authenticate.c')
0 files changed, 0 insertions, 0 deletions