aboutsummaryrefslogtreecommitdiffstats
path: root/channels/sip/include/dialplan_functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'channels/sip/include/dialplan_functions.h')
-rw-r--r--channels/sip/include/dialplan_functions.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/channels/sip/include/dialplan_functions.h b/channels/sip/include/dialplan_functions.h
new file mode 100644
index 000000000..1600d4314
--- /dev/null
+++ b/channels/sip/include/dialplan_functions.h
@@ -0,0 +1,41 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2010, Digium, Inc.
+ *
+ * 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 SIP dialplan functions header file
+ */
+
+#include "sip.h"
+
+#ifndef _SIP_DIALPLAN_FUNCTIONS_H
+#define _SIP_DIALPLAN_FUNCTIONS_H
+
+/*!
+ * \brief Channel read dialplan function for SIP
+ */
+int sip_acf_channel_read(struct ast_channel *chan, const char *funcname, char *preparse, char *buf, size_t buflen);
+
+/*!
+ * \brief register dialplan function tests
+ */
+void sip_dialplan_function_register_tests(void);
+/*!
+ * \brief unregister dialplan function tests
+ */
+void sip_dialplan_function_unregister_tests(void);
+
+#endif /* !defined(_SIP_DIALPLAN_FUNCTIONS_H) */