[Freeswitch-svn] [commit] r8270 - in freeswitch/trunk/src/mod/endpoints: mod_alsa mod_dingaling mod_iax mod_portaudio mod_reference mod_sofia mod_wanpipe mod_woomera
Freeswitch SVN
anthm at freeswitch.org
Tue May 6 09:59:38 EDT 2008
Author: anthm
Date: Tue May 6 09:59:37 2008
New Revision: 8270
Modified:
freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c
freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c
freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
freeswitch/trunk/src/mod/endpoints/mod_reference/mod_reference.c
freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c
freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c
Log:
missed some name changes thanks coppice
Modified: freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_alsa/mod_alsa.c Tue May 6 09:59:37 2008
@@ -293,7 +293,7 @@
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;
Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c Tue May 6 09:59:37 2008
@@ -1165,7 +1165,7 @@
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);
}
Modified: freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c Tue May 6 09:59:37 2008
@@ -467,7 +467,7 @@
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++;
Modified: freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_portaudio/mod_portaudio.c Tue May 6 09:59:37 2008
@@ -283,7 +283,7 @@
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;
Modified: freeswitch/trunk/src/mod/endpoints/mod_reference/mod_reference.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_reference/mod_reference.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_reference/mod_reference.c Tue May 6 09:59:37 2008
@@ -139,7 +139,10 @@
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++;
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c Tue May 6 09:59:37 2008
@@ -103,7 +103,7 @@
}
}
- /* 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;
Modified: freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c Tue May 6 09:59:37 2008
@@ -613,7 +613,7 @@
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;
}
Modified: freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_woomera/mod_woomera.c Tue May 6 09:59:37 2008
@@ -1042,7 +1042,7 @@
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);
More information about the Freeswitch-svn
mailing list