2 * Asterisk -- A telephony toolkit for Linux.
6 * Copyright (C) 1999, Mark Spencer
8 * Mark Spencer <markster@linux-support.net>
10 * This program is free software, distributed under the terms of
11 * the GNU General Public License.
13 * Includes code and algorithms from the Zapata library.
20 //! Park a call and read back parked location
21 /*! \param chan the channel to actually be parked
22 \param host the channel which will have the parked location read to
23 Park the channel chan, and read back the parked location to the
24 host. If the call is not picked up within a specified period of
25 time, then the call will return to the last step that it was in
26 (in terms of exten, priority and context)
28 extern int ast_park_call(struct ast_channel *chan, struct ast_channel *host);
29 //! Park a call via a masqueraded channel
30 /*! \param rchan the real channel to be parked
31 \param host the channel to have the parking read to
32 Masquerade the channel rchan into a new, empty channel which is then
33 parked with ast_park_call
35 extern int ast_masq_park_call(struct ast_channel *rchan, struct ast_channel *host);
37 //! Determine system parking extension
38 /*! Returns the call parking extension for drivers that provide special
40 extern char *ast_parking_ext(void);
42 //! Bridge a call, optionally allowing redirection
44 extern int ast_bridge_call(struct ast_channel *chan, struct ast_channel *peer, int allowredirect, int allowdisconnect);
47 #endif /* _PARKING_H */