Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
fe9ec04f
Commit
fe9ec04f
authored
Mar 20, 2009
by
Emmanuel Milou
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into m_savard
parents
a0455278
5840e4df
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
sflphone-gtk/src/actions.c
+5
-4
5 additions, 4 deletions
sflphone-gtk/src/actions.c
src/sdp.cpp
+0
-2
0 additions, 2 deletions
src/sdp.cpp
src/sipvoiplink.cpp
+0
-5
0 additions, 5 deletions
src/sipvoiplink.cpp
with
5 additions
and
11 deletions
sflphone-gtk/src/actions.c
+
5
−
4
View file @
fe9ec04f
...
@@ -373,7 +373,6 @@ sflphone_off_hold ()
...
@@ -373,7 +373,6 @@ sflphone_off_hold ()
g_print
(
"Currently recording!
\n
"
);
g_print
(
"Currently recording!
\n
"
);
else
else
g_print
(
"Not recording currently
\n
"
);
g_print
(
"Not recording currently
\n
"
);
}
}
...
@@ -701,11 +700,13 @@ sflphone_place_call ( call_t * c )
...
@@ -701,11 +700,13 @@ sflphone_place_call ( call_t * c )
{
{
account_t
*
current
;
account_t
*
current
;
if
(
c
->
accountID
!=
0
)
if
(
g_strcasecmp
(
c
->
accountID
,
""
)
!=
0
)
{
g_print
(
"account_list_get_by_id : %s
\n
"
,
c
->
accountID
);
current
=
account_list_get_by_id
(
c
->
accountID
);
current
=
account_list_get_by_id
(
c
->
accountID
);
else
}
else
{
g_print
(
"account_list_get_current
\n
"
);
current
=
account_list_get_current
();
current
=
account_list_get_current
();
}
// printf("sflphone_place_call :: c->accountID : %i \n",c->accountID);
// printf("sflphone_place_call :: c->accountID : %i \n",c->accountID);
// account_t * current = c->accountID;
// account_t * current = c->accountID;
...
...
This diff is collapsed.
Click to expand it.
src/sdp.cpp
+
0
−
2
View file @
fe9ec04f
...
@@ -379,7 +379,6 @@ void Sdp::set_local_media_capabilities () {
...
@@ -379,7 +379,6 @@ void Sdp::set_local_media_capabilities () {
}
}
}
}
_local_media_cap
.
push_back
(
audio
);
_local_media_cap
.
push_back
(
audio
);
_debug
(
"%s
\n
"
,
audio
->
to_string
().
c_str
());
}
}
void
Sdp
::
attribute_port_to_all_media
(
int
port
)
{
void
Sdp
::
attribute_port_to_all_media
(
int
port
)
{
...
@@ -408,7 +407,6 @@ void Sdp::fetch_remote_ip_from_sdp (pjmedia_sdp_session *r_sdp) {
...
@@ -408,7 +407,6 @@ void Sdp::fetch_remote_ip_from_sdp (pjmedia_sdp_session *r_sdp) {
std
::
string
remote_ip
;
std
::
string
remote_ip
;
remote_ip
=
r_sdp
->
conn
->
addr
.
ptr
;
remote_ip
=
r_sdp
->
conn
->
addr
.
ptr
;
_debug
(
"************************************************** Remote Audio IP: %s
\n
"
,
remote_ip
.
c_str
());
this
->
set_remote_ip
(
remote_ip
);
this
->
set_remote_ip
(
remote_ip
);
}
}
...
...
This diff is collapsed.
Click to expand it.
src/sipvoiplink.cpp
+
0
−
5
View file @
fe9ec04f
...
@@ -1698,14 +1698,12 @@ std::string SIPVoIPLink::getSipTo(const std::string& to_url, std::string hostnam
...
@@ -1698,14 +1698,12 @@ std::string SIPVoIPLink::getSipTo(const std::string& to_url, std::string hostnam
// The call is ringing - We need to handle this case only on outgoing call
// The call is ringing - We need to handle this case only on outgoing call
if
(
inv
->
state
==
PJSIP_INV_STATE_EARLY
&&
e
->
body
.
tsx_state
.
tsx
->
role
==
PJSIP_ROLE_UAC
){
if
(
inv
->
state
==
PJSIP_INV_STATE_EARLY
&&
e
->
body
.
tsx_state
.
tsx
->
role
==
PJSIP_ROLE_UAC
){
_debug
(
"*************************** PJSIP_INV_STATE_EARLY - PEER RINGING ***********************************
\n
"
);
call
->
setConnectionState
(
Call
::
Ringing
);
call
->
setConnectionState
(
Call
::
Ringing
);
Manager
::
instance
().
peerRingingCall
(
call
->
getCallId
());
Manager
::
instance
().
peerRingingCall
(
call
->
getCallId
());
}
}
// We receive a ACK - The connection is established
// We receive a ACK - The connection is established
else
if
(
inv
->
state
==
PJSIP_INV_STATE_CONFIRMED
){
else
if
(
inv
->
state
==
PJSIP_INV_STATE_CONFIRMED
){
_debug
(
"*************************** PJSIP_INV_STATE_CONFIRMED ***********************************
\n
"
);
/* If the call is a direct IP-to-IP call */
/* If the call is a direct IP-to-IP call */
if
(
call
->
getCallConfiguration
()
==
Call
::
IPtoIP
)
{
if
(
call
->
getCallConfiguration
()
==
Call
::
IPtoIP
)
{
...
@@ -1721,7 +1719,6 @@ std::string SIPVoIPLink::getSipTo(const std::string& to_url, std::string hostnam
...
@@ -1721,7 +1719,6 @@ std::string SIPVoIPLink::getSipTo(const std::string& to_url, std::string hostnam
}
}
else
if
(
inv
->
state
==
PJSIP_INV_STATE_DISCONNECTED
){
else
if
(
inv
->
state
==
PJSIP_INV_STATE_DISCONNECTED
){
_debug
(
"*************************** PJSIP_INV_STATE_DISCONNECTED %i***********************************
\n
"
,
inv
->
cause
);
switch
(
inv
->
cause
)
switch
(
inv
->
cause
)
{
{
/* The call terminates normally - BYE / CANCEL */
/* The call terminates normally - BYE / CANCEL */
...
@@ -2443,8 +2440,6 @@ void call_on_tsx_changed(pjsip_inv_session *inv, pjsip_transaction *tsx, pjsip_e
...
@@ -2443,8 +2440,6 @@ void call_on_tsx_changed(pjsip_inv_session *inv, pjsip_transaction *tsx, pjsip_e
void
on_rx_offer
(
pjsip_inv_session
*
inv
,
const
pjmedia_sdp_session
*
offer
){
void
on_rx_offer
(
pjsip_inv_session
*
inv
,
const
pjmedia_sdp_session
*
offer
){
_debug
(
"********************************* REINVITE RECEIVED *******************************
\n
"
);
#ifdef CAN_REINVITE
#ifdef CAN_REINVITE
_debug
(
"reinvite SIP
\n
"
);
_debug
(
"reinvite SIP
\n
"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment