Module: sems Branch: master Commit: 8fdc455d04728bc6f85670c86b1117f8db82114d URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=8fdc455d04728bc6f85670c86b1117f8db82114d
Author: Václav Kubart <[email protected]> Committer: Václav Kubart <[email protected]> Date: Fri Oct 18 15:27:17 2013 +0200 sbc q/f: update call status of B leg after sending out the INVITE ... to better correspond with AmSipDialog status (set after sending the INVITE out) Thanks to Andreas Granig (Sipwise) for reporting this. --- apps/sbc/CallLeg.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sbc/CallLeg.cpp b/apps/sbc/CallLeg.cpp index 12a8906..0ccfd93 100644 --- a/apps/sbc/CallLeg.cpp +++ b/apps/sbc/CallLeg.cpp @@ -462,8 +462,6 @@ void CallLeg::onB2BConnect(ConnectLegEvent* co_ev) // connected to the A leg yet when handling the in-dialog request. set_sip_relay_only(true); // we should relay everything to the other leg from now - updateCallStatus(NoReply); - AmMimeBody r_body(co_ev->body); const AmMimeBody* body = &co_ev->body; if (rtp_relay_mode != RTP_Direct) { @@ -491,6 +489,8 @@ void CallLeg::onB2BConnect(ConnectLegEvent* co_ev) return; } + updateCallStatus(NoReply); + if (co_ev->relayed_invite) { AmSipRequest fake_req; fake_req.method = SIP_METH_INVITE; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
