#author("2024-09-02T03:26:32+00:00","default:iseki","iseki") ** Sample Source Code [#be85ca01] *** linden/indra/newview/llvoiceclient.cpp [#oc7b5c90] 1037 void LLVoiceClient::userAuthorized(const std::string& firstName, const std::string& lastName, const LLUUID &agentID) 1038 { 1039 mAccountFirstName = firstName; 1040 mAccountLastName = lastName; 1041 1042 mAccountDisplayName = firstName; 1043 mAccountDisplayName += " "; 1044 mAccountDisplayName += lastName; 1045 1046 LL_INFOS("Voice") << "name \"" << mAccountDisplayName << "\" , ID " << agentID << LL_ENDL; 1047 1048 sConnectingToAgni = LLViewerLogin::getInstance()->isInProductionGrid(); 1049 1050 // MBW -- XXX -- Enable this when the bhd.vivox.com server gets a real ssl cert. 1051 if(sConnectingToAgni) 1052 { 1053 // Use the release account server 1054 mAccountServerName = "bhr.vivox.com"; 1055 mAccountServerURI = "https://www." + mAccountServerName + "/api2/"; 1056 } 1057 else 1058 { 1059 // Use the development account server 1060 mAccountServerName = gSavedSettings.getString("VivoxDebugServerName"); 1061 mAccountServerURI = "https://www." + mAccountServerName + "/api2/"; 1062 } 1063 1064 mAccountName = nameFromID(agentID); 1065 } *** app_settings/settings.xml [#n4bd693d] 9610 <key>VivoxDebugServerName</key> 9611 <map> 9612 <key>Comment</key> 9613 <string>Hostname of the vivox account server to use for voice when not connected to Agni.</string> 9614 <key>Persist</key> 9615 <integer>1</integer> 9616 <key>Type</key> 9617 <string>String</string> 9618 <key>Value</key> 9619 <string>bhd.vivox.com</string> 9620 </map>