diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/channel.h | 3 | ||||
-rwxr-xr-x | include/asterisk/parking.h | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 09cd2a6cf..3ab0f647a 100755 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -186,6 +186,9 @@ struct ast_channel { /* A linked list for variables */ struct ast_var_t *vars; AST_LIST_HEAD(varshead,ast_var_t) varshead; + + unsigned int callgroup; + unsigned int pickupgroup; /*! For easy linking */ struct ast_channel *next; diff --git a/include/asterisk/parking.h b/include/asterisk/parking.h index 1434c5c3a..24bb6826f 100755 --- a/include/asterisk/parking.h +++ b/include/asterisk/parking.h @@ -1,7 +1,7 @@ /* * Asterisk -- A telephony toolkit for Linux. * - * Call Parking API + * Call Parking and Pickup API * * Copyright (C) 1999, Mark Spencer * @@ -42,10 +42,15 @@ extern int ast_masq_park_call(struct ast_channel *rchan, struct ast_channel *hos /*! Returns the call parking extension for drivers that provide special call parking help */ extern char *ast_parking_ext(void); +extern char *ast_pickup_ext(void); //! Bridge a call, optionally allowing redirection extern int ast_bridge_call(struct ast_channel *chan, struct ast_channel *peer, int allowredirect, int allowdisconnect); +extern unsigned int ast_get_group(char *s); + +extern int ast_pickup_call(struct ast_channel *chan); + #endif /* _PARKING_H */ |