Changeset 137:a77c3add5299
- Timestamp:
- 08/22/08 22:27:08 (3 months ago)
- Author:
- Ralf Schlatterbeck <rsc@…>
- Message:
-
Use getSipAudioTestCall (sip.testcall.audio in advanced config) from
config.xml instead of using a hard-coded test-call number "333" for the
"Make a test call" button in Tools/Configuration/Audio
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r121
|
r137
|
|
| 42 | 42 | #include <QtGui/QtGui> |
| 43 | 43 | |
| 44 | | static const char * AUDIO_TEST_CALL = "333"; |
| 45 | | |
| 46 | 44 | static AudioDevice getAudioDeviceFromComboBox(QComboBox* comboBox, const std::list<AudioDevice> deviceList) { |
| 47 | 45 | std::string concatString = comboBox->itemData(comboBox->currentIndex()).toString().toStdString(); |
| … |
… |
|
| 261 | 259 | CUserProfile * cUserProfile = _cWengoPhone.getCUserProfileHandler().getCUserProfile(); |
| 262 | 260 | if ((cUserProfile) && (cUserProfile->getUserProfile().getActivePhoneLine())) { |
| 263 | | cUserProfile->getUserProfile().getActivePhoneLine()->makeCall(AUDIO_TEST_CALL); |
| | 261 | Config & config = ConfigManager::getInstance().getCurrentConfig(); |
| | 262 | std::string testnumber = config.getSipAudioTestCall (); |
| | 263 | cUserProfile->getUserProfile().getActivePhoneLine()->makeCall(testnumber); |
| 264 | 264 | QtWengoPhone* qWengoPhone = static_cast<QtWengoPhone*>(_cWengoPhone.getPresentation()); |
| 265 | 265 | qWengoPhone->getWidget()->raise(); |