A great big renaming patch

This patch renames the bridging* files to bridge*. This may seem pedantic
and silly, but it fits better in line with current Asterisk naming conventions:
* channel is not "channeling"
* monitor is not "monitoring"
etc.

A bridge is an object. It is a first class citizen in Asterisk. "Bridging" is
the act of using a bridge on a set of channels - and the API that fulfills that
role is more than just the action.

(closes issue ASTERISK-22130)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
changes/78/78/1
Matthew Jordan 12 years ago
parent 9d8a5ceb02
commit cafc115896

@ -40,10 +40,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_internal.h" #include "asterisk/bridge_internal.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_basic.h"
#include "asterisk/bridging_after.h" #include "asterisk/bridge_after.h"
#include "asterisk/config_options.h" #include "asterisk/config_options.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
@ -1403,7 +1403,7 @@ static struct ast_bridge *bridge_agent_hold_new(void)
return bridge; return bridge;
} }
static void bridging_init_agent_hold(void) static void bridge_init_agent_hold(void)
{ {
/* Setup bridge agent_hold subclass v_table. */ /* Setup bridge agent_hold subclass v_table. */
bridge_agent_hold_v_table = ast_bridge_base_v_table; bridge_agent_hold_v_table = ast_bridge_base_v_table;
@ -2556,7 +2556,7 @@ static int load_module(void)
} }
/* Init agent holding bridge v_table. */ /* Init agent holding bridge v_table. */
bridging_init_agent_hold(); bridge_init_agent_hold();
/* Setup to provide Agent:agent-id device state. */ /* Setup to provide Agent:agent-id device state. */
res |= ast_devstate_prov_add("Agent", agent_pvt_devstate_get); res |= ast_devstate_prov_add("Agent", agent_pvt_devstate_get);

@ -45,7 +45,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h" #include "asterisk/lock.h"
#include "asterisk/utils.h" #include "asterisk/utils.h"
#include "asterisk/app.h" #include "asterisk/app.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/musiconhold.h" #include "asterisk/musiconhold.h"
/*** DOCUMENTATION /*** DOCUMENTATION

@ -32,7 +32,7 @@
* \addtogroup configuration_file Configuration Files * \addtogroup configuration_file Configuration Files
*/ */
/*! /*!
* \page confbridge.conf confbridge.conf * \page confbridge.conf confbridge.conf
* \verbinclude confbridge.conf.sample * \verbinclude confbridge.conf.sample
*/ */
@ -58,7 +58,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/lock.h" #include "asterisk/lock.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/musiconhold.h" #include "asterisk/musiconhold.h"
#include "asterisk/say.h" #include "asterisk/say.h"
#include "asterisk/audiohook.h" #include "asterisk/audiohook.h"
@ -68,7 +68,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/manager.h" #include "asterisk/manager.h"
#include "asterisk/test.h" #include "asterisk/test.h"
#include "asterisk/stasis.h" #include "asterisk/stasis.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridges.h"
#include "asterisk/json.h" #include "asterisk/json.h"
/*** DOCUMENTATION /*** DOCUMENTATION
@ -128,13 +128,13 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
</syntax> </syntax>
<description> <description>
<para>---- Example 1 ----</para> <para>---- Example 1 ----</para>
<para>In this example the custom set user profile on this channel will automatically be used by the ConfBridge app.</para> <para>In this example the custom set user profile on this channel will automatically be used by the ConfBridge app.</para>
<para>exten => 1,1,Answer() </para> <para>exten => 1,1,Answer() </para>
<para>exten => 1,n,Set(CONFBRIDGE(user,announce_join_leave)=yes)</para> <para>exten => 1,n,Set(CONFBRIDGE(user,announce_join_leave)=yes)</para>
<para>exten => 1,n,Set(CONFBRIDGE(user,startmuted)=yes)</para> <para>exten => 1,n,Set(CONFBRIDGE(user,startmuted)=yes)</para>
<para>exten => 1,n,ConfBridge(1) </para> <para>exten => 1,n,ConfBridge(1) </para>
<para>---- Example 2 ----</para> <para>---- Example 2 ----</para>
<para>This example shows how to use a predefined user or bridge profile in confbridge.conf as a template for a dynamic profile. Here we make a admin/marked user out of the default_user profile that is already defined in confbridge.conf.</para> <para>This example shows how to use a predefined user or bridge profile in confbridge.conf as a template for a dynamic profile. Here we make a admin/marked user out of the default_user profile that is already defined in confbridge.conf.</para>
<para>exten => 1,1,Answer() </para> <para>exten => 1,1,Answer() </para>
<para>exten => 1,n,Set(CONFBRIDGE(user,template)=default_user)</para> <para>exten => 1,n,Set(CONFBRIDGE(user,template)=default_user)</para>
<para>exten => 1,n,Set(CONFBRIDGE(user,admin)=yes)</para> <para>exten => 1,n,Set(CONFBRIDGE(user,admin)=yes)</para>
@ -155,7 +155,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
</parameter> </parameter>
</syntax> </syntax>
<description> <description>
<para>This function returns a non-negative integer for valid conference identifiers (0 or 1 for <literal>locked</literal>) and "" for invalid conference identifiers.</para> <para>This function returns a non-negative integer for valid conference identifiers (0 or 1 for <literal>locked</literal>) and "" for invalid conference identifiers.</para>
</description> </description>
</function> </function>
<manager name="ConfbridgeList" language="en_US"> <manager name="ConfbridgeList" language="en_US">
@ -2240,7 +2240,7 @@ static char *handle_cli_confbridge_list(struct ast_cli_entry *e, int cmd, struct
" Lists all currently active conference bridges or a specific conference bridge.\n" " Lists all currently active conference bridges or a specific conference bridge.\n"
"\n" "\n"
" When a conference bridge name is provided, flags may be shown for users. Below\n" " When a conference bridge name is provided, flags may be shown for users. Below\n"
" are the flags and what they represent.\n" " are the flags and what they represent.\n"
"\n" "\n"
" Flags:\n" " Flags:\n"
" A - The user is an admin\n" " A - The user is an admin\n"
@ -2710,7 +2710,7 @@ static int action_confbridgelistrooms(struct mansession *s, const struct message
conference->name, conference->name,
conference->activeusers + conference->waitingusers, conference->activeusers + conference->waitingusers,
conference->markedusers, conference->markedusers,
conference->locked ? "Yes" : "No"); conference->locked ? "Yes" : "No");
ao2_unlock(conference); ao2_unlock(conference);
ao2_ref(conference, -1); ao2_ref(conference, -1);
@ -3147,8 +3147,8 @@ static int unload_module(void)
* Module loading including tests for configuration or dependencies. * Module loading including tests for configuration or dependencies.
* This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE, * This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE,
* or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails * or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails
* tests return AST_MODULE_LOAD_FAILURE. If the module can not load the * tests return AST_MODULE_LOAD_FAILURE. If the module can not load the
* configuration file or other non-critical problem return * configuration file or other non-critical problem return
* AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS. * AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS.
*/ */
static int load_module(void) static int load_module(void)

@ -66,8 +66,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/framehook.h" #include "asterisk/framehook.h"
#include "asterisk/dial.h" #include "asterisk/dial.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/bridging.h" #include "asterisk/bridge_after.h"
#include "asterisk/bridging_after.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"
/*** DOCUMENTATION /*** DOCUMENTATION

@ -41,7 +41,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/app.h" #include "asterisk/app.h"
#include "asterisk/translate.h" #include "asterisk/translate.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
/*** DOCUMENTATION /*** DOCUMENTATION
<application name="DumpChan" language="en_US"> <application name="DumpChan" language="en_US">
@ -139,10 +139,10 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size)
S_OR(ast_channel_dialed(c)->number.str, "(N/A)"), S_OR(ast_channel_dialed(c)->number.str, "(N/A)"),
S_COR(ast_channel_redirecting(c)->from.number.valid, ast_channel_redirecting(c)->from.number.str, "(N/A)"), S_COR(ast_channel_redirecting(c)->from.number.valid, ast_channel_redirecting(c)->from.number.str, "(N/A)"),
ast_channel_parkinglot(c), ast_channel_parkinglot(c),
ast_channel_language(c), ast_channel_language(c),
ast_state2str(ast_channel_state(c)), ast_state2str(ast_channel_state(c)),
ast_channel_state(c), ast_channel_state(c),
ast_channel_rings(c), ast_channel_rings(c),
ast_getformatname_multiple(nf, sizeof(nf), ast_channel_nativeformats(c)), ast_getformatname_multiple(nf, sizeof(nf), ast_channel_nativeformats(c)),
ast_getformatname(ast_channel_writeformat(c)), ast_getformatname(ast_channel_writeformat(c)),
ast_getformatname(ast_channel_readformat(c)), ast_getformatname(ast_channel_readformat(c)),

@ -108,8 +108,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/dial.h" #include "asterisk/dial.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/stasis_message_router.h" #include "asterisk/stasis_message_router.h"
#include "asterisk/bridging.h" #include "asterisk/bridge_after.h"
#include "asterisk/bridging_after.h"
/* Define, to debug reference counts on queues, without debugging reference counts on queue members */ /* Define, to debug reference counts on queues, without debugging reference counts on queue members */
/* #define REF_DEBUG_ONLY_QUEUES */ /* #define REF_DEBUG_ONLY_QUEUES */

@ -32,7 +32,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$") ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/core_unreal.h" #include "asterisk/core_unreal.h"
#include "include/confbridge.h" #include "include/confbridge.h"

@ -32,7 +32,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$") ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "include/confbridge.h" #include "include/confbridge.h"
/* ------------------------------------------------------------------- */ /* ------------------------------------------------------------------- */

@ -36,7 +36,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "include/confbridge.h" #include "include/confbridge.h"
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/cli.h" #include "asterisk/cli.h"
#include "asterisk/bridging_features.h" #include "asterisk/bridge_features.h"
#include "asterisk/stringfields.h" #include "asterisk/stringfields.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"

@ -28,10 +28,10 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$") ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/stasis.h" #include "asterisk/stasis.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridges.h"
#include "asterisk/manager.h" #include "asterisk/manager.h"
#include "asterisk/stasis_message_router.h" #include "asterisk/stasis_message_router.h"
#include "include/confbridge.h" #include "include/confbridge.h"

@ -26,8 +26,8 @@
#include "asterisk/logger.h" #include "asterisk/logger.h"
#include "asterisk/linkedlists.h" #include "asterisk/linkedlists.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_features.h" #include "asterisk/bridge_features.h"
#include "conf_state.h" #include "conf_state.h"
/* Maximum length of a conference bridge name */ /* Maximum length of a conference bridge name */

@ -41,8 +41,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_technology.h" #include "asterisk/bridge_technology.h"
#include "asterisk/frame.h" #include "asterisk/frame.h"
#include "asterisk/file.h" #include "asterisk/file.h"
#include "asterisk/app.h" #include "asterisk/app.h"

@ -40,7 +40,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$REVISION: 381278 $")
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/file.h" #include "asterisk/file.h"
#include "asterisk/app.h" #include "asterisk/app.h"
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"

@ -44,8 +44,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_technology.h" #include "asterisk/bridge_technology.h"
#include "asterisk/frame.h" #include "asterisk/frame.h"
#include "asterisk/musiconhold.h" #include "asterisk/musiconhold.h"

@ -41,8 +41,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_technology.h" #include "asterisk/bridge_technology.h"
#include "asterisk/frame.h" #include "asterisk/frame.h"
#include "asterisk/rtp_engine.h" #include "asterisk/rtp_engine.h"

@ -41,8 +41,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_technology.h" #include "asterisk/bridge_technology.h"
#include "asterisk/frame.h" #include "asterisk/frame.h"
static int simple_bridge_join(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel) static int simple_bridge_join(struct ast_bridge *bridge, struct ast_bridge_channel *bridge_channel)

@ -45,8 +45,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_technology.h" #include "asterisk/bridge_technology.h"
#include "asterisk/frame.h" #include "asterisk/frame.h"
#include "asterisk/options.h" #include "asterisk/options.h"
#include "asterisk/logger.h" #include "asterisk/logger.h"

@ -37,7 +37,7 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$") ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/core_unreal.h" #include "asterisk/core_unreal.h"
#include "asterisk/module.h" #include "asterisk/module.h"

@ -124,7 +124,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/ccss.h" #include "asterisk/ccss.h"
#include "asterisk/data.h" #include "asterisk/data.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "chan_dahdi.h" #include "chan_dahdi.h"
#include "dahdi/bridge_native_dahdi.h" #include "dahdi/bridge_native_dahdi.h"
@ -506,7 +506,7 @@ static int mwilevel = 512;
static int dtmfcid_level = 256; static int dtmfcid_level = 256;
#define REPORT_CHANNEL_ALARMS 1 #define REPORT_CHANNEL_ALARMS 1
#define REPORT_SPAN_ALARMS 2 #define REPORT_SPAN_ALARMS 2
static int report_alarms = REPORT_CHANNEL_ALARMS; static int report_alarms = REPORT_CHANNEL_ALARMS;
#ifdef HAVE_PRI #ifdef HAVE_PRI
@ -1705,14 +1705,14 @@ static void my_ami_channel_event(void *pvt, struct ast_channel *chan)
#endif #endif
/* linear_mode = 0 - turn linear mode off, >0 - turn linear mode on /* linear_mode = 0 - turn linear mode off, >0 - turn linear mode on
* returns the last value of the linear setting * returns the last value of the linear setting
*/ */
static int my_set_linear_mode(void *pvt, enum analog_sub sub, int linear_mode) static int my_set_linear_mode(void *pvt, enum analog_sub sub, int linear_mode)
{ {
struct dahdi_pvt *p = pvt; struct dahdi_pvt *p = pvt;
int oldval; int oldval;
int idx = analogsub_to_dahdisub(sub); int idx = analogsub_to_dahdisub(sub);
dahdi_setlinear(p->subs[idx].dfd, linear_mode); dahdi_setlinear(p->subs[idx].dfd, linear_mode);
oldval = p->subs[idx].linear; oldval = p->subs[idx].linear;
p->subs[idx].linear = linear_mode ? 1 : 0; p->subs[idx].linear = linear_mode ? 1 : 0;
@ -4516,7 +4516,7 @@ static int drc_sample(int sample, float drc)
float neg; float neg;
float shallow, steep; float shallow, steep;
float max = SHRT_MAX; float max = SHRT_MAX;
neg = (sample < 0 ? -1 : 1); neg = (sample < 0 ? -1 : 1);
steep = drc*sample; steep = drc*sample;
shallow = neg*(max-max/drc)+(float)sample/drc; shallow = neg*(max-max/drc)+(float)sample/drc;
@ -4974,7 +4974,7 @@ static int dahdi_call(struct ast_channel *ast, const char *rdest, int timeout)
set_actual_gain(p->subs[SUB_REAL].dfd, 0, 0, p->rxdrc, p->txdrc, p->law); set_actual_gain(p->subs[SUB_REAL].dfd, 0, 0, p->rxdrc, p->txdrc, p->law);
} else { } else {
set_actual_gain(p->subs[SUB_REAL].dfd, p->rxgain, p->txgain, p->rxdrc, p->txdrc, p->law); set_actual_gain(p->subs[SUB_REAL].dfd, p->rxgain, p->txgain, p->rxdrc, p->txdrc, p->law);
} }
#ifdef HAVE_PRI #ifdef HAVE_PRI
if (dahdi_sig_pri_lib_handles(p->sig)) { if (dahdi_sig_pri_lib_handles(p->sig)) {
@ -8239,7 +8239,7 @@ static struct ast_frame *dahdi_read(struct ast_channel *ast)
/* if the call is already accepted and we already delivered AST_CONTROL_RINGING /* if the call is already accepted and we already delivered AST_CONTROL_RINGING
* now enqueue a progress frame to bridge the media up */ * now enqueue a progress frame to bridge the media up */
if (p->mfcr2_call_accepted && if (p->mfcr2_call_accepted &&
!p->mfcr2_progress_sent && !p->mfcr2_progress_sent &&
ast_channel_state(ast) == AST_STATE_RINGING) { ast_channel_state(ast) == AST_STATE_RINGING) {
ast_debug(1, "Enqueuing progress frame after R2 accept in chan %d\n", p->channel); ast_debug(1, "Enqueuing progress frame after R2 accept in chan %d\n", p->channel);
ast_queue_frame(p->owner, &fr); ast_queue_frame(p->owner, &fr);
@ -11060,7 +11060,7 @@ static void *do_monitor(void *data)
pfds[count].events = POLLPRI; pfds[count].events = POLLPRI;
pfds[count].revents = 0; pfds[count].revents = 0;
/* Message waiting or r2 channels also get watched for reading */ /* Message waiting or r2 channels also get watched for reading */
if (i->cidspill || i->mwisendactive || i->mwimonitor_fsk || if (i->cidspill || i->mwisendactive || i->mwimonitor_fsk ||
(i->cid_start == CID_START_DTMF_NOALERT && (i->sig == SIG_FXSLS || i->sig == SIG_FXSGS || i->sig == SIG_FXSKS))) { (i->cid_start == CID_START_DTMF_NOALERT && (i->sig == SIG_FXSLS || i->sig == SIG_FXSGS || i->sig == SIG_FXSKS))) {
pfds[count].events |= POLLIN; pfds[count].events |= POLLIN;
} }
@ -11213,7 +11213,7 @@ static void *do_monitor(void *data)
int energy; int energy;
struct timeval now; struct timeval now;
/* State machine dtmfcid_holdoff_state allows for the line to settle /* State machine dtmfcid_holdoff_state allows for the line to settle
* before checking agin for dtmf energy. Presently waits for 500 mS before checking again * before checking agin for dtmf energy. Presently waits for 500 mS before checking again
*/ */
if (1 == i->dtmfcid_holdoff_state) { if (1 == i->dtmfcid_holdoff_state) {
gettimeofday(&i->dtmfcid_delay, NULL); gettimeofday(&i->dtmfcid_delay, NULL);
@ -11231,7 +11231,7 @@ static void *do_monitor(void *data)
ast_mutex_unlock(&iflock); ast_mutex_unlock(&iflock);
if (dahdi_analog_lib_handles(i->sig, i->radio, i->oprmode)) { if (dahdi_analog_lib_handles(i->sig, i->radio, i->oprmode)) {
/* just in case this event changes or somehow destroys a channel, set doomed here too */ /* just in case this event changes or somehow destroys a channel, set doomed here too */
doomed = analog_handle_init_event(i->sig_pvt, ANALOG_EVENT_DTMFCID); doomed = analog_handle_init_event(i->sig_pvt, ANALOG_EVENT_DTMFCID);
i->dtmfcid_holdoff_state = 1; i->dtmfcid_holdoff_state = 1;
} else { } else {
struct ast_callid *callid = NULL; struct ast_callid *callid = NULL;
@ -11492,9 +11492,9 @@ static struct dahdi_mfcr2 *dahdi_r2_get_link(const struct dahdi_chan_conf *conf)
struct dahdi_mfcr2 *new_r2link = NULL; struct dahdi_mfcr2 *new_r2link = NULL;
struct dahdi_mfcr2 **new_r2links = NULL; struct dahdi_mfcr2 **new_r2links = NULL;
/* Only create a new R2 link if /* Only create a new R2 link if
1. This is the first link requested 1. This is the first link requested
2. Configuration changed 2. Configuration changed
3. We got more channels than supported per link */ 3. We got more channels than supported per link */
if (!r2links_count || if (!r2links_count ||
memcmp(&conf->mfcr2, &r2links[r2links_count - 1]->conf, sizeof(conf->mfcr2)) || memcmp(&conf->mfcr2, &r2links[r2links_count - 1]->conf, sizeof(conf->mfcr2)) ||
@ -16563,13 +16563,13 @@ static void parse_busy_pattern(struct ast_variable *v, struct ast_dsp_busy_patte
for (; ;) { for (; ;) {
/* Scans the string for the next value in the pattern. If none, it checks to see if any have been entered so far. */ /* Scans the string for the next value in the pattern. If none, it checks to see if any have been entered so far. */
if(!sscanf(v->value, "%30d", &norval) && count_pattern == 0) { if(!sscanf(v->value, "%30d", &norval) && count_pattern == 0) {
ast_log(LOG_ERROR, "busypattern= expects either busypattern=tonelength,quietlength or busypattern=t1length, q1length, t2length, q2length at line %d.\n", v->lineno); ast_log(LOG_ERROR, "busypattern= expects either busypattern=tonelength,quietlength or busypattern=t1length, q1length, t2length, q2length at line %d.\n", v->lineno);
break; break;
} }
busy_cadence->pattern[count_pattern] = norval; busy_cadence->pattern[count_pattern] = norval;
count_pattern++; count_pattern++;
if (count_pattern == 4) { if (count_pattern == 4) {
break; break;
@ -16583,11 +16583,11 @@ static void parse_busy_pattern(struct ast_variable *v, struct ast_dsp_busy_patte
} }
busy_cadence->length = count_pattern; busy_cadence->length = count_pattern;
if (count_pattern % 2 != 0) { if (count_pattern % 2 != 0) {
/* The pattern length must be divisible by two */ /* The pattern length must be divisible by two */
ast_log(LOG_ERROR, "busypattern= expects either busypattern=tonelength,quietlength or busypattern=t1length, q1length, t2length, q2length at line %d.\n", v->lineno); ast_log(LOG_ERROR, "busypattern= expects either busypattern=tonelength,quietlength or busypattern=t1length, q1length, t2length, q2length at line %d.\n", v->lineno);
} }
} }
static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct ast_variable *v, int reload, int options) static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct ast_variable *v, int reload, int options)
@ -17245,7 +17245,7 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
#if defined(HAVE_PRI_SERVICE_MESSAGES) #if defined(HAVE_PRI_SERVICE_MESSAGES)
} else if (!strcasecmp(v->name, "service_message_support")) { } else if (!strcasecmp(v->name, "service_message_support")) {
/* assuming switchtype for this channel group has been configured already */ /* assuming switchtype for this channel group has been configured already */
if ((confp->pri.pri.switchtype == PRI_SWITCH_ATT4ESS if ((confp->pri.pri.switchtype == PRI_SWITCH_ATT4ESS
|| confp->pri.pri.switchtype == PRI_SWITCH_LUCENT5E || confp->pri.pri.switchtype == PRI_SWITCH_LUCENT5E
|| confp->pri.pri.switchtype == PRI_SWITCH_NI2) && ast_true(v->value)) { || confp->pri.pri.switchtype == PRI_SWITCH_NI2) && ast_true(v->value)) {
confp->pri.pri.enable_service_message_support = 1; confp->pri.pri.enable_service_message_support = 1;
@ -17756,7 +17756,7 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
for (tmp = iflist, y=-1; tmp; tmp = tmp->next) { for (tmp = iflist, y=-1; tmp; tmp = tmp->next) {
if (!tmp->destroy && tmp->span != y) { if (!tmp->destroy && tmp->span != y) {
tmp->manages_span_alarms = 1; tmp->manages_span_alarms = 1;
y = tmp->span; y = tmp->span;
} else { } else {
tmp->manages_span_alarms = 0; tmp->manages_span_alarms = 0;
} }
@ -18291,8 +18291,8 @@ static const struct ast_data_entry dahdi_data_providers[] = {
* Module loading including tests for configuration or dependencies. * Module loading including tests for configuration or dependencies.
* This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE, * This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE,
* or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails * or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails
* tests return AST_MODULE_LOAD_FAILURE. If the module can not load the * tests return AST_MODULE_LOAD_FAILURE. If the module can not load the
* configuration file or other non-critical problem return * configuration file or other non-critical problem return
* AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS. * AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS.
*/ */
static int load_module(void) static int load_module(void)

File diff suppressed because it is too large Load Diff

@ -82,7 +82,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/chanvars.h" #include "asterisk/chanvars.h"
#include "asterisk/pktccops.h" #include "asterisk/pktccops.h"
#include "asterisk/stasis.h" #include "asterisk/stasis.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"
/* /*
@ -1143,7 +1143,7 @@ static char *handle_mgcp_set_debug(struct ast_cli_entry *e, int cmd, struct ast_
e->command = "mgcp set debug {on|off}"; e->command = "mgcp set debug {on|off}";
e->usage = e->usage =
"Usage: mgcp set debug {on|off}\n" "Usage: mgcp set debug {on|off}\n"
" Enables/Disables dumping of MGCP packets for debugging purposes\n"; " Enables/Disables dumping of MGCP packets for debugging purposes\n";
return NULL; return NULL;
case CLI_GENERATE: case CLI_GENERATE:
return NULL; return NULL;
@ -1451,7 +1451,7 @@ static int mgcp_indicate(struct ast_channel *ast, int ind, const void *data, siz
ast_mutex_lock(&sub->lock); ast_mutex_lock(&sub->lock);
switch(ind) { switch(ind) {
case AST_CONTROL_RINGING: case AST_CONTROL_RINGING:
#ifdef DLINK_BUGGY_FIRMWARE #ifdef DLINK_BUGGY_FIRMWARE
transmit_notify_request(sub, "rt"); transmit_notify_request(sub, "rt");
#else #else
if (!sub->sdpsent) { /* will hide the inband progress!!! */ if (!sub->sdpsent) { /* will hide the inband progress!!! */
@ -4643,7 +4643,7 @@ static int reload_config(int reload)
struct hostent *hp; struct hostent *hp;
struct ast_format format; struct ast_format format;
struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 };
if (gethostname(ourhost, sizeof(ourhost)-1)) { if (gethostname(ourhost, sizeof(ourhost)-1)) {
ast_log(LOG_WARNING, "Unable to get hostname, MGCP disabled\n"); ast_log(LOG_WARNING, "Unable to get hostname, MGCP disabled\n");
return 0; return 0;
@ -4812,8 +4812,8 @@ static int reload_config(int reload)
* Module loading including tests for configuration or dependencies. * Module loading including tests for configuration or dependencies.
* This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE, * This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE,
* or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails * or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails
* tests return AST_MODULE_LOAD_FAILURE. If the module can not load the * tests return AST_MODULE_LOAD_FAILURE. If the module can not load the
* configuration file or other non-critical problem return * configuration file or other non-critical problem return
* AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS. * AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS.
*/ */
static int load_module(void) static int load_module(void)

@ -103,7 +103,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/format.h" #include "asterisk/format.h"
#include "asterisk/format_cap.h" #include "asterisk/format_cap.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "chan_misdn_config.h" #include "chan_misdn_config.h"
#include "isdn_lib.h" #include "isdn_lib.h"
@ -10192,7 +10192,7 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data)
struct ast_format_cap *cap = ast_format_cap_alloc_nolock(); struct ast_format_cap *cap = ast_format_cap_alloc_nolock();
struct ast_format tmpfmt; struct ast_format tmpfmt;
if (!(cap)) { if (!(cap)) {
return RESPONSE_ERR; return RESPONSE_ERR;
} }
ast_format_cap_add(cap, ast_format_set(&tmpfmt, AST_FORMAT_ALAW, 0)); ast_format_cap_add(cap, ast_format_set(&tmpfmt, AST_FORMAT_ALAW, 0));
chan = misdn_new(ch, AST_STATE_RESERVED, bc->dialed.number, bc->caller.number, cap, NULL, bc->port, bc->channel); chan = misdn_new(ch, AST_STATE_RESERVED, bc->dialed.number, bc->caller.number, cap, NULL, bc->port, bc->channel);
@ -11277,8 +11277,8 @@ static int unload_module(void)
* Module loading including tests for configuration or dependencies. * Module loading including tests for configuration or dependencies.
* This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE, * This function can return AST_MODULE_LOAD_FAILURE, AST_MODULE_LOAD_DECLINE,
* or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails * or AST_MODULE_LOAD_SUCCESS. If a dependency or environment variable fails
* tests return AST_MODULE_LOAD_FAILURE. If the module can not load the * tests return AST_MODULE_LOAD_FAILURE. If the module can not load the
* configuration file or other non-critical problem return * configuration file or other non-critical problem return
* AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS. * AST_MODULE_LOAD_DECLINE. On success return AST_MODULE_LOAD_SUCCESS.
*/ */
static int load_module(void) static int load_module(void)

@ -292,7 +292,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "sip/include/security_events.h" #include "sip/include/security_events.h"
#include "asterisk/sip_api.h" #include "asterisk/sip_api.h"
#include "asterisk/app.h" #include "asterisk/app.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/stasis.h" #include "asterisk/stasis.h"
#include "asterisk/stasis_endpoints.h" #include "asterisk/stasis_endpoints.h"
#include "asterisk/stasis_system.h" #include "asterisk/stasis_system.h"

@ -81,7 +81,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/indications.h" #include "asterisk/indications.h"
#include "asterisk/linkedlists.h" #include "asterisk/linkedlists.h"
#include "asterisk/stasis_endpoints.h" #include "asterisk/stasis_endpoints.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
/*** DOCUMENTATION /*** DOCUMENTATION
<manager name="SKINNYdevices" language="en_US"> <manager name="SKINNYdevices" language="en_US">
@ -2872,7 +2872,7 @@ static void _transmit_displayprinotifyvar(struct skinny_device *d, const char *t
SKINNY_DEBUG(DEBUG_PACKET, 3, "Transmitting DISPLAY_PRINOTIFY_MESSAGE_VARIABLE to %s, '%s', timeout=%d, priority=%d\n", SKINNY_DEBUG(DEBUG_PACKET, 3, "Transmitting DISPLAY_PRINOTIFY_MESSAGE_VARIABLE to %s, '%s', timeout=%d, priority=%d\n",
d->name, text, timeout, priority); d->name, text, timeout, priority);
} }
req->len = (packetlen & ~0x3) + 4; req->len = (packetlen & ~0x3) + 4;
transmit_response(d, req); transmit_response(d, req);
@ -6047,7 +6047,7 @@ static void dialandactivatesub(struct skinny_subchannel *sub, char exten[AST_MAX
{ {
struct skinny_line *l = sub->line; struct skinny_line *l = sub->line;
struct skinny_device *d = l->device; struct skinny_device *d = l->device;
if (sub->dialType == DIALTYPE_NORMAL) { if (sub->dialType == DIALTYPE_NORMAL) {
SKINNY_DEBUG(DEBUG_SUB, 3, "Sub %d - Dial %s and Activate\n", sub->callid, exten); SKINNY_DEBUG(DEBUG_SUB, 3, "Sub %d - Dial %s and Activate\n", sub->callid, exten);
ast_copy_string(sub->exten, exten, sizeof(sub->exten)); ast_copy_string(sub->exten, exten, sizeof(sub->exten));
@ -7803,7 +7803,7 @@ static void config_parse_variables(int type, void *item, struct ast_variable *vp
} else if (!strcasecmp(v->name, "disallow")) { } else if (!strcasecmp(v->name, "disallow")) {
ast_parse_allow_disallow(&default_prefs, default_cap, v->value, 0); ast_parse_allow_disallow(&default_prefs, default_cap, v->value, 0);
continue; continue;
} }
} }
if (!strcasecmp(v->name, "transfer")) { if (!strcasecmp(v->name, "transfer")) {
@ -8384,7 +8384,7 @@ static int config_load(void)
memset(&default_prefs, 0, sizeof(default_prefs)); memset(&default_prefs, 0, sizeof(default_prefs));
immed_dialchar = '\0'; immed_dialchar = '\0';
memset(&vmexten, '\0', sizeof(vmexten)); memset(&vmexten, '\0', sizeof(vmexten));
/* Copy the default jb config over global_jbconf */ /* Copy the default jb config over global_jbconf */
memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf)); memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf));

@ -4,7 +4,7 @@
* UNISTIM channel driver for asterisk * UNISTIM channel driver for asterisk
* *
* Copyright (C) 2005 - 2007, Cedric Hans * Copyright (C) 2005 - 2007, Cedric Hans
* *
* Cedric Hans <cedric.hans@mlkj.net> * Cedric Hans <cedric.hans@mlkj.net>
* *
* Asterisk 1.4 patch by Peter Be * Asterisk 1.4 patch by Peter Be
@ -77,7 +77,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/astdb.h" #include "asterisk/astdb.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#define DEFAULTCONTEXT "default" #define DEFAULTCONTEXT "default"
@ -215,7 +215,7 @@ static struct ast_jb_conf default_jbconf =
.target_extra = 40, .target_extra = 40,
}; };
static struct ast_jb_conf global_jbconf; static struct ast_jb_conf global_jbconf;
/* #define DUMP_PACKET 1 */ /* #define DUMP_PACKET 1 */
/* #define DEBUG_TIMER ast_verbose */ /* #define DEBUG_TIMER ast_verbose */
@ -568,7 +568,7 @@ static const unsigned char packet_send_jitter_buffer_conf[] =
0x00, 0x00, /* late packet resync 2 bytes */ 0x3e, 0x80 0x00, 0x00, /* late packet resync 2 bytes */ 0x3e, 0x80
}; };
/* Duration in ms div 2 (0x20 = 64ms, 0x08 = 16ms) /* Duration in ms div 2 (0x20 = 64ms, 0x08 = 16ms)
static unsigned char packet_send_StreamBasedToneCad[] = static unsigned char packet_send_StreamBasedToneCad[] =
{ 0x16, 0x0a, 0x1e, 0x00, duration on 0x0a, duration off 0x0d, duration on 0x0a, duration off 0x0d, duration on 0x0a, duration off 0x2b }; */ { 0x16, 0x0a, 0x1e, 0x00, duration on 0x0a, duration off 0x0d, duration on 0x0a, duration off 0x0d, duration on 0x0a, duration off 0x2b }; */
static const unsigned char packet_send_open_audio_stream_rx[] = static const unsigned char packet_send_open_audio_stream_rx[] =
@ -688,11 +688,11 @@ static int unistim_indicate(struct ast_channel *ast, int ind, const void *data,
size_t datalen); size_t datalen);
static int unistim_fixup(struct ast_channel *oldchan, struct ast_channel *newchan); static int unistim_fixup(struct ast_channel *oldchan, struct ast_channel *newchan);
static int unistim_senddigit_begin(struct ast_channel *ast, char digit); static int unistim_senddigit_begin(struct ast_channel *ast, char digit);
static int unistim_senddigit_end(struct ast_channel *ast, char digit, static int unistim_senddigit_end(struct ast_channel *ast, char digit,
unsigned int duration); unsigned int duration);
static int unistim_sendtext(struct ast_channel *ast, const char *text); static int unistim_sendtext(struct ast_channel *ast, const char *text);
static int write_entry_history(struct unistimsession *pte, FILE * f, char c, static int write_entry_history(struct unistimsession *pte, FILE * f, char c,
char *line1); char *line1);
static void change_callerid(struct unistimsession *pte, int type, char *callerid); static void change_callerid(struct unistimsession *pte, int type, char *callerid);
@ -766,7 +766,7 @@ static const char *ustmtext(const char *str, struct unistimsession *pte)
struct ustm_lang_entry le_search; struct ustm_lang_entry le_search;
struct unistim_languages *lang = NULL; struct unistim_languages *lang = NULL;
int size; int size;
if (pte->device) { if (pte->device) {
lang = &options_languages[find_language(pte->device->language)]; lang = &options_languages[find_language(pte->device->language)];
} }
@ -3042,7 +3042,7 @@ static void handle_call_outgoing(struct unistimsession *s)
} }
if (!(sub = unistim_alloc_sub(s->device, SUB_REAL))) { if (!(sub = unistim_alloc_sub(s->device, SUB_REAL))) {
ast_log(LOG_WARNING, "Unable to allocate subchannel!\n"); ast_log(LOG_WARNING, "Unable to allocate subchannel!\n");
return; return;
} }
sub->parent = s->device->sline[softkey]; sub->parent = s->device->sline[softkey];
s->device->ssub[softkey] = sub; s->device->ssub[softkey] = sub;
@ -3436,7 +3436,7 @@ static void key_dial_page(struct unistimsession *pte, char keycode)
pte->device->phone_number[i + 1] = 0; pte->device->phone_number[i + 1] = 0;
show_phone_number(pte); show_phone_number(pte);
if (ast_exists_extension(NULL, pte->device->context, pte->device->phone_number, 1, NULL) && if (ast_exists_extension(NULL, pte->device->context, pte->device->phone_number, 1, NULL) &&
!ast_matchmore_extension(NULL, pte->device->context, pte->device->phone_number, 1, NULL)) { !ast_matchmore_extension(NULL, pte->device->context, pte->device->phone_number, 1, NULL)) {
keycode = KEY_FUNC1; keycode = KEY_FUNC1;
} else { } else {
@ -4849,7 +4849,7 @@ static int unistim_hangup(struct ast_channel *ast)
send_text(TEXT_LINE2, TEXT_NORMAL, s, ustmtext("is on-line", s)); send_text(TEXT_LINE2, TEXT_NORMAL, s, ustmtext("is on-line", s));
send_text_status(s, ustmtext(" Transf Hangup", s)); send_text_status(s, ustmtext(" Transf Hangup", s));
send_favorite_short(sub->softkey, FAV_ICON_OFFHOOK_BLACK, s); send_favorite_short(sub->softkey, FAV_ICON_OFFHOOK_BLACK, s);
} }
} }
if (s->state == STATE_CALL && sub->subtype == SUB_REAL) { if (s->state == STATE_CALL && sub->subtype == SUB_REAL) {
@ -5136,7 +5136,7 @@ static void in_band_indication(struct ast_channel *ast, const struct ast_tone_zo
} }
} }
static int unistim_indicate(struct ast_channel *ast, int ind, const void *data, static int unistim_indicate(struct ast_channel *ast, int ind, const void *data,
size_t datalen) size_t datalen)
{ {
struct unistim_subchannel *sub; struct unistim_subchannel *sub;
@ -6020,7 +6020,7 @@ static char *unistim_do_debug(struct ast_cli_entry *e, int cmd, struct ast_cli_a
case CLI_INIT: case CLI_INIT:
e->command = "unistim set debug {on|off}"; e->command = "unistim set debug {on|off}";
e->usage = e->usage =
"Usage: unistim set debug\n" "Usage: unistim set debug\n"
" Display debug messages.\n"; " Display debug messages.\n";
return NULL; return NULL;
@ -6053,7 +6053,7 @@ static char *unistim_reload(struct ast_cli_entry *e, int cmd, struct ast_cli_arg
case CLI_INIT: case CLI_INIT:
e->command = "unistim reload"; e->command = "unistim reload";
e->usage = e->usage =
"Usage: unistim reload\n" "Usage: unistim reload\n"
" Reloads UNISTIM configuration from unistim.conf\n"; " Reloads UNISTIM configuration from unistim.conf\n";
return NULL; return NULL;
@ -6577,7 +6577,7 @@ static int reload_config(void)
ast_log(LOG_ERROR, "Config file %s is in an invalid format. Aborting.\n", config); ast_log(LOG_ERROR, "Config file %s is in an invalid format. Aborting.\n", config);
return -1; return -1;
} }
/* Copy the default jb config over global_jbconf */ /* Copy the default jb config over global_jbconf */
memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf)); memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf));

@ -42,8 +42,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/astobj.h" #include "asterisk/astobj.h"
#include "bridge_native_dahdi.h" #include "bridge_native_dahdi.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_technology.h" #include "asterisk/bridge_technology.h"
#include "asterisk/frame.h" #include "asterisk/frame.h"
/* ------------------------------------------------------------------- */ /* ------------------------------------------------------------------- */

@ -43,7 +43,7 @@
#include "asterisk/features.h" #include "asterisk/features.h"
#include "asterisk/causes.h" #include "asterisk/causes.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "sig_analog.h" #include "sig_analog.h"
@ -1830,7 +1830,7 @@ static void *__analog_ss_thread(void *data)
case ANALOG_SIG_SF_FEATDMF: case ANALOG_SIG_SF_FEATDMF:
res = analog_my_getsigstr(chan, dtmfbuf + 1, "#", 3000); res = analog_my_getsigstr(chan, dtmfbuf + 1, "#", 3000);
/* if international caca, do it again to get real ANO */ /* if international caca, do it again to get real ANO */
if ((p->sig == ANALOG_SIG_FEATDMF) && (dtmfbuf[1] != '0') if ((p->sig == ANALOG_SIG_FEATDMF) && (dtmfbuf[1] != '0')
&& (strlen(dtmfbuf) != 14)) { && (strlen(dtmfbuf) != 14)) {
if (analog_wink(p, idx)) { if (analog_wink(p, idx)) {
goto quit; goto quit;
@ -2351,7 +2351,7 @@ static void *__analog_ss_thread(void *data)
/* If set to use DTMF CID signalling, listen for DTMF */ /* If set to use DTMF CID signalling, listen for DTMF */
if (p->cid_signalling == CID_SIG_DTMF) { if (p->cid_signalling == CID_SIG_DTMF) {
int k = 0; int k = 0;
int oldlinearity; int oldlinearity;
int timeout_ms; int timeout_ms;
int ms; int ms;
struct timeval start = ast_tvnow(); struct timeval start = ast_tvnow();

@ -112,7 +112,7 @@
#include "asterisk/transcap.h" #include "asterisk/transcap.h"
#include "asterisk/features.h" #include "asterisk/features.h"
#include "asterisk/aoc.h" #include "asterisk/aoc.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "sig_pri.h" #include "sig_pri.h"
@ -4792,7 +4792,7 @@ static const char *sig_pri_moh_event_str(enum sig_pri_moh_event event)
* \since 10.0 * \since 10.0
* *
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -4836,7 +4836,7 @@ static enum sig_pri_moh_state sig_pri_moh_retrieve_call(struct sig_pri_chan *pvt
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -4900,7 +4900,7 @@ static enum sig_pri_moh_state sig_pri_moh_fsm_idle(struct ast_channel *chan, str
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -4940,7 +4940,7 @@ static enum sig_pri_moh_state sig_pri_moh_fsm_notify(struct ast_channel *chan, s
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -4977,7 +4977,7 @@ static enum sig_pri_moh_state sig_pri_moh_fsm_moh(struct ast_channel *chan, stru
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -5022,7 +5022,7 @@ static enum sig_pri_moh_state sig_pri_moh_fsm_hold_req(struct ast_channel *chan,
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -5063,7 +5063,7 @@ static enum sig_pri_moh_state sig_pri_moh_fsm_pend_unhold(struct ast_channel *ch
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -5105,7 +5105,7 @@ static enum sig_pri_moh_state sig_pri_moh_fsm_hold(struct ast_channel *chan, str
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -5147,7 +5147,7 @@ static enum sig_pri_moh_state sig_pri_moh_fsm_retrieve_req(struct ast_channel *c
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -5225,7 +5225,7 @@ static enum sig_pri_moh_state sig_pri_moh_fsm_pend_hold(struct ast_channel *chan
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -5265,7 +5265,7 @@ static enum sig_pri_moh_state sig_pri_moh_fsm_retrieve_fail(struct ast_channel *
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -5298,7 +5298,7 @@ static const sig_pri_moh_fsm_state sig_pri_moh_fsm[SIG_PRI_MOH_STATE_NUM] = {
* \param chan Channel to post event to (Usually pvt->owner) * \param chan Channel to post event to (Usually pvt->owner)
* \param pvt Channel private control structure. * \param pvt Channel private control structure.
* \param event MOH event to process. * \param event MOH event to process.
* *
* \note Assumes the pvt->pri->lock is already obtained. * \note Assumes the pvt->pri->lock is already obtained.
* \note Assumes the sig_pri_lock_private(pvt) is already obtained. * \note Assumes the sig_pri_lock_private(pvt) is already obtained.
* *
@ -9270,7 +9270,7 @@ int sig_pri_start_pri(struct sig_pri_span *pri)
* *
* \param p Channel private pointer. * \param p Channel private pointer.
* \param noalarm Non-zero if not in alarm mode. * \param noalarm Non-zero if not in alarm mode.
* *
* \note Assumes the sig_pri_lock_private(p) is already obtained. * \note Assumes the sig_pri_lock_private(p) is already obtained.
* *
* \return Nothing * \return Nothing

@ -37,15 +37,15 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/utils.h" #include "asterisk/utils.h"
#include "asterisk/app.h" #include "asterisk/app.h"
#include "asterisk/indications.h" #include "asterisk/indications.h"
#include "asterisk/stringfields.h" #include "asterisk/stringfields.h"
#include "asterisk/global_datastores.h" #include "asterisk/global_datastores.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_basic.h"
#include "asterisk/bridging_after.h" #include "asterisk/bridge_after.h"
/*** DOCUMENTATION /*** DOCUMENTATION
<function name="CHANNELS" language="en_US"> <function name="CHANNELS" language="en_US">

@ -69,9 +69,9 @@
extern "C" { extern "C" {
#endif #endif
#include "asterisk/bridging_features.h" #include "asterisk/bridge_features.h"
#include "asterisk/bridging_channel.h" #include "asterisk/bridge_channel.h"
#include "asterisk/bridging_roles.h" #include "asterisk/bridge_roles.h"
#include "asterisk/dsp.h" #include "asterisk/dsp.h"
#include "asterisk/uuid.h" #include "asterisk/uuid.h"

@ -53,7 +53,7 @@
extern "C" { extern "C" {
#endif #endif
#include "asterisk/bridging_technology.h" #include "asterisk/bridge_technology.h"
/*! \brief State information about a bridged channel */ /*! \brief State information about a bridged channel */
enum bridge_channel_state { enum bridge_channel_state {

@ -31,7 +31,7 @@
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/abstract_jb.h" #include "asterisk/abstract_jb.h"
#if defined(__cplusplus) || defined(c_plusplus) #if defined(__cplusplus) || defined(c_plusplus)

@ -53,7 +53,7 @@
-# \ref ArchConceptBridging -# \ref ArchConceptBridging
-# \ref ArchCodeFlows -# \ref ArchCodeFlows
-# \ref ArchCodeFlowPlayback -# \ref ArchCodeFlowPlayback
-# \ref ArchCodeFlowBridge -# \ref ArchCodeFlowBridge
-# \ref ArchDataStructures -# \ref ArchDataStructures
-# \ref ArchAstobj2 -# \ref ArchAstobj2
-# \ref ArchLinkedLists -# \ref ArchLinkedLists
@ -258,11 +258,14 @@ in the source tree.
For a list of bridge technology implementations, see \ref bridges. For a list of bridge technology implementations, see \ref bridges.
For additional information on the bridging API, see For additional information on the bridging API, see
<code>include/asterisk/bridging.h</code> and \arg <code>include/asterisk/bridge.h</code>
<code>include/asterisk/bridging_technology.h</code>. \arg <code>include/asterisk/bridge_technology.h</code>
\arg <code>include/asterisk/bridge_channel.h</code>
\arg <code>include/asterisk/bridge_features.h</code>
\arg <code>include/asterisk/bridge_after.h</code>
For additional implementation details regarding the core bridging API, see For additional implementation details regarding the core bridging API, see
<code>main/bridging.c</code>. <code>main/bridging.c</code> and <code>main/bridging_channel.c</code>.
\subsection ArchInterfaceCDR Call Detail Record (CDR) Handlers \subsection ArchInterfaceCDR Call Detail Record (CDR) Handlers
@ -436,7 +439,7 @@ Asterisk CLI operates using connections to a UNIX %domain socket.
There are other miscellaneous threads throughout the system that perform a specific task. There are other miscellaneous threads throughout the system that perform a specific task.
For example, the event API (include/asterisk/event.h) uses a thread internally For example, the event API (include/asterisk/event.h) uses a thread internally
(main/event.c) to handle asychronous event dispatching. The devicestate API (main/event.c) to handle asychronous event dispatching. The devicestate API
(include/asterisk/devicestate.h) uses a thread internally (main/devicestate.c) (include/asterisk/devicestate.h) uses a thread internally (main/devicestate.c)
to asynchronously process device state changes. to asynchronously process device state changes.

@ -26,7 +26,7 @@
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/linkedlists.h" #include "asterisk/linkedlists.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#define FEATURE_MAX_LEN 11 #define FEATURE_MAX_LEN 11
#define FEATURE_APP_LEN 64 #define FEATURE_APP_LEN 64

@ -28,7 +28,7 @@ extern "C" {
#include "asterisk/lock.h" #include "asterisk/lock.h"
#include "asterisk/linkedlists.h" #include "asterisk/linkedlists.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
/*! /*!

@ -37,14 +37,14 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/utils.h" #include "asterisk/utils.h"
#include "asterisk/lock.h" #include "asterisk/lock.h"
#include "asterisk/linkedlists.h" #include "asterisk/linkedlists.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_internal.h" #include "asterisk/bridge_internal.h"
#include "asterisk/bridging_channel_internal.h" #include "asterisk/bridge_channel_internal.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_basic.h"
#include "asterisk/bridging_technology.h" #include "asterisk/bridge_technology.h"
#include "asterisk/bridging_channel.h" #include "asterisk/bridge_channel.h"
#include "asterisk/bridging_after.h" #include "asterisk/bridge_after.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridges.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/app.h" #include "asterisk/app.h"
#include "asterisk/file.h" #include "asterisk/file.h"

@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/logger.h" #include "asterisk/logger.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/bridging_after.h" #include "asterisk/bridge_after.h"
struct after_bridge_cb_node { struct after_bridge_cb_node {
/*! Next list node. */ /*! Next list node. */

@ -34,17 +34,17 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/utils.h" #include "asterisk/utils.h"
#include "asterisk/linkedlists.h" #include "asterisk/linkedlists.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_internal.h"
#include "asterisk/bridging_after.h" #include "asterisk/bridge_basic.h"
#include "asterisk/bridge_after.h"
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/file.h" #include "asterisk/file.h"
#include "asterisk/app.h" #include "asterisk/app.h"
#include "asterisk/bridging_internal.h"
#include "asterisk/dial.h" #include "asterisk/dial.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridges.h"
#define NORMAL_FLAGS (AST_BRIDGE_FLAG_DISSOLVE_HANGUP | AST_BRIDGE_FLAG_DISSOLVE_EMPTY \ #define NORMAL_FLAGS (AST_BRIDGE_FLAG_DISSOLVE_HANGUP | AST_BRIDGE_FLAG_DISSOLVE_EMPTY \
| AST_BRIDGE_FLAG_SMART) | AST_BRIDGE_FLAG_SMART)

@ -43,12 +43,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/timing.h" #include "asterisk/timing.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_channel.h" #include "asterisk/bridge_channel.h"
#include "asterisk/bridging_after.h" #include "asterisk/bridge_after.h"
#include "asterisk/bridging_channel_internal.h" #include "asterisk/bridge_channel_internal.h"
#include "asterisk/bridging_internal.h" #include "asterisk/bridge_internal.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridges.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/musiconhold.h" #include "asterisk/musiconhold.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"

@ -39,8 +39,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/datastore.h" #include "asterisk/datastore.h"
#include "asterisk/linkedlists.h" #include "asterisk/linkedlists.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_roles.h" #include "asterisk/bridge_roles.h"
#include "asterisk/stringfields.h" #include "asterisk/stringfields.h"
struct bridge_role_option { struct bridge_role_option {

@ -58,8 +58,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/stasis_message_router.h" #include "asterisk/stasis_message_router.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridges.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/parking.h" #include "asterisk/parking.h"
#include "asterisk/features.h" #include "asterisk/features.h"
#include "asterisk/core_local.h" #include "asterisk/core_local.h"

@ -72,7 +72,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/data.h" #include "asterisk/data.h"
#include "asterisk/channel_internal.h" #include "asterisk/channel_internal.h"
#include "asterisk/features.h" #include "asterisk/features.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/test.h" #include "asterisk/test.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"

@ -60,7 +60,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/lock.h" #include "asterisk/lock.h"
#include "asterisk/threadstorage.h" #include "asterisk/threadstorage.h"
#include "asterisk/translate.h" #include "asterisk/translate.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridging.h"

@ -43,7 +43,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/manager.h" #include "asterisk/manager.h"
#include "asterisk/devicestate.h" #include "asterisk/devicestate.h"
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/core_unreal.h" #include "asterisk/core_unreal.h"
#include "asterisk/core_local.h" #include "asterisk/core_local.h"
#include "asterisk/stasis.h" #include "asterisk/stasis.h"

@ -39,7 +39,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/musiconhold.h" #include "asterisk/musiconhold.h"
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/core_unreal.h" #include "asterisk/core_unreal.h"
static unsigned int name_sequence = 0; static unsigned int name_sequence = 0;

@ -71,9 +71,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/global_datastores.h" #include "asterisk/global_datastores.h"
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/test.h" #include "asterisk/test.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_basic.h"
#include "asterisk/bridging_after.h" #include "asterisk/bridge_after.h"
#include "asterisk/stasis.h" #include "asterisk/stasis.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"

@ -97,7 +97,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridging.h"
#include "asterisk/test.h" #include "asterisk/test.h"
#include "asterisk/json.h" #include "asterisk/json.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/features_config.h" #include "asterisk/features_config.h"
#include "asterisk/rtp_engine.h" #include "asterisk/rtp_engine.h"

@ -30,7 +30,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/_private.h" #include "asterisk/_private.h"
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/parking.h" #include "asterisk/parking.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/_private.h" #include "asterisk/_private.h"

@ -36,8 +36,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridging.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_technology.h" #include "asterisk/bridge_technology.h"
#define SNAPSHOT_CHANNELS_BUCKETS 13 #define SNAPSHOT_CHANNELS_BUCKETS 13

@ -35,7 +35,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/json.h" #include "asterisk/json.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/translate.h" #include "asterisk/translate.h"
#include "asterisk/stasis.h" #include "asterisk/stasis.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"

@ -38,7 +38,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/app.h" #include "asterisk/app.h"
#include "asterisk/say.h" #include "asterisk/say.h"
#include "asterisk/features.h" #include "asterisk/features.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_basic.h"
/*** DOCUMENTATION /*** DOCUMENTATION
<application name="Park" language="en_US"> <application name="Park" language="en_US">

@ -30,7 +30,7 @@
#include "asterisk/say.h" #include "asterisk/say.h"
#include "asterisk/term.h" #include "asterisk/term.h"
#include "asterisk/features.h" #include "asterisk/features.h"
#include "asterisk/bridging_internal.h" #include "asterisk/bridge_internal.h"
struct ast_bridge_parking struct ast_bridge_parking
{ {

@ -32,10 +32,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/logger.h" #include "asterisk/logger.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_internal.h" #include "asterisk/bridge_internal.h"
#include "asterisk/bridging_channel.h" #include "asterisk/bridge_channel.h"
#include "asterisk/bridging_features.h" #include "asterisk/bridge_features.h"
#include "asterisk/features.h" #include "asterisk/features.h"
#include "asterisk/say.h" #include "asterisk/say.h"
#include "asterisk/datastore.h" #include "asterisk/datastore.h"

@ -31,7 +31,7 @@
#include "asterisk/manager.h" #include "asterisk/manager.h"
#include "asterisk/test.h" #include "asterisk/test.h"
#include "asterisk/features.h" #include "asterisk/features.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_basic.h"
struct ast_bridge *parking_lot_get_bridge(struct parking_lot *lot) struct ast_bridge *parking_lot_get_bridge(struct parking_lot *lot)
{ {

@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/astobj2.h" #include "asterisk/astobj2.h"
#include "asterisk/features.h" #include "asterisk/features.h"
#include "asterisk/manager.h" #include "asterisk/manager.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
/*** DOCUMENTATION /*** DOCUMENTATION
<manager name="Parkinglots" language="en_US"> <manager name="Parkinglots" language="en_US">

@ -24,7 +24,7 @@
*/ */
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/parking.h" #include "asterisk/parking.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"

@ -34,7 +34,7 @@
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/taskprocessor.h" #include "asterisk/taskprocessor.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/framehook.h" #include "asterisk/framehook.h"
/*! \brief REFER Progress structure */ /*! \brief REFER Progress structure */

@ -34,7 +34,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/module.h" #include "asterisk/module.h"
#include "asterisk/stasis_app_impl.h" #include "asterisk/stasis_app_impl.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
static void *app_control_join_bridge(struct stasis_app_control *control, static void *app_control_join_bridge(struct stasis_app_control *control,
struct ast_channel *chan, void *data) struct ast_channel *chan, void *data)

@ -32,9 +32,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "command.h" #include "command.h"
#include "control.h" #include "control.h"
#include "asterisk/dial.h" #include "asterisk/dial.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_basic.h"
#include "asterisk/bridging_features.h" #include "asterisk/bridge_features.h"
#include "asterisk/frame.h" #include "asterisk/frame.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/musiconhold.h" #include "asterisk/musiconhold.h"

@ -40,7 +40,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/core_unreal.h" #include "asterisk/core_unreal.h"
#include "asterisk/channel.h" #include "asterisk/channel.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/format_cap.h" #include "asterisk/format_cap.h"
#include "asterisk/file.h" #include "asterisk/file.h"

@ -35,7 +35,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/file.h" #include "asterisk/file.h"
#include "asterisk/pbx.h" #include "asterisk/pbx.h"
#include "asterisk/dial.h" #include "asterisk/dial.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/callerid.h" #include "asterisk/callerid.h"
#include "asterisk/stasis_app.h" #include "asterisk/stasis_app.h"
#include "asterisk/stasis_app_playback.h" #include "asterisk/stasis_app_playback.h"

@ -42,8 +42,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/utils.h" #include "asterisk/utils.h"
#include "asterisk/causes.h" #include "asterisk/causes.h"
#include "asterisk/time.h" #include "asterisk/time.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_basic.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridging.h"

@ -43,8 +43,8 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/utils.h" #include "asterisk/utils.h"
#include "asterisk/causes.h" #include "asterisk/causes.h"
#include "asterisk/time.h" #include "asterisk/time.h"
#include "asterisk/bridging.h" #include "asterisk/bridge.h"
#include "asterisk/bridging_basic.h" #include "asterisk/bridge_basic.h"
#include "asterisk/stasis_channels.h" #include "asterisk/stasis_channels.h"
#include "asterisk/stasis_bridging.h" #include "asterisk/stasis_bridging.h"
#include "asterisk/json.h" #include "asterisk/json.h"

Loading…
Cancel
Save