diff options
author | Russell Bryant <russell@russellbryant.com> | 2011-06-01 21:31:40 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2011-06-01 21:31:40 +0000 |
commit | 3f4d0e87431073c8fe8c2eaa5b42eec6292ea518 (patch) | |
tree | ad58ec0cb5e2b08c905aaf6075e7f6b4561335e2 /main/channel.c | |
parent | eca8a0a6251310d6c46c211bed2514b56454c39e (diff) |
Support routing text messages outside of a call.
Asterisk now has protocol independent support for processing text messages
outside of a call. Messages are routed through the Asterisk dialplan.
SIP MESSAGE and XMPP are currently supported. There are options in sip.conf
and jabber.conf that enable these features.
There is a new application, MessageSend(). There are two new functions,
MESSAGE() and MESSAGE_DATA(). Documentation will be available on
the project wiki, wiki.asterisk.org.
Thanks to Terry Wilson for the assistance with development and to David Vossel
for helping with some additional testing.
Review: https://reviewboard.asterisk.org/r/1042/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@321546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/channel.c b/main/channel.c index f60635ebe..9c9d6ca5a 100644 --- a/main/channel.c +++ b/main/channel.c @@ -9593,3 +9593,8 @@ struct ast_channel *ast_channel_alloc(int needqueue, int state, const char *cid_ return result; } + +void ast_channel_unlink(struct ast_channel *chan) +{ + ao2_unlink(channels, chan); +} |