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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
8b23bf70
Commit
8b23bf70
authored
15 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
[#3240] Handle 484 Invalid Address error
parent
d6488379
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sflphone-common/src/sip/sipvoiplink.cpp
+5
-6
5 additions, 6 deletions
sflphone-common/src/sip/sipvoiplink.cpp
with
5 additions
and
6 deletions
sflphone-common/src/sip/sipvoiplink.cpp
+
5
−
6
View file @
8b23bf70
...
...
@@ -3121,7 +3121,7 @@ void call_on_state_changed (pjsip_inv_session *inv, pjsip_event *e)
}
else
if
(
inv
->
state
==
PJSIP_INV_STATE_DISCONNECTED
)
{
_debug
(
"State: %s. Cause: %.*s"
,
invitationStateMap
[
inv
->
state
],
(
int
)
inv
->
cause_text
.
slen
,
inv
->
cause_text
.
ptr
);
_debug
(
"
UserAgent:
State: %s. Cause: %.*s"
,
invitationStateMap
[
inv
->
state
],
(
int
)
inv
->
cause_text
.
slen
,
inv
->
cause_text
.
ptr
);
accId
=
Manager
::
instance
().
getAccountFromCall
(
call
->
getCallId
());
link
=
dynamic_cast
<
SIPVoIPLink
*>
(
Manager
::
instance
().
getAccountLink
(
accId
));
...
...
@@ -3150,12 +3150,14 @@ void call_on_state_changed (pjsip_inv_session *inv, pjsip_event *e)
case
PJSIP_SC_UNSUPPORTED_MEDIA_TYPE
:
case
PJSIP_SC_UNAUTHORIZED
:
case
PJSIP_SC_FORBIDDEN
:
case
PJSIP_SC_REQUEST_PENDING
:
case
PJSIP_SC_REQUEST_PENDING
:
case
PJSIP_SC_ADDRESS_INCOMPLETE
:
link
->
SIPCallServerFailure
(
call
);
break
;
default:
_debug
(
"sipvoiplink.cpp - line %d : Unhandled call state. This is probably a bug."
,
__LINE__
);
link
->
SIPCallServerFailure
(
call
);
_error
(
"UserAgent: Unhandled call state. This is probably a bug."
);
break
;
}
}
...
...
@@ -3390,15 +3392,12 @@ void regc_cb (struct pjsip_regc_cbparam *param)
break
;
case
503
:
case
408
:
account
->
setRegistrationState
(
ErrorHost
);
break
;
case
401
:
case
403
:
case
404
:
account
->
setRegistrationState
(
ErrorAuth
);
break
;
...
...
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
register
or
sign in
to comment