Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
329d47cd
Commit
329d47cd
authored
Aug 27, 2013
by
Tristan Matthews
Browse files
sip: added debug message for answer
parent
86118ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/src/sip/sipcall.cpp
View file @
329d47cd
...
...
@@ -81,8 +81,10 @@ void SIPCall::answer()
throw
std
::
runtime_error
(
"Could not init invite request answer (200 OK)"
);
// contactStr must stay in scope as long as tdata
if
(
not
contactHeader_
.
empty
())
if
(
not
contactHeader_
.
empty
())
{
DEBUG
(
"Answering with contact header: %s"
,
contactHeader_
.
c_str
());
sip_utils
::
addContactHeader
(
contactHeader_
,
tdata
);
}
if
(
pjsip_inv_send_msg
(
inv
,
tdata
)
!=
PJ_SUCCESS
)
throw
std
::
runtime_error
(
"Could not send invite request answer (200 OK)"
);
...
...
Write
Preview
Supports
Markdown
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