-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathmodule.xml
146 lines (146 loc) · 8.39 KB
/
module.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<module>
<rawname>dahdiconfig</rawname>
<repo>extended</repo>
<category>Connectivity</category>
<name>DAHDi Config</name>
<version>17.0.1.14</version>
<publisher>Sangoma Technologies Corporation</publisher>
<license>GPLv3+</license>
<licenselink>https://www.gnu.org/licenses/gpl-3.0.txt</licenselink>
<candisable>yes</candisable>
<canuninstall>yes</canuninstall>
<description>The DAHDI module is designed to let you manage and configure your PSTN cards.</description>
<more-info>https://sangomakb.atlassian.net/wiki/spaces/PG/pages/25952375/DAHDI+Configs</more-info>
<changelog>
17.0.1.11* 17.0.1.11 release
</changelog>
<supported>
<version>17.0</version>
</supported>
<depends>
<version>17.0.1</version>
</depends>
<menuitems>
<dahdi needsenginedb="yes">DAHDi Config</dahdi>
</menuitems>
<database>
<table name="dahdi_analog_custom">
<field name="dahdi_analog_port" type="integer"/>
<field name="keyword" type="string" length="50"/>
<field name="val" type="string" length="255" notnull="false"/>
<key name="idx" type="unique">
<column name="dahdi_analog_port"/>
<column name="keyword"/>
</key>
</table>
<table name="dahdi_advanced_modules">
<field name="id" type="integer" unsigned="true" primarykey="true" autoincrement="true"/>
<field name="module_name" type="string" length="100" notnull="false"/>
<field name="settings" type="blob" notnull="false"/>
<key name="module_name" type="unique">
<column name="module_name"/>
</key>
</table>
<table name="dahdi_modules">
<field name="module_name" type="string" length="100" notnull="false"/>
<field name="settings" type="blob" notnull="false"/>
<key name="module_name" type="unique">
<column name="module_name"/>
</key>
</table>
<table name="dahdi_advanced">
<field name="keyword" type="string" length="50" primarykey="true"/>
<field name="val" type="string" length="255" notnull="false"/>
<field name="default_val" type="string" length="255" notnull="false"/>
<field name="type" type="string" length="50" default="chandahdi" notnull="false"/>
<field name="additional" type="boolean" default="1" notnull="false"/>
</table>
<table name="dahdi_spans">
<field name="id" type="integer" primarykey="true" autoincrement="true"/>
<field name="span" type="integer"/>
<field name="active" type="boolean" default="1" notnull="false"/>
<field name="alarms" type="string" length="15" notnull="false"/>
<field name="basechan" type="integer" notnull="false"/>
<field name="coding" type="string" length="10" notnull="false"/>
<field name="coding_opts" type="string" length="255" notnull="false"/>
<field name="context" type="string" length="255" notnull="false"/>
<field name="definedchans" type="integer" notnull="false"/>
<field name="description" type="string" length="255" notnull="false"/>
<field name="devicetype" type="string" length="255" notnull="false"/>
<field name="framing" type="string" length="10" notnull="false"/>
<field name="framing_opts" type="string" length="255" notnull="false"/>
<field name="group" type="integer" notnull="false"/>
<field name="irq" type="string" length="10" notnull="false"/>
<field name="lbo" type="integer" notnull="false"/>
<field name="location" type="string" length="255" notnull="false"/>
<field name="name" type="string" length="25" notnull="false"/>
<field name="manufacturer" type="string" length="25" default="Digium"/>
<field name="max_ch" type="integer" notnull="false"/>
<field name="min_ch" type="integer" notnull="false"/>
<field name="pridialplan" type="string" length="25" notnull="false"/>
<field name="prilocaldialplan" type="string" length="25" notnull="false"/>
<field name="reserved_ch" type="integer" notnull="false"/>
<field name="signalling" type="string" length="50" notnull="false"/>
<field name="spantype" type="string" length="10" notnull="false"/>
<field name="switchtype" type="string" length="50" notnull="false"/>
<field name="syncsrc" type="integer" notnull="false"/>
<field name="timing" type="integer" notnull="false"/>
<field name="totchans" type="integer" notnull="false"/>
<field name="type" type="string" length="25" notnull="false"/>
<field name="priexclusive" type="string" length="3" notnull="false"/>
<field name="additional_groups" type="blob" notnull="false"/>
<field name="txgain" type="string" length="10" default="0.0"/>
<field name="rxgain" type="string" length="10" default="0.0"/>
<field name="mfcr2_variant" type="string" length="3" default="ITU"/>
<field name="mfcr2_get_ani_first" type="string" length="3" default="no"/>
<field name="mfcr2_max_ani" type="smallint" default="10"/>
<field name="mfcr2_max_dnis" type="smallint" default="4"/>
<field name="mfcr2_category" type="string" length="50" default="national_subscriber"/>
<field name="mfcr2_call_files" type="string" length="3" default="yes"/>
<field name="mfcr2_skip_category" type="string" length="3" default="no"/>
<field name="mfcr2_logdir" type="string" length="10" notnull="false"/>
<field name="mfcr2_logging" type="string" length="10" notnull="false"/>
<field name="mfcr2_mfback_timeout" type="decimal" default="0" />
<field name="mfcr2_mfback_pulse_timeout" type="decimal" default="0" />
<field name="mfcr2_metering_pulse_timeout" type="decimal" default="0" />
<field name="mfcr2_allow_collect_calls" type="string" length="3" default="no"/>
<field name="mfcr2_double_answer" type="string" length="3" default="no"/>
<field name="mfcr2_immediate_accept" type="string" length="3" default="no"/>
<field name="mfcr2_forced_release" type="string" length="3" default="no"/>
<field name="mfcr2_charge_calls" type="string" length="3" default="yes"/>
<field name="mfcr2_accept_on_offer" type="string" length="3" default="yes"/>
<field name="mfcr2_skip_catefory" type="string" length="3" default="no"/>
<field name="mfcr2_advanced_protocol_file" type="string" length="100" notnull="false"/>
</table>
<table name="dahdi_analog">
<field name="port" type="integer" notnull="false"/>
<field name="type" type="string" notnull="false"/>
<field name="signalling" type="string" notnull="false"/>
<field name="group" type="string" length="10" notnull="false"/>
<field name="context" type="string" length="255" notnull="false"/>
<field name="txgain" type="string" length="10" default="0.0"/>
<field name="rxgain" type="string" length="10" default="0.0"/>
<key name="port" type="unique">
<column name="port"/>
</key>
</table>
<table name="dahdi_configured_locations">
<field name="location" type="string" length="50" notnull="false"/>
<field name="device" type="string" length="50" notnull="false"/>
<field name="basechan" type="integer" notnull="false"/>
<field name="type" type="string" length="25" notnull="false"/>
</table>
</database>
<hooks>
<framework class="Start" namespace="FreePBX\Console\Command">
<method callingMethod="preAsteriskHooks" class="Dahdiconfig" namespace="FreePBX\modules">startFreepbx</method>
<method callingMethod="postAsteriskHooks" class="Dahdiconfig" namespace="FreePBX\modules">postStartFreepbx</method>
</framework>
<framework class="Stop" namespace="FreePBX\Console\Command">
<method callingMethod="postAsteriskHooks" class="Dahdiconfig" namespace="FreePBX\modules">stopFreepbx</method>
</framework>
<framework class="Chown" namespace="FreePBX\Console\Command">
<method callingMethod="fwcChownFiles" class="Dahdiconfig" namespace="FreePBX\modules">chownFreepbx</method>
</framework>
</hooks>
</module>