diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-04 01:11:25 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-04 01:11:25 +0000 |
commit | ae986bb6bc5aa89c7a856adc702d4cd8df7f816d (patch) | |
tree | 654f352211e2d0a687b2a6fe94df5f54c3b33d14 /include | |
parent | 08ef5864e20771d41ed478962a7b1b73a05d67f5 (diff) |
Add support for parking with IAX2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2318 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/channel.h | 2 | ||||
-rwxr-xr-x | include/asterisk/channel_pvt.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 24699a7d9..c0cd6cd23 100755 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -777,6 +777,8 @@ int ast_settimeout(struct ast_channel *c, int samples, int (*func)(void *data), and 1 if supported and requested */ int ast_transfer(struct ast_channel *chan, char *dest); +int ast_do_masquerade(struct ast_channel *chan, int grablock); + /* Misc. functions below */ //! Waits for activity on a group of channels diff --git a/include/asterisk/channel_pvt.h b/include/asterisk/channel_pvt.h index 366101eea..9de87541b 100755 --- a/include/asterisk/channel_pvt.h +++ b/include/asterisk/channel_pvt.h @@ -60,7 +60,7 @@ struct ast_channel_pvt { /*! Indicate a particular condition (e.g. AST_CONTROL_BUSY or AST_CONTROL_RINGING or AST_CONTROL_CONGESTION */ int (*indicate)(struct ast_channel *c, int condition); /*! Fix up a channel: If a channel is consumed, this is called. Basically update any ->owner links */ - int (*fixup)(struct ast_channel *oldchan, struct ast_channel *newchan); + int (*fixup)(struct ast_channel *oldchan, struct ast_channel *newchan, int lock); /*! Set a given option */ int (*setoption)(struct ast_channel *chan, int option, void *data, int datalen); /*! Query a given option */ |