Commit 6a7fa8be authored by Kulya's avatar Kulya 😊

dfsgsdfg

parent e158bc4a
......@@ -8514,7 +8514,7 @@ tsip_event.prototype.init = function(_, e, t, s, i) {
break;
case tsip_event_type_e.MESSAGE:
_.o_session.o_stack.on_event_message && setTimeout(function() {
console.log("--== on EVENT MSG:",_)
_.o_session.o_stack.on_event_message(_)
......@@ -9343,6 +9343,7 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) {
}, SIPml.EventTarget.prototype.removeEventListener = function(_) {
tsk_string_is_string(_) && !tsk_string_is_null_or_empty(_) && (this.ao_listeners[_] = void 0)
}, SIPml.EventTarget.prototype.dispatchEvent = function(_) {
console.log("-= DISPATCh Event: ", _)
var e = this.ao_listeners[_.s_type] || this.ao_listeners["*"];
e && e.call(this, _.o_value)
}, SIPml.Event = function(_, e) {
......@@ -9448,6 +9449,7 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) {
})
} else tsk_utils_log_warn("Cannot find session with id = " + t)
}, this.o_stack.on_event_message = function(_) {
console.log("--=== on_event_message MSG:", _)
var e = null,
t = _.o_session.i_id,
s = _.o_session.o_stack.oStack.ao_sessions[t];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment