Module: sems Branch: master Commit: 62a3dd6b82becbbc9d0992323c0d4b345963f1e2 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=62a3dd6b82becbbc9d0992323c0d4b345963f1e2
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Fri Mar 22 17:17:59 2013 +0100 ivr: fixed issues introduced with 6c634b3c1952c --- apps/ivr/Ivr.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ivr/Ivr.cpp b/apps/ivr/Ivr.cpp index 3c93fe6..1692ced 100644 --- a/apps/ivr/Ivr.cpp +++ b/apps/ivr/Ivr.cpp @@ -793,9 +793,9 @@ void IvrDialog::createCalleeSession() AmB2BCalleeSession* callee_session = new AmB2BCalleeSession(this); AmSipDialog* callee_dlg = callee_session->dlg; - other_id = AmSession::getNewId(); + setOtherId(AmSession::getNewId()); - callee_dlg->setLocalTag(other_id); + callee_dlg->setLocalTag(getOtherId()); callee_dlg->setCallid(AmSession::getNewId()); // this will be overwritten by ConnectLeg event @@ -818,5 +818,5 @@ void IvrDialog::createCalleeSession() callee_session->start(); AmSessionContainer* sess_cont = AmSessionContainer::instance(); - sess_cont->addSession(other_id,callee_session); + sess_cont->addSession(getOtherId(),callee_session); } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
