summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicechannel.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-11-11 17:00:30 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2009-11-11 17:00:30 +0000
commita0dd5b825be7ec31ab69894c3e4fc81ba6aacdd4 (patch)
treeb55f2de0eaff9134fa83a268c1b845f8f132f0b5 /indra/newview/llvoicechannel.cpp
parent4c3878ee9238318924067def7d186dbf0acbf51e (diff)
parent0d01300762a8413c3b137e433ee4c02070798792 (diff)
merge.
Diffstat (limited to 'indra/newview/llvoicechannel.cpp')
-rw-r--r--indra/newview/llvoicechannel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp
index 89649407ff..04ae44e08d 100644
--- a/indra/newview/llvoicechannel.cpp
+++ b/indra/newview/llvoicechannel.cpp
@@ -378,9 +378,15 @@ void LLVoiceChannel::setURI(std::string uri)
void LLVoiceChannel::setState(EState state)
{
+ LLSD payload;
+ payload["session_id"] = mSessionID;
+ payload["session_name"] = mSessionName;
+
switch(state)
{
case STATE_RINGING:
+ LLFloaterReg::showInstance("outgoing_call", payload, TRUE);
+ llinfos << "RINGINGGGGGGGG " << mSessionName << llendl;
gIMMgr->addSystemMessage(mSessionID, "ringing", mNotifyArgs);
break;
case STATE_CONNECTED: