|
a/src/ohproduct.cxx |
|
b/src/ohproduct.cxx |
|
... |
|
... |
90 |
}
|
90 |
}
|
91 |
}
|
91 |
}
|
92 |
|
92 |
|
93 |
|
93 |
|
94 |
for (auto it = o_sources.begin(); it != o_sources.end(); it++) {
|
94 |
for (auto it = o_sources.begin(); it != o_sources.end(); it++) {
|
|
|
95 |
// Receiver needs to be visible for Kazoo to use it. As a
|
|
|
96 |
// consequence, Receiver appears in older upplay versions
|
|
|
97 |
// source lists. Newer versions filters it out because you
|
|
|
98 |
// can't do anything useful by selecting the receiver source
|
|
|
99 |
// (no way to specify the sender), so it is confusing
|
95 |
string visible = it->first.compare("Receiver") ? "1" : "0";
|
100 |
string visible = "1";//it->first.compare("Receiver") ? "1" : "0";
|
96 |
csxml += string(" <Source>\n") +
|
101 |
csxml += string(" <Source>\n") +
|
97 |
" <Name>" + it->second + "</Name>\n" +
|
102 |
" <Name>" + it->second + "</Name>\n" +
|
98 |
" <Type>" + it->first + "</Type>\n" +
|
103 |
" <Type>" + it->first + "</Type>\n" +
|
99 |
" <Visible>" + visible + "</Visible>\n" +
|
104 |
" <Visible>" + visible + "</Visible>\n" +
|
100 |
" </Source>\n";
|
105 |
" </Source>\n";
|