mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-18 02:01:53 +00:00
add ring ready flag to core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4221 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -330,6 +330,13 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_mark_pre_answered(switch_
|
||||
*/
|
||||
#define switch_channel_pre_answer(channel) switch_channel_perform_pre_answer(channel, __FILE__, __SWITCH_FUNC__, __LINE__)
|
||||
|
||||
/*!
|
||||
\brief Indicate a channel is ready to provide ringback
|
||||
\param channel channel
|
||||
\return SWITCH_STATUS_SUCCESS
|
||||
*/
|
||||
#define switch_channel_mark_ring_ready(channel) switch_channel_perform_mark_ring_ready(channel, __FILE__, __SWITCH_FUNC__, __LINE__)
|
||||
|
||||
/*!
|
||||
\brief add a state handler table to a given channel
|
||||
\param channel channel on which to add the state handler table
|
||||
|
||||
@@ -487,6 +487,7 @@ CF_SUSPEND = (1 << 14) - Suspend i/o
|
||||
CF_EVENT_PARSE = (1 << 15) - Suspend control events
|
||||
CF_NO_INDICATE = (1 << 16) - Disable Indications
|
||||
CF_REPEAT_STATE = (1 << 17) - Tell the state machine to repeat a state
|
||||
CF_RING_READY = (1 << 18) - Channel is ready to send ringback
|
||||
</pre>
|
||||
*/
|
||||
|
||||
@@ -508,7 +509,8 @@ typedef enum {
|
||||
CF_SUSPEND = (1 << 14),
|
||||
CF_EVENT_PARSE = (1 << 15),
|
||||
CF_NO_INDICATE = (1 << 16),
|
||||
CF_REPEAT_STATE = (1 << 17)
|
||||
CF_REPEAT_STATE = (1 << 17),
|
||||
CF_RING_READY = (1 << 18)
|
||||
} switch_channel_flag_t;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user