mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-11 04:32:50 +00:00
Verto.newCall() permits passing custom callback functions per call that override the default dialog callbacks inherited from the Verto object. However, they are currently set after calling the invite() function, and it's possible that some of these callbacks could be called during the invite() function's execution. To avoid a race condition, move setting these custom callbacks on the dialog to happen before calling invite().
This needs to be fleshed out more. It would be nice to develop a web app here that implements a web phone. Do not base it on the demo because it was just tossed together. To run jshint: cd js npm install grunt