diff --git a/src/iax/iaxcall.h b/src/iax/iaxcall.h index 99f69d1f6c8a5e63fdc0d8f85d507a53f2184544..1040ebcdc78e817e30744beb7ab9b0dfc4292137 100644 --- a/src/iax/iaxcall.h +++ b/src/iax/iaxcall.h @@ -121,19 +121,19 @@ class IAXCall : public Call int format; iax_session* session; - void answer(); + void answer() override; - void hangup(int reason); + void hangup(int reason) override; - void refuse(); + void refuse() override; - void transfer(const std::string& to); + void transfer(const std::string& to) override; - bool attendedTransfer(const std::string& to); + bool attendedTransfer(const std::string& to) override; - bool onhold(); + bool onhold() override; - bool offhold(); + bool offhold() override; //TODO: implement mute for IAX void muteMedia(const std::string& /*mediaType*/, bool /*isMuted*/) {} @@ -141,14 +141,13 @@ class IAXCall : public Call //TODO: implement restartMedia for IAX void restartMediaSender() override {} - void peerHungup(); + void peerHungup() override; - void carryingDTMFdigits(char code); + void carryingDTMFdigits(char code) override; #if HAVE_INSTANT_MESSAGING - - virtual void sendTextMessage(const std::map<std::string, std::string>& messages, - const std::string &from); + void sendTextMessage(const std::map<std::string, std::string>& messages, + const std::string &from) override; #endif void putAudioData(AudioBuffer& buf); diff --git a/src/sip/sipcall.h b/src/sip/sipcall.h index 9da211ec55e6de2c8c4ffae82ebccb5e6ee97a67..fa805a2af4a9be788f72c0e3c496026675979dca 100644 --- a/src/sip/sipcall.h +++ b/src/sip/sipcall.h @@ -146,29 +146,29 @@ class SIPCall : public Call void sendSIPInfo(const char *const body, const char *const subtype); - void answer(); + void answer() override; - void hangup(int reason); + void hangup(int reason) override; - void refuse(); + void refuse() override; - void transfer(const std::string& to); + void transfer(const std::string& to) override; - bool attendedTransfer(const std::string& to); + bool attendedTransfer(const std::string& to) override; - bool onhold(); + bool onhold() override; - bool offhold(); + bool offhold() override; - void switchInput(const std::string& resource); + void switchInput(const std::string& resource) override; - void peerHungup(); + void peerHungup() override; - void carryingDTMFdigits(char code); + void carryingDTMFdigits(char code) override; #if HAVE_INSTANT_MESSAGING - virtual void sendTextMessage(const std::map<std::string, std::string>& messages, - const std::string &from); + void sendTextMessage(const std::map<std::string, std::string>& messages, + const std::string &from) override; #endif SIPAccountBase& getSIPAccount() const;