res_pjsip_registrar_expire.c 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Asterisk -- An open source telephony toolkit.
  3. *
  4. * Copyright (C) 2013, Digium, Inc.
  5. *
  6. * Joshua Colp <jcolp@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. /*** MODULEINFO
  19. <defaultenabled>no</defaultenabled>
  20. <depend>pjproject</depend>
  21. <depend>res_pjsip</depend>
  22. <support_level>deprecated</support_level>
  23. <replacement>res_pjsip_registrar</replacement>
  24. ***/
  25. /*
  26. * This module has been refactored into res_pjsip_registrar
  27. */
  28. #include "asterisk.h"
  29. #include "asterisk/module.h"
  30. static int unload_module(void)
  31. {
  32. return 0;
  33. }
  34. static int load_module(void)
  35. {
  36. return AST_MODULE_LOAD_SUCCESS;
  37. }
  38. AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_LOAD_ORDER, "OBSOLETE PJSIP Contact Auto-Expiration",
  39. .support_level = AST_MODULE_SUPPORT_DEPRECATED,
  40. .load = load_module,
  41. .unload = unload_module,
  42. .load_pri = AST_MODPRI_APP_DEPEND,
  43. );