summaryrefslogtreecommitdiff
path: root/include/asterisk/jabber.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2011-06-01 21:31:40 +0000
committerRussell Bryant <russell@russellbryant.com>2011-06-01 21:31:40 +0000
commit3f4d0e87431073c8fe8c2eaa5b42eec6292ea518 (patch)
treead58ec0cb5e2b08c905aaf6075e7f6b4561335e2 /include/asterisk/jabber.h
parenteca8a0a6251310d6c46c211bed2514b56454c39e (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 'include/asterisk/jabber.h')
-rw-r--r--include/asterisk/jabber.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/jabber.h b/include/asterisk/jabber.h
index 85d459cf4..bbf0a2342 100644
--- a/include/asterisk/jabber.h
+++ b/include/asterisk/jabber.h
@@ -157,6 +157,7 @@ struct aji_client {
char name_space[256];
char sid[10]; /* Session ID */
char mid[6]; /* Message ID */
+ char context[AST_MAX_CONTEXT];
iksid *jid;
iksparser *p;
iksfilter *f;
@@ -179,6 +180,7 @@ struct aji_client {
int message_timeout;
int authorized;
int distribute_events;
+ int send_to_dialplan;
struct ast_flags flags;
int component; /* 0 client, 1 component */
struct aji_buddy_container buddies;