]> 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)
commita6ef41e4caabb0b8698ff2834df7911f4e801f88
tree49e380b5cce648ffa16728d91a1fad569da83d92
parentfa69682c28e44d0a1c7d57cc47520c8e13146397
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