--- openmcu_v2_1_0/main.cxx.orig 2005-08-25 22:21:01.000000000 +0000 +++ openmcu_v2_1_0/main.cxx 2005-08-25 22:22:45.000000000 +0000 @@ -114,12 +114,12 @@ static const char HTTPCertificateFileKey[] = "HTTP Certificate"; #endif -static const char DefaultCallLogFilename[] = "mcu_log.txt"; +static const char DefaultCallLogFilename[] = "/var/log/openmcu/mcu_log.txt"; static const char DefaultRoom[] = "room101"; -static const char DefaultConnectingWAVFile[] = "connecting.wav"; -static const char DefaultEnteringWAVFile[] = "entering.wav"; -static const char DefaultLeavingWAVFile[] = "leaving.wav"; +static const char DefaultConnectingWAVFile[] = "/usr/share/openmcu/sounds/connecting.wav"; +static const char DefaultEnteringWAVFile[] = "/usr/share/openmcu/sounds/entering.wav"; +static const char DefaultLeavingWAVFile[] = "/usr/share/openmcu/sounds/leaving.wav"; static const char * GKModeLabels[] = { "No gatekeeper", @@ -182,8 +182,8 @@ #endif exeDir.Change(); - httpNameSpace.AddResource(new PHTTPDirectory("data", "data")); - httpNameSpace.AddResource(new PServiceHTTPDirectory("html", "html")); + httpNameSpace.AddResource(new PHTTPDirectory("data", "/usr/share/openmcu/data")); + httpNameSpace.AddResource(new PServiceHTTPDirectory("html", "/usr/share/openmcu/html")); endpoint = new MyH323EndPoint(); @@ -253,7 +253,7 @@ #if P_SSL // SSL certificate file. - PString certificateFile = cfg.GetString(HTTPCertificateFileKey, "server.pem"); + PString certificateFile = cfg.GetString(HTTPCertificateFileKey, "/etc/openmcu/server.pem"); rsrc->Add(new PHTTPStringField(HTTPCertificateFileKey, 25, certificateFile)); if (!SetServerCertificate(certificateFile, TRUE)) { PSYSTEMLOG(Fatal, "BMAC\tCould not load certificate \"" << certificateFile << '"');