percipia / eslgo

A GoLang FreeSWITCH ESL Library
Mozilla Public License 2.0
103 stars 43 forks source link

Fix connections not properly stopping for invalid inbound authentication #6

Closed winsock closed 3 years ago

winsock commented 3 years ago

Context

We were not properly reporting the auth error, or closing the connection for an invalid password in the inbound ESL connection. This MR Also ensures we send the exit command where it logically makes sense to ensure that we try our best to inform FreeSWITCH of us stopping the connection.

Resolves #5

Overview