mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
break everything
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@720 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -248,6 +248,12 @@ SWITCH_DECLARE(switch_channel_state) switch_channel_get_state(switch_channel *ch
|
||||
return channel->state;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(unsigned int) switch_channel_ready(switch_channel *channel)
|
||||
{
|
||||
assert(channel != NULL);
|
||||
return (channel->state > CS_RING && channel->state < CS_HANGUP) ? 1 : 0;
|
||||
}
|
||||
|
||||
static const char *state_names[] = {
|
||||
"CS_NEW",
|
||||
"CS_INIT",
|
||||
|
Reference in New Issue
Block a user