mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
signalling refactoring for media etc
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3192 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -281,6 +281,17 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_answer(switch_channel_t *
|
||||
#define switch_channel_answer(channel) switch_channel_perform_answer(channel, __FILE__, __FUNCTION__, __LINE__)
|
||||
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_channel_perform_ringback(switch_channel_t *channel,
|
||||
const char *file,
|
||||
const char *func,
|
||||
int line);
|
||||
/*!
|
||||
\brief Send Ringing message to a channel
|
||||
\param channel channel to ring
|
||||
\return SWITCH_STATUS_SUCCESS if successful
|
||||
*/
|
||||
#define switch_channel_ringback(channel) switch_channel_perform_ringback(channel, __FILE__, __FUNCTION__, __LINE__)
|
||||
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_channel_perform_pre_answer(switch_channel_t *channel,
|
||||
const char *file,
|
||||
|
||||
@@ -720,6 +720,7 @@ typedef enum {
|
||||
SWITCH_CAUSE_MANDATORY_IE_LENGTH_ERROR = 103,
|
||||
SWITCH_CAUSE_PROTOCOL_ERROR = 111,
|
||||
SWITCH_CAUSE_INTERWORKING = 127,
|
||||
SWITCH_CAUSE_ORIGINATOR_CANCEL = 487,
|
||||
SWITCH_CAUSE_CRASH = 500,
|
||||
SWITCH_CAUSE_SYSTEM_SHUTDOWN = 501,
|
||||
SWITCH_CAUSE_LOSE_RACE = 502,
|
||||
|
||||
Reference in New Issue
Block a user