void CallManager::acceptEnrollment(const std::string& callID, bool accepted) { #if HAVE_ZRTP try { sfl::AudioZrtpSession * zSession; zSession = getAudioZrtpSession(callID); zSession->acceptEnrollment(accepted); } catch (...) { } #else ERROR("No zrtp support for %s, please recompile SFLphone with zrtp", callID.c_str()); #endif }
void CallManager::requestGoClear(const std::string& callID) { #if HAVE_ZRTP try { sfl::AudioZrtpSession * zSession; zSession = getAudioZrtpSession(callID); zSession->requestGoClear(); } catch (...) { } #else ERROR("No zrtp support for %s, please recompile SFLphone with zrtp", callID.c_str()); #endif }
void CallManager::resetSASVerified (const std::string& callID) { try { sfl::AudioZrtpSession * zSession; zSession = getAudioZrtpSession (callID); zSession->resetSASVerified(); } catch (...) { return; // throw; } }
void CallManager::requestGoClear (const std::string& callID) { _debug ("CallManager::requestGoClear received for account %s", callID.c_str()); try { sfl::AudioZrtpSession * zSession; zSession = getAudioZrtpSession (callID); zSession->requestGoClear(); } catch (...) { return; /// throw; } }
void CallManager::setPBXEnrollment (const std::string& callID, const bool& yesNo) { _debug ("CallManager::setPBXEnrollment received for account %s", callID.c_str()); try { sfl::AudioZrtpSession * zSession; zSession = getAudioZrtpSession (callID); zSession->setPBXEnrollment (yesNo); } catch (...) { return; // throw; } }