1#if !defined(MOHManager_hxx)
7#include "../UserAgent.hxx"
8#include "../HandleTypes.hxx"
48 volatile bool mMusicFilenameChanged;
50 typedef std::map<recon::ParticipantHandle, ParticipantMOHInfo*> ParticipantMap;
51 typedef std::map<recon::ConversationHandle, ParticipantMap> ConversationMap;
52 ConversationMap mConversations;
bool removeParticipant(recon::ParticipantHandle participantHandle)
void startup(ConfigParser::MOHSettings &settings)
void addParticipant(recon::ParticipantHandle participantHandle, const resip::Uri &heldUri, const resip::Uri &holdingUri)
void shutdown(bool shuttingDownServer)
void getActiveCallsInfo(CallInfoList &callInfos)
void initializeSettings(const resip::Uri &musicFilename)
bool isMyProfile(recon::ConversationProfile &profile)
void initializeConversationProfile(const resip::NameAddr &uri, const resip::Data &password, unsigned long registrationTime, const resip::NameAddr &outboundProxy)
ParticipantMOHInfo(recon::ParticipantHandle participantHandle, const resip::Uri &heldUri, const resip::Uri &holdingUri)
recon::ParticipantHandle mParticipantHandle
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 the "SIP-URI" and "SIPS-URI" elements in the RFC 3261 grammar.
std::list< ActiveCallInfo > CallInfoList
unsigned int ConversationProfileHandle
unsigned int ParticipantHandle
std::mutex Mutex
A semaphore that can be locked by only one thread at a time.