add contact header in REFER requests

update ms2
This commit is contained in:
Simon Morlat 2013-06-11 22:34:04 +02:00
parent 411b841bb0
commit 9e60a96b18
2 changed files with 3 additions and 2 deletions

View file

@ -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);

@ -1 +1 @@
Subproject commit ff9b20e9fbccb0c3ca401544d2cdc39dd8ee629e
Subproject commit ff71abf33ae17a2f1221514f3fa7a7fec54c2168