mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-09 22:45:49 +00:00
Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user