mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
fix a bunch of stuff you want this version
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2752 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -846,12 +846,14 @@ SWITCH_DECLARE(void) switch_channel_clear_state_handler(switch_channel_t *channe
|
||||
for (index = 0; index < SWITCH_MAX_STATE_HANDLERS; index++) {
|
||||
channel->state_handlers[index] = NULL;
|
||||
}
|
||||
|
||||
if (state_handler) {
|
||||
for (index = 0; index < i; index++) {
|
||||
channel->state_handlers[index] = new_handlers[i];
|
||||
}
|
||||
}
|
||||
|
||||
channel->state_handler_index = i;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void) switch_channel_set_caller_extension(switch_channel_t *channel,
|
||||
|
Reference in New Issue
Block a user