Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
A function table providing parking functionality to the Bridging API Bridging API and other consumers. More...
#include <parking.h>
Data Fields | |
struct ast_module * | module |
The module info for the module registering this parking provider. More... | |
const char * | module_name |
The name of the module that provides this parking functionality. More... | |
unsigned int | module_version |
The version of this function table. If the ABI for this table changes, the module version (/ref PARKING_MODULE_VERSION) should be incremented. More... | |
int(* | parking_blind_transfer_park )(struct ast_bridge_channel *parker, const char *context, const char *exten, transfer_channel_cb parked_channel_cb, struct transfer_channel_data *parked_channel_data) |
Perform a blind transfer to a parking extension. More... | |
int(* | parking_is_exten_park )(const char *context, const char *exten) |
Determine if the context/exten is a "parking" extension. More... | |
int(* | parking_park_bridge_channel )(struct ast_bridge_channel *parkee, const char *parkee_uuid, const char *parker_uuid, const char *app_data) |
Perform a direct park on a channel in a bridge. More... | |
int(* | parking_park_call )(struct ast_bridge_channel *parker, char *exten, size_t length) |
Park the bridge and/or callers that this channel is in. More... | |
A function table providing parking functionality to the Bridging API Bridging API and other consumers.
struct ast_module* module |
The module info for the module registering this parking provider.
Definition at line 202 of file parking.h.
Referenced by load_parking_bridge_features().
const char* module_name |
The name of the module that provides this parking functionality.
Definition at line 139 of file parking.h.
Referenced by unload_parking_bridge_features().
unsigned int module_version |
The version of this function table. If the ABI for this table changes, the module version (/ref PARKING_MODULE_VERSION) should be incremented.
Definition at line 134 of file parking.h.
Referenced by ast_parking_register_bridge_features().
int(* parking_blind_transfer_park) (struct ast_bridge_channel *parker, const char *context, const char *exten, transfer_channel_cb parked_channel_cb, struct transfer_channel_data *parked_channel_data) |
Perform a blind transfer to a parking extension.
parker | The bridge_channel object that is initiating the parking |
context | The context to blind transfer to |
exten | The extension to blind transfer to |
parked_channel_cb | Execute the following function on the channel that gets parked |
parked_channel_data | Data for the parked_channel_cb |
parker
is in has more than one other occupant, the entire bridge will be parked using a Local channel0 | on success |
non-zero | on error |
int(* parking_is_exten_park) (const char *context, const char *exten) |
int(* parking_park_bridge_channel) (struct ast_bridge_channel *parkee, const char *parkee_uuid, const char *parker_uuid, const char *app_data) |
Perform a direct park on a channel in a bridge.
parkee | The channel in the bridge to be parked. |
parkee_uuid | The UUID of the channel being packed. |
parker_uuid | The UUID of the channel performing the park. |
app_data | Data to pass to the Park application |
0 | on success |
non-zero | on error |
int(* parking_park_call) (struct ast_bridge_channel *parker, char *exten, size_t length) |
Park the bridge and/or callers that this channel is in.
parker | The bridge_channel parking the bridge |
exten | Optional. The extension the channel or bridge was parked at if the call succeeds. |
length | Optional. If exten is specified, the size of the buffer. |
0 | on success |
non-zero | on error |