jingle.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /*
  2. * Asterisk -- An open source telephony toolkit.
  3. *
  4. * Copyright (C) 1999 - 2005, Digium, Inc.
  5. *
  6. * Matt O'Gorman <mogorman@digium.com>
  7. *
  8. * See http://www.asterisk.org for more information about
  9. * the Asterisk project. Please do not directly contact
  10. * any of the maintainers of this project for assistance;
  11. * the project provides a web site, mailing lists and IRC
  12. * channels for your use.
  13. *
  14. * This program is free software, distributed under the terms of
  15. * the GNU General Public License Version 2. See the LICENSE file
  16. * at the top of the source tree.
  17. */
  18. /*! \file
  19. * \brief Jingle definitions for chan_jingle
  20. *
  21. * \ref chan_jingle.c
  22. *
  23. * \author Matt O'Gorman <mogorman@digium.com>
  24. */
  25. #ifndef _ASTERISK_JINGLE_H
  26. #define _ASTERISK_JINGLE_H
  27. #include <iksemel.h>
  28. #include "asterisk/astobj.h"
  29. /* Jingle Constants */
  30. #define JINGLE_NODE "jingle"
  31. #define GOOGLE_NODE "session"
  32. #define JINGLE_NS "urn:xmpp:tmp:jingle"
  33. #define JINGLE_AUDIO_RTP_NS "urn:xmpp:tmp:jingle:apps:audio-rtp"
  34. #define JINGLE_VIDEO_RTP_NS "urn:xmpp:tmp:jingle:apps:video"
  35. #define JINGLE_ICE_UDP_NS "urn:xmpp:tmp:jingle:transports:ice-udp"
  36. #define JINGLE_DTMF_NS "urn:xmpp:tmp:jingle:dtmf"
  37. #define GOOGLE_NS "http://www.google.com/session"
  38. #define GOOGLE_JINGLE_NS "urn:xmpp:jingle:1"
  39. #define GOOGLE_AUDIO_NS "http://www.google.com/session/phone"
  40. #define GOOGLE_VIDEO_NS "http://www.google.com/session/video"
  41. #define GOOGLE_TRANSPORT_NS "http://www.google.com/transport/p2p"
  42. #define JINGLE_SID "sid"
  43. #define GOOGLE_SID "id"
  44. #define JINGLE_INITIATE "session-initiate"
  45. #define JINGLE_ACCEPT "session-accept"
  46. #define GOOGLE_ACCEPT "accept"
  47. #define JINGLE_NEGOTIATE "transport-info"
  48. #define GOOGLE_NEGOTIATE "candidates"
  49. #define JINGLE_INFO "session-info"
  50. #define JINGLE_TERMINATE "session-terminate"
  51. #endif