missed some name changes thanks coppice

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8270 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-05-06 13:59:37 +00:00
parent ea754f52bd
commit 9c1e14aa9c
8 changed files with 11 additions and 8 deletions

View File

@ -293,7 +293,7 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
switch_set_flag_locked(tech_pvt, TFLAG_IO);
/* Move Channel's State Machine to RING */
/* Move channel's state machine to ROUTING */
switch_channel_set_state(channel, CS_ROUTING);
return SWITCH_STATUS_SUCCESS;

View File

@ -1165,7 +1165,7 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
switch_set_flag(tech_pvt, TFLAG_READY);
if (negotiate_media(session) == SWITCH_STATUS_SUCCESS) {
/* Move Channel's State Machine to RING */
/* Move channel's state machine to ROUTING */
switch_channel_set_state(channel, CS_ROUTING);
}

View File

@ -467,7 +467,7 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
switch_set_flag_locked(tech_pvt, TFLAG_IO);
/* Move Channel's State Machine to RING */
/* Move channel's state machine to ROUTING */
switch_channel_set_state(switch_core_session_get_channel(session), CS_ROUTING);
switch_mutex_lock(globals.mutex);
globals.calls++;

View File

@ -283,7 +283,7 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
switch_set_flag_locked(tech_pvt, TFLAG_IO);
/* Move Channel's State Machine to RING */
/* Move channel's state machine to ROUTING */
switch_channel_set_state(channel, CS_ROUTING);
return SWITCH_STATUS_SUCCESS;

View File

@ -139,7 +139,10 @@ static switch_status_t channel_on_init(switch_core_session_t *session)
assert(channel != NULL);
switch_set_flag_locked(tech_pvt, TFLAG_IO);
/* Move Channel's State Machine to RING */
/* Move channel's state machine to ROUTING. This means the call is trying
to get from the initial start where the call because, to the point
where a destination has been identified. If the channel is simply
left in the initial state, nothing will happen. */
switch_channel_set_state(channel, CS_ROUTING);
switch_mutex_lock(globals.mutex);
globals.calls++;

View File

@ -103,7 +103,7 @@ static switch_status_t sofia_on_init(switch_core_session_t *session)
}
}
/* Move Channel's State Machine to RING */
/* Move channel's state machine to ROUTING */
switch_channel_set_state(channel, CS_ROUTING);
assert( switch_channel_get_state(channel) != CS_INIT);
return SWITCH_STATUS_SUCCESS;

View File

@ -613,7 +613,7 @@ static switch_status_t wanpipe_on_init(switch_core_session_t *session)
done:
/* Move Channel's State Machine to RING */
/* Move channel's state machine to ROUTING */
switch_channel_set_state(channel, CS_ROUTING);
return SWITCH_STATUS_SUCCESS;
}

View File

@ -1042,7 +1042,7 @@ static void *woomera_channel_thread_run(switch_thread_t * thread, void *obj)
ptr++;
port = (switch_port_t) atoi(ptr);
}
/* Move Channel's State Machine to RING */
/* Move channel's state machine to ROUTING */
switch_channel_answer(channel);
switch_channel_set_state(channel, CS_ROUTING);