]> 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:08 +0000 (19:18 +0000)
commit218c64c4eb455ecb783af0cff86341f1f7998fcb
tree9f63ee03eebd7dd2b63824522901812ef6c1f59f
parent51f9e1f1ba8a4a5a326cd615ae20fad400bb939c
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