mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add transfer to IAX2, and transfer application
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -676,6 +676,10 @@ int ast_autoservice_stop(struct ast_channel *chan);
|
||||
timer fd */
|
||||
int ast_settimeout(struct ast_channel *c, int ms);
|
||||
|
||||
/* Transfer a channel (if supported). Returns -1 on error, 0 if not supported
|
||||
and 1 if supported and requested */
|
||||
int ast_transfer(struct ast_channel *chan, char *dest);
|
||||
|
||||
/* Misc. functions below */
|
||||
|
||||
//! Waits for activity on a group of channels
|
||||
|
@@ -65,6 +65,8 @@ struct ast_channel_pvt {
|
||||
int (*setoption)(struct ast_channel *chan, int option, void *data, int datalen);
|
||||
/*! Query a given option */
|
||||
int (*queryoption)(struct ast_channel *chan, int option, void *data, int *datalen);
|
||||
/*! Blind transfer other side */
|
||||
int (*transfer)(struct ast_channel *chan, char *newdest);
|
||||
};
|
||||
|
||||
//! Create a channel structure
|
||||
|
Reference in New Issue
Block a user