summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/parking.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asterisk/parking.h b/include/asterisk/parking.h
index 0ccbfaff8..1434c5c3a 100755
--- a/include/asterisk/parking.h
+++ b/include/asterisk/parking.h
@@ -24,15 +24,19 @@
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)
+ \param timeout is a timeout in milliseconds
+ \param extout is a parameter to an int that will hold the parked location, or NULL if you want
*/
-extern int ast_park_call(struct ast_channel *chan, struct ast_channel *host);
+extern int ast_park_call(struct ast_channel *chan, struct ast_channel *host, int timeout, int *extout);
//! Park a call via a masqueraded channel
/*! \param rchan the real channel to be parked
\param 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
+ \param timeout is a timeout in milliseconds
+ \param extout is a parameter to an int that will hold the parked location, or NULL if you want
*/
-extern int ast_masq_park_call(struct ast_channel *rchan, struct ast_channel *host);
+extern int ast_masq_park_call(struct ast_channel *rchan, struct ast_channel *host, int timeout, int *extout);
//! Determine system parking extension
/*! Returns the call parking extension for drivers that provide special