globals.h

Go to the documentation of this file.
00001 /*
00002  * Asterisk -- An open source telephony toolkit.
00003  *
00004  * Copyright (C) 2010, Digium, Inc.
00005  *
00006  * See http://www.asterisk.org for more information about
00007  * the Asterisk project. Please do not directly contact
00008  * any of the maintainers of this project for assistance;
00009  * the project provides a web site, mailing lists and IRC
00010  * channels for your use.
00011  *
00012  * This program is free software, distributed under the terms of
00013  * the GNU General Public License Version 2. See the LICENSE file
00014  * at the top of the source tree.
00015  */
00016 
00017 /*!
00018  * \file
00019  * \brief sip global declaration header file
00020  */
00021 
00022 #include "sip.h"
00023 
00024 #ifndef _SIP_GLOBALS_H
00025 #define _SIP_GLOBALS_H
00026 
00027 extern struct ast_sockaddr bindaddr;     /*!< UDP: The address we bind to */
00028 extern struct ast_sched_context *sched;     /*!< The scheduling context */
00029 
00030 /*! \brief Definition of this channel for PBX channel registration */
00031 extern struct ast_channel_tech sip_tech;
00032 
00033 /*! \brief This version of the sip channel tech has no send_digit_begin
00034  * callback so that the core knows that the channel does not want
00035  * DTMF BEGIN frames.
00036  * The struct is initialized just before registering the channel driver,
00037  * and is for use with channels using SIP INFO DTMF.
00038  */
00039 extern struct ast_channel_tech sip_tech_info;
00040 
00041 #endif /* !defined(SIP_GLOBALS_H) */
00042 

Generated on Thu Apr 16 06:27:36 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6