Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
bb5d418a
Commit
bb5d418a
authored
Oct 02, 2017
by
Ghislain MARY
Browse files
Add accessors for the conference subject in the conference interface.
parent
ebbb838a
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
129 additions
and
25 deletions
+129
-25
coreapi/sal/sal.cpp
coreapi/sal/sal.cpp
+6
-0
coreapi/sal/sal_op.cpp
coreapi/sal/sal_op.cpp
+8
-0
coreapi/sal/sal_op.h
coreapi/sal/sal_op.h
+6
-2
include/linphone/api/c-chat-room.h
include/linphone/api/c-chat-room.h
+14
-0
src/c-wrapper/api/c-chat-room.cpp
src/c-wrapper/api/c-chat-room.cpp
+8
-0
src/chat/basic-chat-room-p.h
src/chat/basic-chat-room-p.h
+2
-0
src/chat/basic-chat-room.cpp
src/chat/basic-chat-room.cpp
+10
-0
src/chat/basic-chat-room.h
src/chat/basic-chat-room.h
+2
-0
src/chat/client-group-chat-room-p.h
src/chat/client-group-chat-room-p.h
+1
-3
src/chat/client-group-chat-room.cpp
src/chat/client-group-chat-room.cpp
+23
-4
src/chat/client-group-chat-room.h
src/chat/client-group-chat-room.h
+2
-0
src/chat/real-time-text-chat-room-p.h
src/chat/real-time-text-chat-room-p.h
+2
-0
src/chat/real-time-text-chat-room.cpp
src/chat/real-time-text-chat-room.cpp
+10
-0
src/chat/real-time-text-chat-room.h
src/chat/real-time-text-chat-room.h
+2
-0
src/conference/conference-interface.h
src/conference/conference-interface.h
+2
-0
src/conference/conference.cpp
src/conference/conference.cpp
+8
-0
src/conference/conference.h
src/conference/conference.h
+3
-0
src/conference/session/call-session-p.h
src/conference/session/call-session-p.h
+2
-1
src/conference/session/call-session.cpp
src/conference/session/call-session.cpp
+16
-13
src/conference/session/call-session.h
src/conference/session/call-session.h
+2
-2
No files found.
coreapi/sal/sal.cpp
View file @
bb5d418a
...
...
@@ -52,6 +52,7 @@ void Sal::process_request_event_cb(void *ud, const belle_sip_request_event_t *ev
belle_sip_header_t
*
evh
;
const
char
*
method
=
belle_sip_request_get_method
(
req
);
belle_sip_header_contact_t
*
remote_contact
=
belle_sip_message_get_header_by_type
(
req
,
belle_sip_header_contact_t
);
belle_sip_header_t
*
subjectHeader
=
belle_sip_message_get_header
(
BELLE_SIP_MESSAGE
(
req
),
"Subject"
);
from_header
=
belle_sip_message_get_header_by_type
(
BELLE_SIP_MESSAGE
(
req
),
belle_sip_header_from_t
);
...
...
@@ -161,6 +162,11 @@ void Sal::process_request_event_cb(void *ud, const belle_sip_request_event_t *ev
belle_sip_object_unref
(
address
);
}
if
(
subjectHeader
)
{
const
char
*
subject
=
belle_sip_header_get_unparsed_value
(
subjectHeader
);
op
->
set_subject
(
subject
);
}
if
(
!
op
->
diversion_address
){
diversion
=
belle_sip_message_get_header_by_type
(
BELLE_SIP_MESSAGE
(
req
),
belle_sip_header_diversion_t
);
if
(
diversion
)
{
...
...
coreapi/sal/sal_op.cpp
View file @
bb5d418a
...
...
@@ -65,6 +65,10 @@ SalOp::~SalOp() {
ms_free
(
this
->
to
);
this
->
to
=
NULL
;
}
if
(
this
->
subject
)
{
ms_free
(
this
->
subject
);
this
->
subject
=
NULL
;
}
if
(
this
->
route
)
{
ms_free
(
this
->
route
);
this
->
route
=
NULL
;
...
...
@@ -198,6 +202,10 @@ void SalOp::set_realm(const char *realm) {
assign_string(&this->name,name##_string); \
if(name##_string) ms_free(name##_string);
void
SalOp
::
set_subject
(
const
char
*
subject
)
{
assign_string
(
&
this
->
subject
,
subject
);
}
void
SalOp
::
set_from
(
const
char
*
from
){
SET_PARAM
(
from
);
}
...
...
coreapi/sal/sal_op.h
View file @
bb5d418a
...
...
@@ -41,8 +41,11 @@ public:
void
set_user_pointer
(
void
*
up
)
{
this
->
user_pointer
=
up
;}
void
*
get_user_pointer
()
const
{
return
this
->
user_pointer
;}
void
set_subject
(
const
char
*
subject
);
const
char
*
get_subject
()
const
{
return
this
->
subject
;
}
void
set_from
(
const
char
*
from
);
void
set_from_address
(
const
SalAddress
*
from
);
const
char
*
get_from
()
const
{
return
this
->
from
;}
...
...
@@ -197,6 +200,7 @@ protected:
char
*
route
=
NULL
;
/*or request-uri for REGISTER*/
MSList
*
route_addresses
=
NULL
;
/*list of SalAddress* */
SalAddress
*
contact_address
=
NULL
;
char
*
subject
=
NULL
;
char
*
from
=
NULL
;
SalAddress
*
from_address
=
NULL
;
char
*
to
=
NULL
;
...
...
include/linphone/api/c-chat-room.h
View file @
bb5d418a
...
...
@@ -282,6 +282,13 @@ LINPHONE_PUBLIC int linphone_chat_room_get_nb_participants (const LinphoneChatRo
*/
LINPHONE_PUBLIC
bctbx_list_t
*
linphone_chat_room_get_participants
(
const
LinphoneChatRoom
*
cr
);
/**
* Get the subject of a chat room.
* @param[in] cr A LinphoneChatRoom object
* @return The subject of the chat room
*/
LINPHONE_PUBLIC
const
char
*
linphone_chat_room_get_subject
(
const
LinphoneChatRoom
*
cr
);
/**
* Remove a participant of a chat room.
* @param[in] cr A LinphoneChatRoom object
...
...
@@ -296,6 +303,13 @@ LINPHONE_PUBLIC void linphone_chat_room_remove_participant (LinphoneChatRoom *cr
*/
LINPHONE_PUBLIC
void
linphone_chat_room_remove_participants
(
LinphoneChatRoom
*
cr
,
const
bctbx_list_t
*
participants
);
/**
* Set the subject of a chat room.
* @param[in] cr A LinphoneChatRoom object
* @param[in] subject The new subject to set for the chat room
*/
LINPHONE_PUBLIC
void
linphone_chat_room_set_subject
(
LinphoneChatRoom
*
cr
,
const
char
*
subject
);
/**
* Returns back pointer to #LinphoneCore object.
* @deprecated use linphone_chat_room_get_core()
...
...
src/c-wrapper/api/c-chat-room.cpp
View file @
bb5d418a
...
...
@@ -245,6 +245,10 @@ bctbx_list_t *linphone_chat_room_get_participants (const LinphoneChatRoom *cr) {
return
L_GET_RESOLVED_C_LIST_FROM_CPP_LIST
(
L_GET_CPP_PTR_FROM_C_OBJECT
(
cr
)
->
getParticipants
());
}
const
char
*
linphone_chat_room_get_subject
(
const
LinphoneChatRoom
*
cr
)
{
return
L_STRING_TO_C
(
L_GET_CPP_PTR_FROM_C_OBJECT
(
cr
)
->
getSubject
());
}
void
linphone_chat_room_remove_participant
(
LinphoneChatRoom
*
cr
,
LinphoneParticipant
*
participant
)
{
L_GET_CPP_PTR_FROM_C_OBJECT
(
cr
)
->
removeParticipant
(
L_GET_CPP_PTR_FROM_C_OBJECT
(
participant
));
}
...
...
@@ -253,6 +257,10 @@ void linphone_chat_room_remove_participants (LinphoneChatRoom *cr, const bctbx_l
L_GET_CPP_PTR_FROM_C_OBJECT
(
cr
)
->
removeParticipants
(
L_GET_RESOLVED_CPP_LIST_FROM_C_LIST
(
participants
,
Participant
));
}
void
linphone_chat_room_set_subject
(
LinphoneChatRoom
*
cr
,
const
char
*
subject
)
{
L_GET_CPP_PTR_FROM_C_OBJECT
(
cr
)
->
setSubject
(
L_C_TO_STRING
(
subject
));
}
// =============================================================================
// Reference and user data handling functions.
// =============================================================================
...
...
src/chat/basic-chat-room-p.h
View file @
bb5d418a
...
...
@@ -35,6 +35,8 @@ public:
virtual
~
BasicChatRoomPrivate
()
=
default
;
private:
std
::
string
subject
;
L_DECLARE_PUBLIC
(
BasicChatRoom
);
};
...
...
src/chat/basic-chat-room.cpp
View file @
bb5d418a
...
...
@@ -64,6 +64,11 @@ list<shared_ptr<Participant>> BasicChatRoom::getParticipants () const {
return
l
;
}
const
string
&
BasicChatRoom
::
getSubject
()
const
{
L_D
();
return
d
->
subject
;
}
void
BasicChatRoom
::
removeParticipant
(
const
shared_ptr
<
const
Participant
>
&
participant
)
{
lError
()
<<
"removeParticipant() is not allowed on a BasicChatRoom"
;
}
...
...
@@ -72,4 +77,9 @@ void BasicChatRoom::removeParticipants (const list<shared_ptr<Participant>> &par
lError
()
<<
"removeParticipants() is not allowed on a BasicChatRoom"
;
}
void
BasicChatRoom
::
setSubject
(
const
string
&
subject
)
{
L_D
();
d
->
subject
=
subject
;
}
LINPHONE_END_NAMESPACE
src/chat/basic-chat-room.h
View file @
bb5d418a
...
...
@@ -39,8 +39,10 @@ public:
const
Address
*
getConferenceAddress
()
const
override
;
int
getNbParticipants
()
const
override
;
std
::
list
<
std
::
shared_ptr
<
Participant
>>
getParticipants
()
const
override
;
const
std
::
string
&
getSubject
()
const
override
;
void
removeParticipant
(
const
std
::
shared_ptr
<
const
Participant
>
&
participant
)
override
;
void
removeParticipants
(
const
std
::
list
<
std
::
shared_ptr
<
Participant
>>
&
participants
)
override
;
void
setSubject
(
const
std
::
string
&
subject
)
override
;
private:
L_DECLARE_PRIVATE
(
BasicChatRoom
);
...
...
src/chat/client-group-chat-room-p.h
View file @
bb5d418a
...
...
@@ -31,12 +31,10 @@ LINPHONE_BEGIN_NAMESPACE
class
ClientGroupChatRoomPrivate
:
public
ChatRoomPrivate
{
public:
ClientGroupChatRoomPrivate
(
LinphoneCore
*
core
,
const
std
::
string
&
subject
);
ClientGroupChatRoomPrivate
(
LinphoneCore
*
core
);
virtual
~
ClientGroupChatRoomPrivate
()
=
default
;
private:
std
::
string
subject
;
L_DECLARE_PUBLIC
(
ClientGroupChatRoom
);
};
...
...
src/chat/client-group-chat-room.cpp
View file @
bb5d418a
...
...
@@ -31,15 +31,16 @@ using namespace std;
LINPHONE_BEGIN_NAMESPACE
ClientGroupChatRoomPrivate
::
ClientGroupChatRoomPrivate
(
LinphoneCore
*
core
,
const
string
&
subject
)
:
ChatRoomPrivate
(
core
)
,
subject
(
subject
)
{}
ClientGroupChatRoomPrivate
::
ClientGroupChatRoomPrivate
(
LinphoneCore
*
core
)
:
ChatRoomPrivate
(
core
)
{}
// =============================================================================
ClientGroupChatRoom
::
ClientGroupChatRoom
(
LinphoneCore
*
core
,
const
Address
&
me
,
const
string
&
subject
)
:
ChatRoom
(
*
new
ClientGroupChatRoomPrivate
(
core
,
subject
)),
RemoteConference
(
core
,
me
,
nullptr
)
{
:
ChatRoom
(
*
new
ClientGroupChatRoomPrivate
(
core
)),
RemoteConference
(
core
,
me
,
nullptr
)
{
string
factoryUri
=
linphone_core_get_conference_factory_uri
(
core
);
focus
=
make_shared
<
Participant
>
(
factoryUri
);
this
->
subject
=
subject
;
}
// -----------------------------------------------------------------------------
...
...
@@ -73,7 +74,7 @@ void ClientGroupChatRoom::addParticipants (const list<Address> &addresses, const
Address
addr
=
me
->
getAddress
();
addr
.
setParam
(
"text"
,
""
);
session
->
getPrivate
()
->
getOp
()
->
set_contact_address
(
addr
.
getPrivate
()
->
getInternalAddress
());
session
->
startInvite
(
nullptr
,
d
->
subject
);
session
->
startInvite
(
nullptr
,
subject
);
d
->
setState
(
ChatRoom
::
State
::
CreationPending
);
}
// TODO
...
...
@@ -95,6 +96,10 @@ list<shared_ptr<Participant>> ClientGroupChatRoom::getParticipants () const {
return
RemoteConference
::
getParticipants
();
}
const
string
&
ClientGroupChatRoom
::
getSubject
()
const
{
return
RemoteConference
::
getSubject
();
}
void
ClientGroupChatRoom
::
removeParticipant
(
const
shared_ptr
<
const
Participant
>
&
participant
)
{
// TODO
}
...
...
@@ -103,6 +108,20 @@ void ClientGroupChatRoom::removeParticipants (const list<shared_ptr<Participant>
// TODO
}
void
ClientGroupChatRoom
::
setSubject
(
const
string
&
subject
)
{
L_D
();
if
(
d
->
state
!=
ChatRoom
::
State
::
Created
)
{
lError
()
<<
"Cannot change the ClientGroupChatRoom subject in a state other than Created"
;
return
;
}
if
(
!
me
->
isAdmin
())
{
lError
()
<<
"Cannot change the ClientGroupChatRoom subject because I am not admin"
;
return
;
}
shared_ptr
<
CallSession
>
session
=
focus
->
getPrivate
()
->
getSession
();
session
->
update
(
nullptr
,
subject
);
}
// -----------------------------------------------------------------------------
void
ClientGroupChatRoom
::
onConferenceCreated
(
const
Address
&
addr
)
{
...
...
src/chat/client-group-chat-room.h
View file @
bb5d418a
...
...
@@ -47,8 +47,10 @@ public:
const
Address
*
getConferenceAddress
()
const
override
;
int
getNbParticipants
()
const
override
;
std
::
list
<
std
::
shared_ptr
<
Participant
>>
getParticipants
()
const
override
;
const
std
::
string
&
getSubject
()
const
override
;
void
removeParticipant
(
const
std
::
shared_ptr
<
const
Participant
>
&
participant
)
override
;
void
removeParticipants
(
const
std
::
list
<
std
::
shared_ptr
<
Participant
>>
&
participants
)
override
;
void
setSubject
(
const
std
::
string
&
subject
)
override
;
private:
/* ConferenceListener */
...
...
src/chat/real-time-text-chat-room-p.h
View file @
bb5d418a
...
...
@@ -46,6 +46,8 @@ public:
std
::
shared_ptr
<
ChatMessage
>
pendingMessage
=
nullptr
;
private:
std
::
string
subject
;
L_DECLARE_PUBLIC
(
RealTimeTextChatRoom
);
};
...
...
src/chat/real-time-text-chat-room.cpp
View file @
bb5d418a
...
...
@@ -160,6 +160,11 @@ list<shared_ptr<Participant>> RealTimeTextChatRoom::getParticipants () const {
return
l
;
}
const
string
&
RealTimeTextChatRoom
::
getSubject
()
const
{
L_D
();
return
d
->
subject
;
}
void
RealTimeTextChatRoom
::
removeParticipant
(
const
shared_ptr
<
const
Participant
>
&
participant
)
{
lError
()
<<
"removeParticipant() is not allowed on a RealTimeTextChatRoom"
;
}
...
...
@@ -168,4 +173,9 @@ void RealTimeTextChatRoom::removeParticipants (const list<shared_ptr<Participant
lError
()
<<
"removeParticipants() is not allowed on a RealTimeTextChatRoom"
;
}
void
RealTimeTextChatRoom
::
setSubject
(
const
string
&
subject
)
{
L_D
();
d
->
subject
=
subject
;
}
LINPHONE_END_NAMESPACE
src/chat/real-time-text-chat-room.h
View file @
bb5d418a
...
...
@@ -49,8 +49,10 @@ public:
const
Address
*
getConferenceAddress
()
const
override
;
int
getNbParticipants
()
const
override
;
std
::
list
<
std
::
shared_ptr
<
Participant
>>
getParticipants
()
const
override
;
const
std
::
string
&
getSubject
()
const
override
;
void
removeParticipant
(
const
std
::
shared_ptr
<
const
Participant
>
&
participant
)
override
;
void
removeParticipants
(
const
std
::
list
<
std
::
shared_ptr
<
Participant
>>
&
participants
)
override
;
void
setSubject
(
const
std
::
string
&
subject
)
override
;
private:
L_DECLARE_PRIVATE
(
RealTimeTextChatRoom
);
...
...
src/conference/conference-interface.h
View file @
bb5d418a
...
...
@@ -40,8 +40,10 @@ public:
virtual
const
Address
*
getConferenceAddress
()
const
=
0
;
virtual
int
getNbParticipants
()
const
=
0
;
virtual
std
::
list
<
std
::
shared_ptr
<
Participant
>>
getParticipants
()
const
=
0
;
virtual
const
std
::
string
&
getSubject
()
const
=
0
;
virtual
void
removeParticipant
(
const
std
::
shared_ptr
<
const
Participant
>
&
participant
)
=
0
;
virtual
void
removeParticipants
(
const
std
::
list
<
std
::
shared_ptr
<
Participant
>>
&
participants
)
=
0
;
virtual
void
setSubject
(
const
std
::
string
&
subject
)
=
0
;
};
LINPHONE_END_NAMESPACE
...
...
src/conference/conference.cpp
View file @
bb5d418a
...
...
@@ -66,6 +66,10 @@ list<shared_ptr<Participant>> Conference::getParticipants () const {
return
participants
;
}
const
string
&
Conference
::
getSubject
()
const
{
return
subject
;
}
void
Conference
::
removeParticipant
(
const
shared_ptr
<
const
Participant
>
&
participant
)
{
lError
()
<<
"Conference class does not handle removeParticipant() generically"
;
}
...
...
@@ -75,6 +79,10 @@ void Conference::removeParticipants (const list<shared_ptr<Participant>> &partic
removeParticipant
(
p
);
}
void
Conference
::
setSubject
(
const
string
&
subject
)
{
this
->
subject
=
subject
;
}
// -----------------------------------------------------------------------------
void
Conference
::
onAckBeingSent
(
const
CallSession
&
session
,
LinphoneHeaders
*
headers
)
{
...
...
src/conference/conference.h
View file @
bb5d418a
...
...
@@ -53,8 +53,10 @@ public:
const
Address
*
getConferenceAddress
()
const
override
;
int
getNbParticipants
()
const
override
;
std
::
list
<
std
::
shared_ptr
<
Participant
>>
getParticipants
()
const
override
;
const
std
::
string
&
getSubject
()
const
override
;
void
removeParticipant
(
const
std
::
shared_ptr
<
const
Participant
>
&
participant
)
override
;
void
removeParticipants
(
const
std
::
list
<
std
::
shared_ptr
<
Participant
>>
&
participants
)
override
;
void
setSubject
(
const
std
::
string
&
subject
)
override
;
private:
/* CallSessionListener */
...
...
@@ -87,6 +89,7 @@ protected:
std
::
shared_ptr
<
Participant
>
me
;
std
::
list
<
std
::
shared_ptr
<
Participant
>>
participants
;
Address
conferenceAddress
;
std
::
string
subject
;
private:
L_DISABLE_COPY
(
Conference
);
...
...
src/conference/session/call-session-p.h
View file @
bb5d418a
...
...
@@ -64,7 +64,7 @@ protected:
virtual
void
setReleased
();
virtual
void
setTerminated
();
virtual
LinphoneStatus
startAcceptUpdate
(
LinphoneCallState
nextState
,
const
std
::
string
&
stateInfo
);
virtual
LinphoneStatus
startUpdate
();
virtual
LinphoneStatus
startUpdate
(
const
std
::
string
&
subject
);
virtual
void
terminate
();
virtual
void
updateCurrentParams
()
const
;
...
...
@@ -85,6 +85,7 @@ protected:
mutable
CallSessionParams
*
currentParams
=
nullptr
;
CallSessionParams
*
remoteParams
=
nullptr
;
std
::
string
subject
;
LinphoneCallDir
direction
=
LinphoneCallOutgoing
;
LinphoneCallState
state
=
LinphoneCallIdle
;
LinphoneCallState
prevState
=
LinphoneCallIdle
;
...
...
src/conference/session/call-session.cpp
View file @
bb5d418a
...
...
@@ -564,23 +564,25 @@ LinphoneStatus CallSessionPrivate::startAcceptUpdate (LinphoneCallState nextStat
return
0
;
}
LinphoneStatus
CallSessionPrivate
::
startUpdate
()
{
LinphoneStatus
CallSessionPrivate
::
startUpdate
(
const
string
&
subject
)
{
L_Q
();
string
subject
;
if
(
q
->
getParams
()
->
getPrivate
()
->
getInConference
())
subject
=
"Conference"
;
else
if
(
q
->
getParams
()
->
getPrivate
()
->
getInternalCallUpdate
())
subject
=
"ICE processing concluded"
;
else
if
(
q
->
getParams
()
->
getPrivate
()
->
getNoUserConsent
())
subject
=
"Refreshing"
;
else
subject
=
"Media change"
;
string
newSubject
(
subject
);
if
(
newSubject
.
empty
())
{
if
(
q
->
getParams
()
->
getPrivate
()
->
getInConference
())
newSubject
=
"Conference"
;
else
if
(
q
->
getParams
()
->
getPrivate
()
->
getInternalCallUpdate
())
newSubject
=
"ICE processing concluded"
;
else
if
(
q
->
getParams
()
->
getPrivate
()
->
getNoUserConsent
())
newSubject
=
"Refreshing"
;
else
newSubject
=
"Media change"
;
}
if
(
destProxy
&&
destProxy
->
op
)
{
/* Give a chance to update the contact address if connectivity has changed */
op
->
set_contact_address
(
destProxy
->
op
->
get_contact_address
());
}
else
op
->
set_contact_address
(
nullptr
);
return
op
->
update
(
s
ubject
.
c_str
(),
q
->
getParams
()
->
getPrivate
()
->
getNoUserConsent
());
return
op
->
update
(
newS
ubject
.
c_str
(),
q
->
getParams
()
->
getPrivate
()
->
getNoUserConsent
());
}
void
CallSessionPrivate
::
terminate
()
{
...
...
@@ -827,6 +829,7 @@ void CallSession::startIncomingNotification () {
int
CallSession
::
startInvite
(
const
Address
*
destination
,
const
string
&
subject
)
{
L_D
();
d
->
subject
=
subject
;
/* Try to be best-effort in giving real local or routable contact address */
d
->
setContactOp
();
string
destinationStr
;
...
...
@@ -889,7 +892,7 @@ LinphoneStatus CallSession::terminate (const LinphoneErrorInfo *ei) {
return
0
;
}
LinphoneStatus
CallSession
::
update
(
const
CallSessionParams
*
csp
)
{
LinphoneStatus
CallSession
::
update
(
const
CallSessionParams
*
csp
,
const
string
&
subject
)
{
L_D
();
LinphoneCallState
nextState
;
LinphoneCallState
initialState
=
d
->
state
;
...
...
@@ -897,7 +900,7 @@ LinphoneStatus CallSession::update (const CallSessionParams *csp) {
return
-
1
;
if
(
d
->
currentParams
==
csp
)
lWarning
()
<<
"CallSession::update() is given the current params, this is probably not what you intend to do!"
;
LinphoneStatus
result
=
d
->
startUpdate
();
LinphoneStatus
result
=
d
->
startUpdate
(
subject
);
if
(
result
&&
(
d
->
state
!=
initialState
))
{
/* Restore initial state */
d
->
setState
(
initialState
,
"Restore initial state"
);
...
...
src/conference/session/call-session.h
View file @
bb5d418a
...
...
@@ -49,9 +49,9 @@ public:
virtual
bool
initiateOutgoing
();
virtual
void
iterate
(
time_t
currentRealTime
,
bool
oneSecondElapsed
);
virtual
void
startIncomingNotification
();
virtual
int
startInvite
(
const
Address
*
destination
,
const
std
::
string
&
subject
);
virtual
int
startInvite
(
const
Address
*
destination
,
const
std
::
string
&
subject
=
""
);
LinphoneStatus
terminate
(
const
LinphoneErrorInfo
*
ei
=
nullptr
);
LinphoneStatus
update
(
const
CallSessionParams
*
csp
);
LinphoneStatus
update
(
const
CallSessionParams
*
csp
,
const
std
::
string
&
subject
=
""
);
CallSessionParams
*
getCurrentParams
()
const
;
LinphoneCallDir
getDirection
()
const
;
...
...
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment