mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
[#2006] Add hold/unhold conference dbus messages
This commit is contained in:
@ -142,6 +142,14 @@
|
||||
<arg type="s" name="confID" direction="out"/>
|
||||
</signal>
|
||||
|
||||
<method name="holdConference">
|
||||
<arg type="s" name="confID" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="unHoldConference">
|
||||
<arg type="s" name="confID" direction="in"/>
|
||||
</method>
|
||||
|
||||
<signal name="voiceMailNotify">
|
||||
<arg type="s" name="accountID" direction="out"/>
|
||||
<arg type="i" name="count" direction="out"/>
|
||||
|
@ -142,6 +142,14 @@
|
||||
<arg type="s" name="confID" direction="out"/>
|
||||
</signal>
|
||||
|
||||
<method name="holdConference">
|
||||
<arg type="s" name="confID" direction="in"/>
|
||||
</method>
|
||||
|
||||
<method name="unHoldConference">
|
||||
<arg type="s" name="confID" direction="in"/>
|
||||
</method>
|
||||
|
||||
<signal name="voiceMailNotify">
|
||||
<arg type="s" name="accountID" direction="out"/>
|
||||
<arg type="i" name="count" direction="out"/>
|
||||
|
@ -138,6 +138,20 @@ CallManager::detachParticipant (const std::string& callID)
|
||||
Manager::instance().detachParticipant(callID);
|
||||
}
|
||||
|
||||
void
|
||||
CallManager::holdConference (const std::string& confID)
|
||||
{
|
||||
_debug ("CallManager::holdConference received %s\n", confID.c_str());
|
||||
Manager::instance().holdConference(confID);
|
||||
}
|
||||
|
||||
void
|
||||
CallManager::unHoldConference (const std::string& confID)
|
||||
{
|
||||
_debug ("CallManager::unHoldConference received %s\n", confID.c_str());
|
||||
Manager::instance().unHoldConference(confID);
|
||||
}
|
||||
|
||||
std::map< std::string, std::string >
|
||||
CallManager::getConferenceDetails (const std::string& callID)
|
||||
{
|
||||
|
@ -51,6 +51,8 @@ public:
|
||||
void joinParticipant( const std::string& sel_callID, const std::string& drag_callID );
|
||||
void addParticipant( const std::string& callID, const std::string& confID );
|
||||
void detachParticipant( const std::string& callID );
|
||||
void holdConference( const std::string& confID );
|
||||
void unHoldConference( const std::string& confID );
|
||||
std::vector< std::string > getConferenceList (void);
|
||||
std::vector< std::string > getParticipantList (const std::string& confID);
|
||||
std::map< std::string, std::string > getConferenceDetails ( const std::string& callID );
|
||||
|
@ -711,6 +711,19 @@ ManagerImpl::removeConference(const ConfID& conference_id)
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
ManagerImpl::holdConference(const CallID& id)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ManagerImpl::unHoldConference(const CallID& id)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool
|
||||
ManagerImpl::isConference(const CallID& id)
|
||||
{
|
||||
|
@ -191,6 +191,10 @@ class ManagerImpl {
|
||||
|
||||
void removeConference(const CallID& conference_id);
|
||||
|
||||
void holdConference(const CallID& conferece_id);
|
||||
|
||||
void unHoldConference(const CallID& conference_id);
|
||||
|
||||
bool isConference(const CallID& call_id);
|
||||
|
||||
bool participToConference(const CallID& call_id);
|
||||
|
Reference in New Issue
Block a user