]> git.ipfire.org Git - thirdparty/asterisk.git/commit
audiosocket: fix timeout, fix dialplan app exit, server address in logs
authorNorm Harrison <guyfieri@getbackinthe.kitchen>
Tue, 4 Apr 2023 02:36:11 +0000 (21:36 -0500)
committerNorm Harrison <guyfieri@getbackinthe.kitchen>
Fri, 28 Mar 2025 19:18:09 +0000 (19:18 +0000)
commite8209bf56b0f20f1df48e797a6fb40f47d922c13
tree9140221e1536993244c92c956c9f3d7a3029f5a3
parentabc8c5c93af939cda304d1fbb47f40db92e68c0a
audiosocket: fix timeout, fix dialplan app exit, server address in logs

- Correct wait timeout logic in the dialplan application.
- Include server address in log messages for better traceability.
- Allow dialplan app to exit gracefully on hangup messages and socket closure.
- Optimize I/O by reducing redundant read()/write() operations.

Co-authored-by: Florent CHAUVEAU <florentch@pm.me>
apps/app_audiosocket.c
channels/chan_audiosocket.c
include/asterisk/res_audiosocket.h
res/res_audiosocket.c