1#if !defined(ParkManager_hxx)
7#include "../UserAgent.hxx"
8#include "../HandleTypes.hxx"
46 unsigned long mOrbitRangeStart;
47 unsigned long mNumOrbits;
48 unsigned long mMaxParkTime;
50 std::deque<unsigned long> mFreeOrbitList;
54 typedef std::map<unsigned long, ParkOrbit*> OrbitMap;
59 typedef std::map<recon::ParticipantHandle, ParkOrbit*> OrbitsByParticipantMap;
60 OrbitsByParticipantMap mOrbitsByParticipant;
64 typedef std::map<unsigned long, recon::ConversationProfileHandle> OrbitProfileMap;
65 OrbitProfileMap mOrbitProfiles;
bool onMaxParkTimeout(recon::ParticipantHandle participantHandle)
void parkParticipant(recon::ParticipantHandle participantHandle, const resip::SipMessage &msg)
void shutdown(bool shuttingDownServer)
void getActiveCallsInfo(CallInfoList &callInfos)
void initializeParkSettings(unsigned long maxParkTime, const resip::Uri &musicFilename)
void incomingParticipant(recon::ParticipantHandle participantHandle, const resip::SipMessage &msg)
bool removeParticipant(recon::ParticipantHandle participantHandle)
void startup(ConfigParser::ParkSettings &settings)
void initializeOrbitConversationProfiles(unsigned long orbitStart, unsigned long numOrbits, const resip::NameAddr &uri, const resip::Data &password, unsigned long registrationTime, const resip::NameAddr &outboundProxy)
bool isMyProfile(recon::ConversationProfile &profile)
void initializeConversationProfile(const resip::NameAddr &uri, const resip::Data &password, unsigned long registrationTime, const resip::NameAddr &outboundProxy)
This class extends the resip UserProfile to include Conversation Manager specific settings.
An alternative to std::string, encapsulates an arbitrary buffer of bytes.
Represents the "name-addr" and the "addr-spec" elements in the RFC 3261 grammar.
Represents a SIP message.
Represents the "SIP-URI" and "SIPS-URI" elements in the RFC 3261 grammar.
std::list< ActiveCallInfo > CallInfoList
unsigned int ConversationProfileHandle
unsigned int ParticipantHandle
dcm! – add UnusedChecking(_enum) below;
std::mutex Mutex
A semaphore that can be locked by only one thread at a time.