mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
minor tweak
This commit is contained in:
1 parent
abe4261a92
commit
025fe24632
2 files changed
+8
-2
No files matched your search
@@ -414,6 +414,11 @@
|
||||
$.verto.prototype.handleMessage = function(data) {
|
||||
var verto = this;
|
||||
|
||||
if (!(data && data.method)) {
|
||||
console.error("Invalid Data", data);
|
||||
return;
|
||||
}
|
||||
|
||||
if (data.params.callID) {
|
||||
var dialog = verto.dialogs[data.params.callID];
|
||||
|
||||
@@ -436,7 +441,7 @@
|
||||
dialog.handleInfo(data.params);
|
||||
break;
|
||||
default:
|
||||
console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED", data.method);
|
||||
console.debug("INVALID METHOD OR NON-EXISTANT CALL REFERENCE IGNORED", dialog, data.method);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user