Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
7545582a
Commit
7545582a
authored
Feb 13, 2013
by
jehan
Browse files
only check upnp state if upnp is configured
parent
a177101b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
coreapi/proxy.c
coreapi/proxy.c
+3
-1
No files found.
coreapi/proxy.c
View file @
7545582a
...
...
@@ -1087,7 +1087,9 @@ void linphone_proxy_config_update(LinphoneProxyConfig *cfg){
linphone_proxy_config_activate_sip_setup
(
cfg
);
}
if
((
!
lc
->
sip_conf
.
register_only_when_network_is_up
||
lc
->
network_reachable
)
&&
(
!
lc
->
sip_conf
.
register_only_when_upnp_is_ok
||
linphone_core_get_upnp_state
(
lc
)
==
LinphoneUpnpStateOk
))
(
linphone_core_get_firewall_policy
(
lc
)
!=
LinphonePolicyUseUpnp
||
!
lc
->
sip_conf
.
register_only_when_upnp_is_ok
||
linphone_core_get_upnp_state
(
lc
)
==
LinphoneUpnpStateOk
))
linphone_proxy_config_register
(
cfg
);
if
(
cfg
->
publish
&&
cfg
->
publish_op
==
NULL
){
linphone_proxy_config_send_publish
(
cfg
,
lc
->
presence_mode
);
...
...
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