Esempio n. 1
0
bool Opal::Sip::EndPoint::unsubscribe (const Opal::Account & account)
{
  if (account.get_protocol_name () != "SIP" || !account.is_active ())
    return false;

  new subscriber (account, *this);
  return true;
}
Esempio n. 2
0
bool
CallManager::unsubscribe (const Opal::Account& account,
			  const PSafePtr<OpalPresentity>& presentity)
{
  if (account.get_protocol_name () == "H323") {

#ifdef HAVE_H323
    return h323_endpoint->unsubscribe (account, presentity);
#else
    return false;
#endif

  } else {

    return sip_endpoint->unsubscribe (account, presentity);
  }
}
Esempio n. 3
0
bool
Opal::Sip::EndPoint::unsubscribe (const Opal::Account & account,
                                  const PSafePtr<OpalPresentity> & presentity)
{
  if (account.get_protocol_name () != "SIP")
    return false;

  new subscriber (account.get_username (),
		  account.get_host (),
		  account.get_authentication_username (),
		  account.get_password (),
		  account.is_enabled (),
		  account.get_compat_mode (),
		  account.get_timeout (),
		  account.get_aor (),
		  *this,
                  false,
                  presentity);
  return true;
}