diff options
author | Mike Antipov <mantipov@productengine.com> | 2009-12-01 17:04:47 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2009-12-01 17:04:47 +0200 |
commit | f5e64315e27877e994b755d0de9d35dde0ccc674 (patch) | |
tree | 7bd1c1adf0497d2932315b59d6d68f2da7a71170 /indra/newview/llvoicechannel.cpp | |
parent | 6a91f2b7f6b225f86849c9ebe53add6d2c8382a5 (diff) |
Work on EXT-2985 (Implement Avaline calls processing in Voice Control Panel)
-- updated reaction to accepting incoming call: added session URI argument. For now avaline caller is shown in the voice controls.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llvoicechannel.cpp')
-rw-r--r-- | indra/newview/llvoicechannel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp index 3554528d19..a0396bc790 100644 --- a/indra/newview/llvoicechannel.cpp +++ b/indra/newview/llvoicechannel.cpp @@ -750,6 +750,8 @@ LLVoiceChannelP2P::LLVoiceChannelP2P(const LLUUID& session_id, const std::string mReceivedCall(FALSE) { // make sure URI reflects encoded version of other user's agent id + // *NOTE: in case of Avaline call generated SIP URL will be incorrect. + // But it will be overridden in LLVoiceChannelP2P::setSessionHandle() called when agent accepts call setURI(LLVoiceClient::getInstance()->sipURIFromID(other_user_id)); } @@ -867,6 +869,10 @@ void LLVoiceChannelP2P::setSessionHandle(const std::string& handle, const std::s } else { + LL_WARNS("Voice") << "incoming SIP URL is not provided. Channel may not work properly." << LL_ENDL; + // In case of incoming AvaLine call generated URI will be differ from original one. + // This is because Avatar-2-Avatar URI is based on avatar UUID but Avaline is not. + // See LLVoiceClient::sessionAddedEvent() -> setUUIDFromStringHash() setURI(LLVoiceClient::getInstance()->sipURIFromID(mOtherUserID)); } |