diff --git a/coreapi/bellesip_sal/sal_op_call.c b/coreapi/bellesip_sal/sal_op_call.c index b9ee908ee..1a7b191a8 100644 --- a/coreapi/bellesip_sal/sal_op_call.c +++ b/coreapi/bellesip_sal/sal_op_call.c @@ -545,10 +545,10 @@ int sal_call(SalOp *op, const char *from, const char *to){ sal_op_call_fill_cbs(op); if (op->replaces){ belle_sip_message_add_header(BELLE_SIP_MESSAGE(invite),BELLE_SIP_HEADER(op->replaces)); - if (op->referred_by) - belle_sip_message_add_header(BELLE_SIP_MESSAGE(invite),BELLE_SIP_HEADER(op->referred_by)); } - + if (op->referred_by) + belle_sip_message_add_header(BELLE_SIP_MESSAGE(invite),BELLE_SIP_HEADER(op->referred_by)); + return sal_op_send_request(op,invite); } diff --git a/oRTP b/oRTP index 679d0d325..bfc4e00cd 160000 --- a/oRTP +++ b/oRTP @@ -1 +1 @@ -Subproject commit 679d0d325f22ab3670eeee19b3f09d494efe3056 +Subproject commit bfc4e00cd6b6dd3e6d834ba17c6d0048cc46c280