]> 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)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fri, 28 Mar 2025 19:18:15 +0000 (19:18 +0000)
commit4e546c35c7830c88922cf5fd2b9ca236fb80adf5
tree8821352302e009857e77d7f1a78ca7322d1c9a3d
parentde88e12cb64d2fc07a81acfce39d4216560940d7
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