I use FreeSWITCH, the first is the use of configuration files, using script LUA development, etc., often encounter strange problems do not know how to solve, the final solution is to look at the underlying code.
Today deploying Forkdelta on the test network, encountering strange problems, the service side always return 400 errors, and finally decided to look like when learning FreeSWITCH, the underlying code, because the server using Python 3.6 Docker Alpine version, cannot change the inside file, Finally, in Dockerfile, the user root was used to get permission to print in front of the error code: Console.log (...), found to be encrypted binary, 400 means the server cannot parse, so try to let the client do not send the WSS address, and then try, Directly change the Main.js code, let secure directly to false, no, look at the Chrome console log, found that the connection using HTTPS, so I main.json the configuration file inside, the server address is changed to HTTP, it is resolved.
Focus: View the underlying code