nadirhamid / asterisk-audiofork

Stream Asterisk audio over Websockets
GNU General Public License v2.0
158 stars 60 forks source link

Various fixes to be able to use AudioFork in production #15

Closed kobaz closed 2 years ago

kobaz commented 2 years ago

Removed extra spacing Update some indentation and formatting Add string-representation of audiohook recording direction to: struct audiofork Add very basic WebSocket reconnection support Update logging to make it obvious the messages are coming from the AudioFork module Include channel name in normal asterisk style for log messages Close out the AudioFork thread on complete WebSocket client failure Ensure we properly close out AudioFork resources on channel hangup Ensure we close the AudioFork WebSocket when channel hangs up Add additional logging/debugging for easier troubleshooting Log the string representation of the direction instead of the internal numeric representation Now we use proper AST_AUDIOHOOKDIRECTION(READ/WRITE/BOTH) instead of hard coded integers

nadirhamid commented 2 years ago

Looks good.

Merging now!