diff options
Diffstat (limited to 'trunk/include/asterisk/jingle.h')
-rw-r--r-- | trunk/include/asterisk/jingle.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/trunk/include/asterisk/jingle.h b/trunk/include/asterisk/jingle.h new file mode 100644 index 000000000..bc3b0f217 --- /dev/null +++ b/trunk/include/asterisk/jingle.h @@ -0,0 +1,61 @@ +/* + * Asterisk -- An open source telephony toolkit. + * + * Copyright (C) 1999 - 2005, Digium, Inc. + * + * Matt O'Gorman <mogorman@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. + */ + +/*! \file + * \brief Jingle definitions for chan_jingle + * + * \ref chan_jingle.c + * + * \author Matt O'Gorman <mogorman@digium.com> + */ + + +#ifndef _ASTERISK_JINGLE_H +#define _ASTERISK_JINGLE_H + +#include <iksemel.h> +#include "asterisk/astobj.h" + + +/* Jingle Constants */ + +#define JINGLE_NODE "jingle" +#define GOOGLE_NODE "session" + +#define JINGLE_NS "http://www.xmpp.org/extensions/xep-0166.html#ns" +#define JINGLE_AUDIO_RTP_NS "http://www.xmpp.org/extensions/xep-0167.html#ns" +#define JINGLE_ICE_UDP_NS "http://www.xmpp.org/extensions/xep-0176.html#ns-udp" +#define JINGLE_DTMF_NS "http://www.xmpp.org/extensions/xep-0181.html#ns" +#define JINGLE_DTMF_NS_ERRORS "http://www.xmpp.org/extensions/xep-0181.html#ns-errors" +#define GOOGLE_NS "http://www.google.com/session" + +#define JINGLE_SID "sid" +#define GOOGLE_SID "id" + +#define JINGLE_INITIATE "session-initiate" + +#define JINGLE_ACCEPT "session-accept" +#define GOOGLE_ACCEPT "accept" + +#define JINGLE_NEGOTIATE "transport-info" +#define GOOGLE_NEGOTIATE "candidates" + +#define JINGLE_INFO "session-info" +#define JINGLE_TERMINATE "session-terminate" + +#endif |