summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_thread.cpp')
-rw-r--r--protocols/JabberG/src/jabber_thread.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp
index 0ee2fcabab..80ff33e370 100644
--- a/protocols/JabberG/src/jabber_thread.cpp
+++ b/protocols/JabberG/src/jabber_thread.cpp
@@ -1808,6 +1808,7 @@ bool CJabberProto::OnProcessJingle(const TiXmlElement *node)
if (m_voipSession.IsEmpty()) {
m_voipSession = szSid;
m_voipPeerJid = from;
+ m_isOutgoing = false;
m_offerNode = child->DeepClone(&m_offerDoc)->ToElement();
//Make call GUI
@@ -1817,6 +1818,7 @@ bool CJabberProto::OnProcessJingle(const TiXmlElement *node)
vc.id = szSid; // Protocol specific ID for this call
vc.hContact = HContactFromJID(from); // Contact associated with the call (can be NULL)
vc.state = VOICE_STATE_RINGING;
+ vc.szNumber.a = m_voipPeerJid;
NotifyEventHooks(m_hVoiceEvent, WPARAM(&vc), 0);
// ringing message