A function table providing parking functionality to the Bridging API Bridging API and other consumers.  
 More...
#include <parking.h>
|  | 
| const char * | module_name | 
|  | The name of the module that provides this parking functionality. 
 | 
|  | 
| 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. 
 | 
|  | 
| 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. 
 | 
|  | 
| int(* | parking_is_exten_park )(const char *context, const char *exten) | 
|  | Determine if the context/exten is a "parking" extension. 
 | 
|  | 
| 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. 
 | 
|  | 
| 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. 
 | 
|  | 
A function table providing parking functionality to the Bridging API Bridging API and other consumers. 
Definition at line 127 of file parking.h.
◆ module_name
◆ module_version
      
        
          | unsigned int module_version | 
      
 
 
◆ parking_blind_transfer_park
Perform a blind transfer to a parking extension. 
- Parameters
- 
  
    | parker | The bridge_channelobject 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 |  
 
- Note
- If the bridge parkeris in has more than one other occupant, the entire bridge will be parked using a Local channel
- 
This is safe to be called outside of the Bridging API Bridging API.
- Return values
- 
  
    | 0 | on success |  | non-zero | on error |  
 
Definition at line 181 of file parking.h.
 
 
◆ parking_is_exten_park
      
        
          | int(* parking_is_exten_park) (const char *context, const char *exten) | 
      
 
Determine if the context/exten is a "parking" extension. 
- Return values
- 
  
    | 0 | if the extension is not a parking extension |  | 1 | if the extension is a parking extension |  
 
Definition at line 147 of file parking.h.
 
 
◆ parking_park_bridge_channel
      
        
          | 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. 
- Parameters
- 
  
    | 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 |  
 
- Note
- This must be called within the context of the Bridging API Bridging API. External entities should not call this method directly, but should instead use the direct call parking method or the blind transfer method.
- Return values
- 
  
    | 0 | on success |  | non-zero | on error |  
 
Definition at line 199 of file parking.h.
 
 
◆ parking_park_call
Park the bridge and/or callers that this channel is in. 
- Parameters
- 
  
    | parker | The bridge_channelparking the bridge |  | exten | Optional. The extension the channel or bridge was parked at if the call succeeds. |  | length | Optional. If extenis specified, the size of the buffer. |  
 
- Note
- This is safe to be called outside of the Bridging API Bridging API.
- Return values
- 
  
    | 0 | on success |  | non-zero | on error |  
 
Definition at line 162 of file parking.h.
 
 
The documentation for this struct was generated from the following file: