Module: sems Branch: master Commit: 858813a91cba65bb2cf09c16acac5cfca16cec3a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=858813a91cba65bb2cf09c16acac5cfca16cec3a
Author: Juha Heinanen <[email protected]> Committer: Juha Heinanen <[email protected]> Date: Mon Dec 30 15:16:54 2013 +0200 core: make sure that session is started when 200 ok is received after 183 --- core/AmOfferAnswer.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/core/AmOfferAnswer.cpp b/core/AmOfferAnswer.cpp index f60b6e5..f638b28 100644 --- a/core/AmOfferAnswer.cpp +++ b/core/AmOfferAnswer.cpp @@ -178,6 +178,10 @@ int AmOfferAnswer::onReplyIn(const AmSipReply& reply) DBG("ignoring subsequent SDP reply within the same transaction\n"); DBG("this usually happens when 183 and 200 have SDP\n"); + + /* Make sure that session is started when 200 OK is received */ + if (reply.code == 200) dlg->onSdpCompleted(); + } else { saveState(); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
