git » sdk » commit 3742219

Notify SDK consumer when an outgoing call starts ringing

author Stephen Paul Weber
2023-10-10 21:13:00 UTC
committer Stephen Paul Weber
2023-10-10 21:13:00 UTC
parent d773265e35c5fd5c9dcea29db5460fafa0016665

Notify SDK consumer when an outgoing call starts ringing

xmpp/jingle/Session.hx +1 -0

diff --git a/xmpp/jingle/Session.hx b/xmpp/jingle/Session.hx
index ab55b54..8b8b71c 100644
--- a/xmpp/jingle/Session.hx
+++ b/xmpp/jingle/Session.hx
@@ -135,6 +135,7 @@ class OutgoingProposedSession implements Session {
 		}
 		stanza.up().tag("store", { xmlns: "urn:xmpp:hints" });
 		client.sendStanza(stanza);
+		client.trigger("call/ringing", { chatId: to.asBare().asString() });
 	}
 
 	public function ring() {