From 9e60a96b18b385d9a92193abe372a6314765fda5 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 11 Jun 2013 22:34:04 +0200 Subject: [PATCH] add contact header in REFER requests update ms2 --- coreapi/bellesip_sal/sal_op_impl.c | 3 ++- mediastreamer2 | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/coreapi/bellesip_sal/sal_op_impl.c b/coreapi/bellesip_sal/sal_op_impl.c index 41572caa9..625cc6ef4 100644 --- a/coreapi/bellesip_sal/sal_op_impl.c +++ b/coreapi/bellesip_sal/sal_op_impl.c @@ -250,7 +250,8 @@ int sal_op_send_request(SalOp* op, belle_sip_request_t* request) { if (strcmp(belle_sip_request_get_method(request),"INVITE")==0 ||strcmp(belle_sip_request_get_method(request),"REGISTER")==0 ||strcmp(belle_sip_request_get_method(request),"SUBSCRIBE")==0 - ||strcmp(belle_sip_request_get_method(request),"OPTIONS")==0) + ||strcmp(belle_sip_request_get_method(request),"OPTIONS")==0 + ||strcmp(belle_sip_request_get_method(request),"REFER")==0) /* Despite contact seems not mandatory, call flow example show a Contact in REFER requests*/ need_contact=TRUE; return _sal_op_send_request_with_contact(op, request,need_contact); diff --git a/mediastreamer2 b/mediastreamer2 index ff9b20e9f..ff71abf33 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit ff9b20e9fbccb0c3ca401544d2cdc39dd8ee629e +Subproject commit ff71abf33ae17a2f1221514f3fa7a7fec54c2168