1 /*****************************************************************************\
5 **---------------------------------------------------------------------------**
6 ** Copyright: Andreas Eversberg **
8 ** options header file **
10 \*****************************************************************************/
13 char log[128]; /* location of log file */
14 char ports[256]; /* use of ports */
15 // int ptp; /* if layer 2 should be watched */
16 int deb; /* debugging */
17 char law; /* 'a' or 'u' law */
19 char national[10]; /* prefix for national calls */
20 char international[10]; /* prefix for international calls */
22 char tones_dir[64]; /* directory of all tones/patterns */
23 char fetch_tones[256]; /* directories of tones to fetch */
24 char extensions_dir[64]; /* directory of extensions */
25 char h323_name[128]; /* the name of h323 endpoint */
26 int h323_ringconnect; /* connected when ringing */
27 int h323_gsm_pri; /* priority to use of GSM codec (0 == don't use) */
29 int h323_g726_pri; /* priority to use of G726 codec (0 == don't use) */
31 int h323_g7231_pri; /* priority to use of G7231 codec (0 == don't use) */
32 int h323_g729a_pri; /* priority to use of G729a codec (0 == don't use) */
33 int h323_lpc10_pri; /* priority to use of lpc-10 codec (0 == don't use) */
34 int h323_speex_pri; /* priority to use of speex codec (0 == don't use) */
36 int h323_xspeex_pri; /* priority to use of xspeex codec (0 == don't use) */
38 int h323_law_pri; /* priority to use of law codec (0 == don't use) */
40 int h323_icall; /* allow incoming h323 calls */
41 char h323_icall_prefix[32]; /* the prefix */
42 int h323_port; /* port for incoming calls */
43 int h323_gatekeeper; /* register with h323 gatekeeper */
44 char h323_gatekeeper_host[128];/* the gatekeeper host */
47 int nodtmf; /* use dtmf detection */
48 char dummyid[32]; /* caller id for external calls if not available */
49 int inbandpattern; /* inband patterns on external calls */
50 int dsptones; /* tones will be generated via dsp.o 1=american 2=ger */
51 int schedule; /* run process in realtime @ given priority */
52 char email[128]; /* source email address */
55 extern struct options options;
57 int read_options(void);