Commit 9e60a96b authored by Simon Morlat's avatar Simon Morlat
Browse files

add contact header in REFER requests

update ms2
parent 411b841b
......@@ -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);
......
mediastreamer2 @ ff71abf3
Subproject commit ff9b20e9fbccb0c3ca401544d2cdc39dd8ee629e
Subproject commit ff71abf33ae17a2f1221514f3fa7a7fec54c2168
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