Commit e8d63aa3 authored by Simon Morlat's avatar Simon Morlat
Browse files

remove uri headers from Contact

parent 9938815e
......@@ -123,7 +123,10 @@ void sal_address_set_port(SalAddress *addr, int port){
void sal_address_clean(SalAddress *addr){
belle_sip_header_address_t* header_addr = BELLE_SIP_HEADER_ADDRESS(addr);
belle_sip_uri_t* uri=belle_sip_header_address_get_uri(header_addr);
if (uri) belle_sip_parameters_clean(BELLE_SIP_PARAMETERS(uri));
if (uri) {
return ;
......@@ -289,6 +289,8 @@ LinphoneAddress *guess_contact_for_register(LinphoneProxyConfig *obj){
int localport = -1;
const char *localip = NULL;
LinphoneAddress *contact=linphone_address_new(obj->reg_identity);
if (obj->contact_params) {
// We want to add a list of contacts params to the linphone address
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment