mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
allow debug event
This commit is contained in:
@@ -715,10 +715,15 @@ App.usersController = Ember.ArrayController.create({
|
||||
});
|
||||
|
||||
App.initialize();
|
||||
|
||||
var global_debug_event = false;
|
||||
|
||||
function eventCallback(data) {
|
||||
console.log(data["Event-Name"]);
|
||||
|
||||
if (global_debug_event) {
|
||||
console.log(data);
|
||||
}
|
||||
|
||||
if (data["Event-Name"] == "CHANNEL_CREATE") {
|
||||
var channel = {
|
||||
uuid: data["Unique-ID"],
|
||||
|
Reference in New Issue
Block a user