Asterisk - The Open Source Telephony Project  GIT-master-93d0901
ooh323cDriver.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2004-2005 by Objective Systems, Inc.
3  *
4  * This software is furnished under an open source license and may be
5  * used and copied only in accordance with the terms of this license.
6  * The text of the license may generally be found in the root
7  * directory of this installation in the COPYING file. It
8  * can also be viewed online at the following URL:
9  *
10  * http://www.obj-sys.com/open/license.html
11  *
12  * Any redistributions of this file including modified versions must
13  * maintain this copyright notice.
14  *
15  *****************************************************************************/
16 #ifndef _OO_H323CDRIVER_H_
17 #define _OO_H323CDRIVER_H_
18 #include "chan_ooh323.h"
19 #include "ootypes.h"
20 #include "ooh323ep.h"
21 #include "oochannels.h"
22 #include "ooCalls.h"
23 #include "ooCapability.h"
24 #include "ooStackCmds.h"
25 #include "asterisk/format.h"
26 #define H323_DTMF_RFC2833 (1 << 0)
27 #define H323_DTMF_Q931 (1 << 1)
28 #define H323_DTMF_H245ALPHANUMERIC (1 << 2)
29 #define H323_DTMF_H245SIGNAL (1 << 3)
30 #define H323_DTMF_INBAND (1 << 4)
31 #define H323_DTMF_CISCO (1 << 5)
32 #define H323_DTMF_INBANDRELAX (1 << 8)
33 
34 struct h323_pvt;
37 int ooh323c_start_call_thread(ooCallData *call);
38 int ooh323c_stop_call_thread(ooCallData *call);
40  (struct ast_format_cap *cap, int dtmf, int dtmfcodec);
43  (ooCallData *call, struct ast_format_cap *cap, int dtmf, int dtmfcodec,
44  int t38support, int g729onlyA);
45 #endif
static int g729onlyA
Definition: chan_ooh323.c:375
static int call(void *data)
Definition: chan_pjsip.c:2359
Media Format API.
int ooh323c_stop_stack_thread(void)
int ooh323c_start_call_thread(ooCallData *call)
int ooh323c_stop_call_thread(ooCallData *call)
int ooh323c_set_capability(struct ast_format_cap *cap, int dtmf, int dtmfcodec)
int ooh323c_set_capability_for_call(ooCallData *call, struct ast_format_cap *cap, int dtmf, int dtmfcodec, int t38support, int g729onlyA)
struct ast_format * convertH323CapToAsteriskCap(int cap)
int ooh323c_start_stack_thread(void)
Format capabilities structure, holds formats + preference order + etc.
Definition: format_cap.c:54
Definition of a media format.
Definition: format.c:43