]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 1 May 2025 12:44:58 +0000 (12:44 +0000)
commitd045f290b7be0a737ed2803331f43a24c00c102e
tree5b66b1872f73c09574c778aa66704307a4ada4cb
parentd18b6bb9b394cf1ee1c7e39ac4d404667ab3541c
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>
(cherry picked from commit a6ef41e4caabb0b8698ff2834df7911f4e801f88)
apps/app_audiosocket.c
channels/chan_audiosocket.c
include/asterisk/res_audiosocket.h
res/res_audiosocket.c