diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-26 22:25:43 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-26 22:25:43 +0000 |
commit | e2c75a92f97e22fed0bd2017fccb550fc2106ba3 (patch) | |
tree | 8cc9a36b9066a72d36a623a08bb8779286caedf2 /include/asterisk/channel.h | |
parent | b561eb0a2d237ca6c387b60011d55fc38bec1c2c (diff) |
Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4106 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rwxr-xr-x | include/asterisk/channel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index f56f5bba0..6b514befe 100755 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -377,7 +377,7 @@ struct outgoing_helper { * by the low level module * Returns an ast_channel on success, NULL on failure. */ -struct ast_channel *ast_request(const char *type, int format, void *data); +struct ast_channel *ast_request(const char *type, int format, void *data, int *status); //! Search the Channels by Name /*! @@ -427,11 +427,11 @@ struct ast_channel *__ast_request_and_dial(const char *type, int format, void *d * Returns 0 on success, -1 on failure. */ int ast_channel_register(const char *type, const char *description, int capabilities, - struct ast_channel* (*requester)(const char *type, int format, void *data)); + struct ast_channel* (*requester)(const char *type, int format, void *data, int *cause)); /* Same like the upper function but with support for devicestate */ int ast_channel_register_ex(const char *type, const char *description, int capabilities, - struct ast_channel *(*requester)(const char *type, int format, void *data), + struct ast_channel *(*requester)(const char *type, int format, void *data, int *cause), int (*devicestate)(void *data)); //! Unregister a channel class |