diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 2bb4143a6..6398117c8 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -2854,7 +2854,7 @@ int linphone_core_accept_early_media(LinphoneCore* lc, LinphoneCall* call){ int linphone_core_start_update_call(LinphoneCore *lc, LinphoneCall *call){ const char *subject; - bool_t no_user_consent=call->params.no_user_consent; + bool_t no_user_consent=call->params->no_user_consent; if (!no_user_consent) linphone_call_make_local_media_description(lc,call); #ifdef BUILD_UPNP diff --git a/coreapi/proxy.c b/coreapi/proxy.c index cec96db24..546835854 100644 --- a/coreapi/proxy.c +++ b/coreapi/proxy.c @@ -1669,5 +1669,5 @@ uint8_t linphone_proxy_config_get_avpf_rr_interval(const LinphoneProxyConfig *cf } char* linphone_proxy_config_get_contact(const LinphoneProxyConfig *cfg) { - return sal_get_public_uri(cfg->op); + return sal_op_get_public_uri(cfg->op); } diff --git a/coreapi/sal.c b/coreapi/sal.c index 7af22231b..ff252ca3d 100644 --- a/coreapi/sal.c +++ b/coreapi/sal.c @@ -735,9 +735,9 @@ belle_sip_stack_t *sal_get_belle_sip_stack(Sal *sal) { return sal->stack; } -char* sal_get_public_uri(SalOp *sal) { - if (sal&&sal->refresher) { - return belle_sip_refresher_get_public_uri(sal->refresher); +char* sal_op_get_public_uri(SalOp *op) { + if (op && op->refresher) { + return belle_sip_refresher_get_public_uri(op->refresher); } return NULL; } diff --git a/include/sal/sal.h b/include/sal/sal.h index cd087de58..f64edd8e2 100644 --- a/include/sal/sal.h +++ b/include/sal/sal.h @@ -757,5 +757,5 @@ int sal_body_has_type(const SalBody *body, const char *type, const char *subtype int sal_lines_get_value(const char *data, const char *key, char *value, size_t value_size); belle_sip_stack_t *sal_get_belle_sip_stack(Sal *sal); -char* sal_get_public_uri(SalOp *sal); +char* sal_op_get_public_uri(SalOp *sal); #endif