docs: @Override
      public boolean canDetectHangup()
      {
          boolean canDetectHangup = true;
  
          AsteriskSettings profile = PBXFactory.getActiveProfile();
          final boolean detect = profile.getCanDetectHangup();
          if (!this.getEndPoint().isSIP() && !detect)
          {
              canDetectHangup = false;
          }
          return canDetectHangup;
      }