| 685 | } |
| 686 | |
| 687 | bool RoutingSession::EnableFollowMode() |
| 688 | { |
| 689 | CHECK_THREAD_CHECKER(m_threadChecker, ()); |
| 690 | LOG(LINFO, ("Routing enables a following mode. SessionState: ", m_state)); |
| 691 | if (m_state == SessionState::RouteNotStarted || m_state == SessionState::OnRoute) |
| 692 | { |
| 693 | SetState(SessionState::OnRoute); |
| 694 | m_isFollowing = true; |
| 695 | } |
| 696 | return m_isFollowing; |
| 697 | } |
| 698 | |
| 699 | void RoutingSession::SetRoutingSettings(RoutingSettings const & routingSettings) |
| 700 | { |
no outgoing calls