00001 /* 00002 * Copyright (C) 2004-2005 by Objective Systems, Inc. 00003 * 00004 * This software is furnished under an open source license and may be 00005 * used and copied only in accordance with the terms of this license. 00006 * The text of the license may generally be found in the root 00007 * directory of this installation in the COPYING file. It 00008 * can also be viewed online at the following URL: 00009 * 00010 * http://www.obj-sys.com/open/license.html 00011 * 00012 * Any redistributions of this file including modified versions must 00013 * maintain this copyright notice. 00014 * 00015 *****************************************************************************/ 00016 #ifndef _OO_H323CDRIVER_H_ 00017 #define __OO_H323DRIVER_H_ 00018 #include "chan_ooh323.h" 00019 #include "ootypes.h" 00020 #include "ooh323ep.h" 00021 #include "oochannels.h" 00022 #include "ooCalls.h" 00023 #include "ooCapability.h" 00024 #include "ooStackCmds.h" 00025 #define H323_DTMF_RFC2833 (1 << 0) 00026 #define H323_DTMF_Q931 (1 << 1) 00027 #define H323_DTMF_H245ALPHANUMERIC (1 << 2) 00028 #define H323_DTMF_H245SIGNAL (1 << 3) 00029 #define H323_DTMF_INBAND (1 << 4) 00030 00031 struct h323_pvt; 00032 int ooh323c_start_stack_thread(void); 00033 int ooh323c_stop_stack_thread(void); 00034 int ooh323c_set_capability 00035 (struct ast_codec_pref *prefs, int capability, int dtmf); 00036 int convertH323CapToAsteriskCap(int cap); 00037 int ooh323c_set_capability_for_call 00038 (ooCallData *call, struct ast_codec_pref *prefs, int capability, int dtmf); 00039 #endif
1.5.9