Asterisk - The Open Source Telephony Project  18.5.0
globals.h
Go to the documentation of this file.
1 /*
2  * Asterisk -- An open source telephony toolkit.
3  *
4  * Copyright (C) 2010, Digium, Inc.
5  *
6  * See http://www.asterisk.org for more information about
7  * the Asterisk project. Please do not directly contact
8  * any of the maintainers of this project for assistance;
9  * the project provides a web site, mailing lists and IRC
10  * channels for your use.
11  *
12  * This program is free software, distributed under the terms of
13  * the GNU General Public License Version 2. See the LICENSE file
14  * at the top of the source tree.
15  */
16 
17 /*!
18  * \file
19  * \brief sip global declaration header file
20  */
21 
22 #include "sip.h"
23 
24 #ifndef _SIP_GLOBALS_H
25 #define _SIP_GLOBALS_H
26 
27 extern struct ast_sockaddr bindaddr; /*!< UDP: The address we bind to */
28 extern struct ast_sched_context *sched; /*!< The scheduling context */
29 
30 /*! \brief Definition of this channel for PBX channel registration */
31 extern struct ast_channel_tech sip_tech;
32 
33 /*! \brief This version of the sip channel tech has no send_digit_begin
34  * callback so that the core knows that the channel does not want
35  * DTMF BEGIN frames.
36  * The struct is initialized just before registering the channel driver,
37  * and is for use with channels using SIP INFO DTMF.
38  */
39 extern struct ast_channel_tech sip_tech_info;
40 
41 #endif /* !defined(SIP_GLOBALS_H) */
chan_sip header file
struct ast_sockaddr bindaddr
Definition: chan_ooh323.c:353
Socket address structure.
Definition: netsock2.h:97
struct ast_sched_context * sched
Definition: chan_sip.c:908
Structure to describe a channel "technology", ie a channel driver See for examples: ...
Definition: channel.h:629
struct ast_channel_tech sip_tech
Definition of this channel for PBX channel registration.
Definition: chan_sip.c:1573
struct ast_channel_tech sip_tech_info
This version of the sip channel tech has no send_digit_begin callback so that the core knows that the...
Definition: chan_sip.c:1606