]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
missed some name changes thanks coppice
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 6 May 2008 13:59:37 +0000 (13:59 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 6 May 2008 13:59:37 +0000 (13:59 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8270 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_alsa/mod_alsa.c
src/mod/endpoints/mod_dingaling/mod_dingaling.c
src/mod/endpoints/mod_iax/mod_iax.c
src/mod/endpoints/mod_portaudio/mod_portaudio.c
src/mod/endpoints/mod_reference/mod_reference.c
src/mod/endpoints/mod_sofia/mod_sofia.c
src/mod/endpoints/mod_wanpipe/mod_wanpipe.c
src/mod/endpoints/mod_woomera/mod_woomera.c

index e464367e2a40997fafcb267dac7a1eca8fba9044..f439c73ec3fafa95a7b6ba93909f056f89cd5f50 100644 (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;
index 301de3d76761ae37f0c9a7430d0bf85a0301c5bf..6d4d07cf7466df16f0f55db7c2aad723f8e150b7 100644 (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);
        }
 
index b5a1b318e723903053a3825b3c52e77cf40db0a1..32735c693992bdd171e7483ec714528b7756fa7f 100644 (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++;
index 756818d79b4dec77b669a5a215dae201f5ee2717..8f7aa424df9e077c8f3126adbc73c498e1d27870 100644 (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;
index 81713e3492019f4530b60b189758e6040e872ab0..66cf59b1af1fbf1373079a01fb0118ce0433eee9 100644 (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++;
index 63deae71ad049b05d5b93184fdf0b1f9999ad73d..00bb5d7c2de0a74f9458f225fee0de2bd87a6a2e 100644 (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;
index af716c4cc4daa2a1d26be1a25fc1ae73b1dc3f8d..17ae55cd8a2c71a3722d15907df744feb9ff4b2d 100644 (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;
 }
index 5fce2ba7d649fa8e8d1d5d97485a35de29bdd665..709a245663ef41139fc004ec2d47afd86cc73097 100644 (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);