[asterisk-commits] branch mogorman/asterisk-xmpp r19094 -
/team/mogorman/asterisk-xmpp/include/a...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Apr 10 22:31:20 MST 2006
Author: mogorman
Date: Tue Apr 11 00:31:19 2006
New Revision: 19094
URL: http://svn.digium.com/view/asterisk?rev=19094&view=rev
Log:
oops forgot to add you
Added:
team/mogorman/asterisk-xmpp/include/asterisk/jingle.h (with props)
Added: team/mogorman/asterisk-xmpp/include/asterisk/jingle.h
URL: http://svn.digium.com/view/asterisk/team/mogorman/asterisk-xmpp/include/asterisk/jingle.h?rev=19094&view=auto
==============================================================================
--- team/mogorman/asterisk-xmpp/include/asterisk/jingle.h (added)
+++ team/mogorman/asterisk-xmpp/include/asterisk/jingle.h Tue Apr 11 00:31:19 2006
@@ -1,0 +1,80 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 1999 - 2005, Digium, Inc.
+ *
+ * Matt O'Gorman <mogorman at digium.com>
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+#ifndef _ASTERISK_JINGLE_H
+#define _ASTERISK_JINGLE_H
+
+#include <iksemel.h>
+#include "asterisk/astobj.h"
+
+
+enum jingle_protocol {
+ AXI_PROTOCOL_UDP=1,
+ AXI_PROTOCOL_SSLTCP=2,
+};
+
+enum jingle_connect_type {
+ AXI_CONNECT_STUN=1,
+ AXI_CONNECT_LOCAL=2,
+ AXI_CONNECT_RELAY=3,
+};
+
+struct jingle_candidate {
+ char name[100];
+ enum jingle_protocol protocol;
+ double preference;
+ char username [100];
+ char password [100];
+ enum jingle_connect_type type;
+ int network;
+ int generation;
+ char ip[16];
+ int port;
+ int receipt;
+ struct jingle_candidate *next;
+};
+
+struct jingle_pvt {
+ ast_mutex_t lock; /* Channel private lock */
+ char sid[100];
+ char from[100];
+ struct jingle_candidate *candidates;
+ struct ast_channel *owner; /* Master Channel */
+ struct ast_rtp *rtp; /*!< RTP Session */
+ int jointcapability; /*!< Supported capability at both ends (codecs ) */
+ int peercapability;
+
+ struct jingle_pvt *next; /* Next entity */
+};
+
+struct jingle {
+ ASTOBJ_COMPONENTS(struct jingle);
+ void *connection;
+ struct jingle_pvt *p;
+ struct ast_codec_pref prefs;
+ char user[100];
+ char context[100];
+ int capability;
+ int allowguest;
+};
+
+struct jingle_container {
+ ASTOBJ_CONTAINER_COMPONENTS(struct jingle);
+};
+
+#endif
Propchange: team/mogorman/asterisk-xmpp/include/asterisk/jingle.h
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: team/mogorman/asterisk-xmpp/include/asterisk/jingle.h
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: team/mogorman/asterisk-xmpp/include/asterisk/jingle.h
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-commits
mailing list