Asterisk - The Open Source Telephony Project  21.4.1
Enumerations | Functions
bridge_channel_internal.h File Reference

Private Bridging Channel API. More...

Go to the source code of this file.

Enumerations

enum  bridge_channel_action_type {
  BRIDGE_CHANNEL_ACTION_DTMF_STREAM, BRIDGE_CHANNEL_ACTION_TALKING_START, BRIDGE_CHANNEL_ACTION_TALKING_STOP, BRIDGE_CHANNEL_ACTION_PLAY_FILE,
  BRIDGE_CHANNEL_ACTION_RUN_APP, BRIDGE_CHANNEL_ACTION_CALLBACK, BRIDGE_CHANNEL_ACTION_PARK, BRIDGE_CHANNEL_ACTION_BLIND_TRANSFER,
  BRIDGE_CHANNEL_ACTION_ATTENDED_TRANSFER, BRIDGE_CHANNEL_ACTION_DEFERRED_TECH_DESTROY = 1000, BRIDGE_CHANNEL_ACTION_DEFERRED_DISSOLVING
}
 

Functions

void bridge_channel_impart_signal (struct ast_channel *chan)
 
struct ast_bridge_channelbridge_channel_internal_alloc (struct ast_bridge *bridge)
 
int bridge_channel_internal_allows_optimization (struct ast_bridge_channel *bridge_channel)
 
int bridge_channel_internal_join (struct ast_bridge_channel *bridge_channel)
 
void bridge_channel_internal_pull (struct ast_bridge_channel *bridge_channel)
 
int bridge_channel_internal_push (struct ast_bridge_channel *bridge_channel)
 
int bridge_channel_internal_push_full (struct ast_bridge_channel *bridge_channel, int optimized)
 
int bridge_channel_internal_queue_attended_transfer (struct ast_channel *transferee, struct ast_channel *unbridged_chan)
 
int bridge_channel_internal_queue_blind_transfer (struct ast_channel *transferee, const char *exten, const char *context, transfer_channel_cb new_channel_cb, void *user_data)
 
void bridge_channel_internal_suspend_nolock (struct ast_bridge_channel *bridge_channel)
 
void bridge_channel_internal_unsuspend_nolock (struct ast_bridge_channel *bridge_channel)
 
void bridge_channel_queue_deferred_frames (struct ast_bridge_channel *bridge_channel)
 
void bridge_channel_settle_owed_events (struct ast_bridge *orig_bridge, struct ast_bridge_channel *bridge_channel)
 

Detailed Description

Private Bridging Channel API.

Author
Matt Jordan mjord.nosp@m.an@d.nosp@m.igium.nosp@m..com

A private API to manipulate channels in a bridge. These can be called on a channel in a bridge by bridge.c. These functions should not be called elsewhere, including by other members of the Bridging API.

See Also:

Definition in file bridge_channel_internal.h.

Enumeration Type Documentation

Enumerator
BRIDGE_CHANNEL_ACTION_DTMF_STREAM 

Bridged channel is to send a DTMF stream out

BRIDGE_CHANNEL_ACTION_TALKING_START 

Bridged channel is to indicate talking start

BRIDGE_CHANNEL_ACTION_TALKING_STOP 

Bridged channel is to indicate talking stop

BRIDGE_CHANNEL_ACTION_PLAY_FILE 

Bridge channel is to play the indicated sound file.

BRIDGE_CHANNEL_ACTION_RUN_APP 

Bridge channel is to run the indicated application.

BRIDGE_CHANNEL_ACTION_CALLBACK 

Bridge channel is to run the custom callback routine.

BRIDGE_CHANNEL_ACTION_PARK 

Bridge channel is to get parked.

BRIDGE_CHANNEL_ACTION_BLIND_TRANSFER 

Bridge channel is to execute a blind transfer.

BRIDGE_CHANNEL_ACTION_ATTENDED_TRANSFER 

Bridge channel is to execute an attended transfer

BRIDGE_CHANNEL_ACTION_DEFERRED_TECH_DESTROY 

Bridge reconfiguration deferred technology destruction.

BRIDGE_CHANNEL_ACTION_DEFERRED_DISSOLVING 

Bridge deferred dissolving.

Definition at line 41 of file bridge_channel_internal.h.

41  {
42  /*! Bridged channel is to send a DTMF stream out */
44  /*! Bridged channel is to indicate talking start */
46  /*! Bridged channel is to indicate talking stop */
48  /*! Bridge channel is to play the indicated sound file. */
50  /*! Bridge channel is to run the indicated application. */
52  /*! Bridge channel is to run the custom callback routine. */
54  /*! Bridge channel is to get parked. */
56  /*! Bridge channel is to execute a blind transfer. */
58  /*! Bridge channel is to execute an attended transfer */
60 
61  /*
62  * Bridge actions put after this comment must never be put onto
63  * the bridge_channel wr_queue because they have other resources
64  * that must be freed.
65  */
66 
67  /*! Bridge reconfiguration deferred technology destruction. */
69  /*! Bridge deferred dissolving. */
71 };