Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

parking.h File Reference

Go to the source code of this file.

Functions

int ast_park_call (struct ast_channel *chan, struct ast_channel *host, int timeout, int *extout)
 Park a call and read back parked location.

int ast_masq_park_call (struct ast_channel *rchan, struct ast_channel *host, int timeout, int *extout)
 Park a call via a masqueraded channel.

char * ast_parking_ext (void)
 Determine system parking extension.

char * ast_pickup_ext (void)
int ast_bridge_call (struct ast_channel *chan, struct ast_channel *peer, struct ast_bridge_config *config)
 Bridge a call, optionally allowing redirection.

int ast_pickup_call (struct ast_channel *chan)


Function Documentation

int ast_bridge_call struct ast_channel chan,
struct ast_channel peer,
struct ast_bridge_config config
 

Bridge a call, optionally allowing redirection.

int ast_masq_park_call struct ast_channel rchan,
struct ast_channel host,
int  timeout,
int *  extout
 

Park a call via a masqueraded channel.

Parameters:
rchan the real channel to be parked
host the channel to have the parking read to Masquerade the channel rchan into a new, empty channel which is then parked with ast_park_call
timeout is a timeout in milliseconds
extout is a parameter to an int that will hold the parked location, or NULL if you want

int ast_park_call struct ast_channel chan,
struct ast_channel host,
int  timeout,
int *  extout
 

Park a call and read back parked location.

Parameters:
chan the channel to actually be parked
host the channel which will have the parked location read to Park the channel chan, and read back the parked location to the host. If the call is not picked up within a specified period of time, then the call will return to the last step that it was in (in terms of exten, priority and context)
timeout is a timeout in milliseconds
extout is a parameter to an int that will hold the parked location, or NULL if you want

char* ast_parking_ext void   ) 
 

Determine system parking extension.

Returns the call parking extension for drivers that provide special call parking help

int ast_pickup_call struct ast_channel chan  ) 
 

char* ast_pickup_ext void   ) 
 


Generated on Sat Jun 12 16:41:42 2004 for Asterisk by doxygen 1.3.7