From 1d144769f8a88edfc9253ed058b066f62fae8abd Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 8 Aug 2013 13:05:05 +0200 Subject: [PATCH] update oRTP to fix errors with telephone-event and srtp. fix sal to get Referred-by header set in INVITEs consecutive to an incoming REFER request. --- coreapi/bellesip_sal/sal_op_call.c | 6 +++--- oRTP | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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