mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
FS-7132 #resolve
This commit is contained in:
@@ -132,6 +132,9 @@
|
||||
$.verto.prototype.logout = function(msg) {
|
||||
var verto = this;
|
||||
verto.rpcClient.closeSocket();
|
||||
if (verto.callbacks.onWSClose) {
|
||||
verto.callbacks.onWSClose(verto, false);
|
||||
}
|
||||
verto.purge();
|
||||
};
|
||||
|
||||
@@ -490,6 +493,10 @@
|
||||
};
|
||||
} else {
|
||||
switch (data.method) {
|
||||
case 'verto.punt':
|
||||
verto.purge();
|
||||
verto.logout();
|
||||
break;
|
||||
case 'verto.event':
|
||||
var list = null;
|
||||
var key = null;
|
||||
|
Reference in New Issue
Block a user