Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
sofia-sip
Commits
26ebf935
Commit
26ebf935
authored
Oct 17, 2005
by
Pekka Pessi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Using port 5060 by default.
darcs-hash:20051017155555-65a35-3727c3738df82854fcdc1dc78cede440751af9c1.gz
parent
d4940847
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
libsofia-sip-ua/nua/nua_stack.c
libsofia-sip-ua/nua/nua_stack.c
+13
-7
No files found.
libsofia-sip-ua/nua/nua_stack.c
View file @
26ebf935
...
...
@@ -296,17 +296,23 @@ int ua_init(su_root_t *root, nua_t *nua)
nua
->
nua_nta
=
nta_agent_create
(
root
,
NONE
,
NULL
,
NULL
,
TPTAG_CERTIFICATE
(
certificate_dir
),
NTATAG_TAG_3261
(
0
),
TAG_
END
(
));
TAG_
NEXT
(
nua
->
nua_args
));
if
(
!
nua
->
nua_nta
)
return
-
1
;
if
(
!
contact
&&
!
sips_contact
)
contact
=
URL_STRING_MAKE
(
"sip:*:*"
);
if
((
!
contact
||
nta_agent_add_tport
(
nua
->
nua_nta
,
contact
,
TAG_END
())
<
0
)
&&
if
(
!
contact
&&
!
sips_contact
)
{
if
(
nta_agent_add_tport
(
nua
->
nua_nta
,
NULL
,
TAG_NEXT
(
nua
->
nua_args
))
<
0
&&
nta_agent_add_tport
(
nua
->
nua_nta
,
URL_STRING_MAKE
(
"sip:*:*"
),
TAG_NEXT
(
nua
->
nua_args
))
<
0
)
return
-
1
;
}
else
if
((
!
contact
||
nta_agent_add_tport
(
nua
->
nua_nta
,
contact
,
TAG_NEXT
(
nua
->
nua_args
))
<
0
)
&&
(
!
sips_contact
||
nta_agent_add_tport
(
nua
->
nua_nta
,
sips_contact
,
TAG_END
())
<
0
))
{
nta_agent_add_tport
(
nua
->
nua_nta
,
sips_contact
,
TAG_NEXT
(
nua
->
nua_args
))
<
0
))
{
return
-
1
;
}
...
...
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