1
/*****************************************************************************/
5
* Copyright (c) 2002, Smart Link Ltd.
8
* Redistribution and use in source and binary forms, with or without
9
* modification, are permitted provided that the following conditions
12
* 1. Redistributions of source code must retain the above copyright
13
* notice, this list of conditions and the following disclaimer.
14
* 2. Redistributions in binary form must reproduce the above
15
* copyright notice, this list of conditions and the following
16
* disclaimer in the documentation and/or other materials provided
17
* with the distribution.
18
* 3. Neither the name of the Smart Link Ltd. nor the names of its
19
* contributors may be used to endorse or promote products derived
20
* from this software without specific prior written permission.
22
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38
* modem_homolog.h -- Modem Homologation definitions.
40
* Author: Sasha K (sashak@smlink.com)
45
/*****************************************************************************/
47
#ifndef __MODEM_HOMOLOG_H__
48
#define __MODEM_HOMOLOG_H__
51
/* homologation parameters struct */
52
struct homolog_params {
54
u8 PulseDialBreakTime;
55
u8 PulseDialDigitPattern;
58
u8 MinBusyCadenceOnTime;
59
u8 MaxBusyCadenceOnTime;
60
u8 BusyDetectionCyclesNumber;
61
u8 MinBusyCadenceOffTime;
62
u8 MaxBusyCadenceOffTime;
65
u8 DialPauseTime; // ?
67
u8 DialModifierValidation;
68
u8 DialToneValidationTime;
69
//u8 BusyToneDiffTime;
70
u8 DTMFHighAndLowToneLevelDifference;
71
u8 DialToneCallProgressFilterIndex;
72
u8 DialToneDetectionThreshold;
73
u8 ABCDDialingPermittedFlag;
74
u8 ComaPauseDurationLimit;
75
//u8 PulseAndToneDialInSameDialStringPermittedFlag;
76
u8 BusyToneCallProgressFilterIndex;
77
u8 PulseBetweenDigitsInterval;
79
u8 MinRingbackCadenceOnTime;
80
u8 MaxRingbackCadenceOnTime;
81
u8 RingbackDetectionCyclesNumber;
82
//u8 MinRingbackCadenceOffTime;
83
//u8 MaxRingbackCadenceOffTime;
84
//u8 RingbackToneCallProgressFilterIndex;
85
//u8 MinCongestionCadenceOnTime;
86
//u8 MaxCongestionCadenceOnTime;
87
//u8 CongestionDetectionCyclesNumber;
88
//u8 MinCongestionCadenceOffTime;
89
//u8 MaxCongestionCadenceOffTime;
90
//u8 CongestionToneCallProgressFilterIndex;
91
u16 CallProgressSamplesBufferLength;
92
u8 MustNoiseFilterBeApplied;
93
//u32 DigitalImpairmentsMask;
94
//u8 DialToneFilterSubindex;
95
//u8 BusyToneLooseDetectionEnabled;
96
//u8 CallWaitingIntegrationTimeMiliSec;
97
//u8 CallWaitingThresholdPercentage;
101
/* homologation country set */
105
const struct homolog_params *params;
108
/* 'nulled'-terminated homologation array */
109
extern const struct homolog_set homolog_set[];
111
#endif /* __MODEM_HOMOLOG_H__ */