diff options
| author | Oz Linden <oz@lindenlab.com> | 2018-06-27 14:46:59 -0400 | 
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2018-06-27 14:46:59 -0400 | 
| commit | 04fecd480247a86e597483beaee66deb9efb3aad (patch) | |
| tree | d09127e8c008969c1c20135c13dcd0b10d543ded | |
| parent | 711cd0d10fc5e1895eac4fe6e1ca224fa7fcae6c (diff) | |
fix provisioning debug log
| -rw-r--r-- | indra/newview/llvoicevivox.cpp | 15 | 
1 files changed, 12 insertions, 3 deletions
diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 43c390ca5f..3b56076463 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -957,14 +957,23 @@ bool LLVivoxVoiceClient::provisionVoiceAccount()      std::string voiceUserName = result["username"].asString();      std::string voicePassword = result["password"].asString(); -    LL_DEBUGS("Voice") << "ProvisionVoiceAccountRequest response:" << dumpResponse() << LL_ENDL; -      if (result.has("voice_sip_uri_hostname")) +    {          voiceSipUriHostname = result["voice_sip_uri_hostname"].asString(); - +    } +          // this key is actually misnamed -- it will be an entire URI, not just a hostname.      if (result.has("voice_account_server_name")) +    {          voiceAccountServerUri = result["voice_account_server_name"].asString(); +    } + +    LL_DEBUGS("Voice") << "ProvisionVoiceAccountRequest response" +                       << " user " << (voiceUserName.empty() ? "not set" : "set") +                       << " password " << (voicePassword.empty() ? "not set" : "set") +                       << " sip uri " voiceSipUriHostname +                       << " account uri " voiceAccountServerUri +                       << LL_ENDL;      setLoginInfo(voiceUserName, voicePassword, voiceSipUriHostname, voiceAccountServerUri);  | 
