Commit 77751a2f authored by Alexandre Bourget's avatar Alexandre Bourget
Browse files

Fix comments.

parent 20347c80
...@@ -37,10 +37,7 @@ SIPCall::~SIPCall() ...@@ -37,10 +37,7 @@ SIPCall::~SIPCall()
{ {
} }
/**
* Answer incoming call correclty before telling the user
* @param event eXosip Event
*/
bool bool
SIPCall::SIPCallInvite(eXosip_event_t *event) SIPCall::SIPCallInvite(eXosip_event_t *event)
{ {
...@@ -123,13 +120,6 @@ SIPCall::SIPCallInvite(eXosip_event_t *event) ...@@ -123,13 +120,6 @@ SIPCall::SIPCallInvite(eXosip_event_t *event)
return true; return true;
} }
/**
* newReinviteCall is called when the IP-Phone user receives a change in the call
* it's almost an newIncomingCall but we send a 200 OK
* See: 3.7. Session with re-INVITE (IP Address Change)
* @param event eXosip Event
* @return true if ok
*/
bool bool
SIPCall::SIPCallReinvite(eXosip_event_t *event) SIPCall::SIPCallReinvite(eXosip_event_t *event)
{ {
...@@ -211,11 +201,6 @@ SIPCall::SIPCallReinvite(eXosip_event_t *event) ...@@ -211,11 +201,6 @@ SIPCall::SIPCallReinvite(eXosip_event_t *event)
return true; return true;
} }
/**
* Peer answered to a call (on hold or not)
* @param event eXosip Event
* @return true if ok
*/
bool bool
SIPCall::SIPCallAnswered(eXosip_event_t *event) SIPCall::SIPCallAnswered(eXosip_event_t *event)
{ {
...@@ -266,11 +251,8 @@ SIPCall::SIPCallAnswered(eXosip_event_t *event) ...@@ -266,11 +251,8 @@ SIPCall::SIPCallAnswered(eXosip_event_t *event)
eXosip_unlock (); eXosip_unlock ();
return true; return true;
} }
/**
* We retreive final SDP info if they changed
* @param event eXosip Event
* @return true if ok (change / no change) or false on error
*/
bool bool
SIPCall::SIPCallAnsweredWithoutHold(eXosip_event_t* event) SIPCall::SIPCallAnsweredWithoutHold(eXosip_event_t* event)
{ {
...@@ -324,7 +306,7 @@ SIPCall::SIPCallAnsweredWithoutHold(eXosip_event_t* event) ...@@ -324,7 +306,7 @@ SIPCall::SIPCallAnsweredWithoutHold(eXosip_event_t* event)
return true; return true;
} }
//TODO: humm?
int int
SIPCall::sdp_complete_message(sdp_message_t * remote_sdp, osip_message_t * msg) SIPCall::sdp_complete_message(sdp_message_t * remote_sdp, osip_message_t * msg)
{ {
...@@ -411,7 +393,7 @@ SIPCall::sdp_complete_message(sdp_message_t * remote_sdp, osip_message_t * msg) ...@@ -411,7 +393,7 @@ SIPCall::sdp_complete_message(sdp_message_t * remote_sdp, osip_message_t * msg)
} }
// TODO: hum???
int int
SIPCall::sdp_analyse_attribute (sdp_message_t * sdp, sdp_media_t * med) SIPCall::sdp_analyse_attribute (sdp_message_t * sdp, sdp_media_t * med)
{ {
......
...@@ -51,7 +51,7 @@ public: ...@@ -51,7 +51,7 @@ public:
void setTid(int tid) { _tid = tid; } void setTid(int tid) { _tid = tid; }
/** /**
* Answer incoming call correclty before telling the user * Setup incoming call, and verify for errors, before ringing the user.
* @param event eXosip Event * @param event eXosip Event
*/ */
bool SIPCallInvite(eXosip_event_t *event); bool SIPCallInvite(eXosip_event_t *event);
...@@ -71,6 +71,7 @@ public: ...@@ -71,6 +71,7 @@ public:
* @return true if ok * @return true if ok
*/ */
bool SIPCallAnswered(eXosip_event_t *event); bool SIPCallAnswered(eXosip_event_t *event);
/** /**
* We retreive final SDP info if they changed * We retreive final SDP info if they changed
* @param event eXosip Event * @param event eXosip Event
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment