diff --git a/coreapi/bellesip_sal/sal_address_impl.c b/coreapi/bellesip_sal/sal_address_impl.c index f73a06240..024b83264 100644 --- a/coreapi/bellesip_sal/sal_address_impl.c +++ b/coreapi/bellesip_sal/sal_address_impl.c @@ -31,9 +31,11 @@ SalAddress * sal_address_new(const char *uri){ if (result) belle_sip_object_ref(result); return (SalAddress *)result; } + SalAddress * sal_address_clone(const SalAddress *addr){ return (SalAddress *) belle_sip_object_ref(belle_sip_object_clone(BELLE_SIP_OBJECT(addr))); } + const char *sal_address_get_scheme(const 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); diff --git a/coreapi/bellesip_sal/sal_op_impl.c b/coreapi/bellesip_sal/sal_op_impl.c index e1b5d7a0b..d7b6c0c1d 100644 --- a/coreapi/bellesip_sal/sal_op_impl.c +++ b/coreapi/bellesip_sal/sal_op_impl.c @@ -564,8 +564,10 @@ void sal_op_assign_recv_headers(SalOp *op, belle_sip_message_t *incoming){ } const char *sal_op_get_remote_contact(const SalOp *op){ - // remote contact is filled in process_response -// return sal_custom_header_find(op->base.recv_custom_headers,"Contact"); + /* + * remote contact is filled in process_response + * return sal_custom_header_find(op->base.recv_custom_headers,"Contact"); + */ return op->base.remote_contact; } diff --git a/mediastreamer2 b/mediastreamer2 index 60a3af972..77b6e16c9 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 60a3af972a3e18b7616eaf6dd1f53acb2cb675a7 +Subproject commit 77b6e16c9ef07fdbb741d220c89e749ff746d654