Fix complation of complex_sip_case_tester.c

This commit is contained in:
François Grisez 2017-09-29 18:03:58 +02:00
parent a830806c16
commit e7f7abd7ae
3 changed files with 7 additions and 1 deletions

View file

@ -973,4 +973,8 @@ SalMediaDescription * sal_call_get_final_media_description(SalOp *h) {
return callOp->get_final_media_description();
}
belle_sip_resolver_context_t *sal_resolve_a(Sal *sal, const char *name, int port, int family, belle_sip_resolver_callback_t cb, void *data) {
return sal->resolve_a(name, port, family, cb, data);
}
}

View file

@ -143,6 +143,8 @@ LINPHONE_PUBLIC const SalErrorInfo *sal_op_get_error_info(const SalOp *op);
LINPHONE_PUBLIC bool_t sal_call_dialog_request_pending(const SalOp *op);
LINPHONE_PUBLIC void sal_call_set_sdp_handling(SalOp *h, SalOpSDPHandling handling);
LINPHONE_PUBLIC SalMediaDescription * sal_call_get_final_media_description(SalOp *h);
LINPHONE_PUBLIC belle_sip_resolver_context_t *sal_resolve_a(Sal *sal, const char *name, int port, int family, belle_sip_resolver_callback_t cb, void *data);
#endif
#ifdef __cplusplus

View file

@ -100,7 +100,7 @@ LinphoneAddress * linphone_core_manager_resolve(LinphoneCoreManager *mgr, const
int port = linphone_address_get_port(source);
LinphoneAddress * dest;
sal_resolve_a( mgr->lc->sal
sal_resolve_a(linphone_core_get_sal(mgr->lc)
,linphone_address_get_domain(source)
,linphone_address_get_port(source)
,AF_INET