-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathmodule.xml
251 lines (251 loc) · 13.1 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<module>
<rawname>core</rawname>
<repo>standard</repo>
<category>Applications</category>
<name>Core</name>
<version>17.0.18.14</version>
<publisher>Sangoma Technologies Corporation</publisher>
<license>GPLv3+</license>
<licenselink>http://www.gnu.org/licenses/gpl-3.0.txt</licenselink>
<candisable>no</candisable>
<canuninstall>no</canuninstall>
<changelog>
*17.0.18.14* Fixing Github #640 Trunk failover does not work on Outbound Routes
*17.0.18.13* Fixing Github #611 Empty dialopts astdb key after backup restore issue
*17.0.18.12* Fixing Github #620 undefined transport key error
*17.0.18.11* #530 Passing ARG to the macro-user-callerid subroutine to make the accountcode module work
*17.0.18.10* Fixing Github #613
*17.0.18.9* FREEI-1528 apply config error in Freepbx17
*17.0.18.8* Github#542 increasing length of trunk name field
*17.0.18.2* Github #482 Adding allow_unauthenticated_options config option
*17.0.10* Github #313 Fixing GoSub related multiple dialplan issues
*17.0.9.72* bump
*17.0.9.52* chansip to pjsip trunk conversion
*17.0.9.45* disable trunks on warmspare restore
*17.0.9.38* bump
*17.0.9.7* Packaging of ver 17.0.9.7
*17.0.1* initial release
</changelog>
<depends>
<version>17.0.1</version>
</depends>
<database>
<table name="trunks">
<field name="trunkid" type="integer" default="0" primaryKey="true"/>
<field name="name" type="string" length="255" default=""/>
<field name="tech" type="string" length="20" primaryKey="true"/>
<field name="outcid" type="string" length="255" default=""/>
<field name="keepcid" type="string" length="4" default="off" notnull="false"/>
<field name="maxchans" type="string" length="6" default="" notnull="false"/>
<field name="failscript" type="string" length="255" default=""/>
<field name="dialoutprefix" type="string" length="255" default=""/>
<field name="channelid" type="string" length="190" default="" primaryKey="true"/>
<field name="usercontext" type="string" length="255" notnull="false"/>
<field name="provider" type="string" length="40" notnull="false"/>
<field name="disabled" type="string" length="4" default="off" notnull="false"/>
<field name="continue" type="string" length="4" default="off" notnull="false"/>
<field name="routedisplay" type="string" length="4" default="on" notnull="false"/>
</table>
<table name="pjsip">
<field name="id" type="string" length="20" default="-1" primaryKey="true"/>
<field name="keyword" type="string" length="30" default="" primaryKey="true"/>
<field name="data" type="string" length="8100"/>
<field name="flags" type="integer" default="0"/>
</table>
<table name="sip">
<field name="id" type="string" length="20" default="-1" primaryKey="true"/>
<field name="keyword" type="string" length="30" default="" primaryKey="true"/>
<field name="data" type="string" length="8100"/>
<field name="flags" type="integer" default="0"/>
</table>
<table name="dahdi">
<field name="id" type="string" length="20" default="-1" primaryKey="true"/>
<field name="keyword" type="string" length="30" default="" primaryKey="true"/>
<field name="data" type="string" length="255" default=""/>
<field name="flags" type="integer" default="0"/>
</table>
<table name="iax">
<field name="id" type="string" length="20" default="-1" primaryKey="true"/>
<field name="keyword" type="string" length="30" default="" primaryKey="true"/>
<field name="data" type="string" length="255"/>
<field name="flags" type="integer" default="0"/>
</table>
<table name="indications_zonelist">
<field name="name" type="string" length="80"/>
<field name="iso" type="string" length="20" primaryKey="true"/>
<field name="conf" type="blob" notnull="false"/>
</table>
<table name="devices">
<field name="id" type="string" length="20" default=""/>
<field name="tech" type="string" length="10" default=""/>
<field name="dial" type="string" length="255" default=""/>
<field name="devicetype" type="string" length="5" default=""/>
<field name="user" type="string" length="50" notnull="false"/>
<field name="description" type="string" length="50" notnull="false"/>
<field name="emergency_cid" type="string" length="100" notnull="false"/>
<field name="hint_override" type="string" length="100" notnull="false"/>
<key name="id" type="index">
<column name="id"/>
</key>
<key name="tech" type="index">
<column name="tech"/>
</key>
</table>
<table name="users">
<field name="extension" type="string" length="20" default=""/>
<field name="password" type="string" length="20" notnull="false"/>
<field name="name" type="string" length="50" notnull="false"/>
<field name="voicemail" type="string" length="50" notnull="false"/>
<field name="ringtimer" type="integer" notnull="false"/>
<field name="noanswer" type="string" length="100" notnull="false"/>
<field name="recording" type="string" length="50" notnull="false"/>
<field name="outboundcid" type="string" length="50" notnull="false"/>
<field name="sipname" type="string" length="50" notnull="false"/>
<field name="noanswer_cid" type="string" length="20" default=""/>
<field name="busy_cid" type="string" length="20" default=""/>
<field name="chanunavail_cid" type="string" length="20" default=""/>
<field name="noanswer_dest" type="string" length="255" default=""/>
<field name="busy_dest" type="string" length="255" default=""/>
<field name="chanunavail_dest" type="string" length="255" default=""/>
<field name="mohclass" type="string" length="80" default="default" notnull="false"/>
<key name="extension" type="index">
<column name="extension"/>
</key>
</table>
<table name="incoming">
<field name="cidnum" type="string" length="50" notnull="false"/>
<field name="extension" type="string" length="50"/>
<field name="destination" type="string" length="50" notnull="false"/>
<field name="privacyman" type="boolean" notnull="false"/>
<field name="alertinfo" type="string" length="255" notnull="false"/>
<field name="ringing" type="string" length="20" notnull="false"/>
<field name="fanswer" type="string" length="20" notnull="false"/>
<field name="mohclass" type="string" length="80" default="default"/>
<field name="description" type="string" length="80" notnull="false"/>
<field name="grppre" type="string" length="80" notnull="false"/>
<field name="delay_answer" type="integer" notnull="false"/>
<field name="pricid" type="string" length="20" notnull="false"/>
<field name="pmmaxretries" type="string" length="2" notnull="false"/>
<field name="pmminlength" type="string" length="2" notnull="false"/>
<field name="reversal" type="string" length="10" notnull="false"/>
<field name="rvolume" type="string" length="2" default="" notnull="false"/>
<field name="indication_zone" type="string" length="20" default="default" notnull="false"/>
</table>
<table name="dahdichandids">
<field name="channel" type="integer" default="0" primaryKey="true"/>
<field name="description" type="string" length="40" default=""/>
<field name="did" type="string" length="60" default=""/>
</table>
<table name="outbound_route_patterns">
<field name="route_id" type="integer" primarykey="true"/>
<field name="match_pattern_prefix" type="string" length="60" default="" primarykey="true"/>
<field name="match_pattern_pass" type="string" length="60" default="" primarykey="true"/>
<field name="match_cid" type="string" length="60" default="" primarykey="true"/>
<field name="prepend_digits" type="string" length="100" default="" primarykey="true"/>
</table>
<table name="outbound_route_sequence">
<field name="route_id" type="integer" primarykey="true"/>
<field name="seq" type="integer" primarykey="true"/>
</table>
<table name="outbound_route_trunks">
<field name="route_id" type="integer" primarykey="true"/>
<field name="trunk_id" type="integer" primarykey="true"/>
<field name="seq" type="integer" primarykey="true"/>
</table>
<table name="outbound_routes">
<field name="route_id" type="integer" primarykey="true" autoincrement="true"/>
<field name="name" type="string" length="40" notnull="false"/>
<field name="outcid" type="string" length="255" notnull="false"/>
<field name="outcid_mode" type="string" length="20" notnull="false"/>
<field name="password" type="string" length="30" notnull="false"/>
<field name="emergency_route" type="string" length="4" notnull="false"/>
<field name="intracompany_route" type="string" length="4" notnull="false"/>
<field name="mohclass" type="string" length="80" notnull="false"/>
<field name="time_group_id" type="integer" notnull="false"/>
<field name="dest" type="string" length="255" notnull="false"/>
<field name="time_mode" type="string" length="20" default="" notnull="false"/>
<field name="calendar_id" type="string" length="255" notnull="false"/>
<field name="calendar_group_id" type="string" length="255" notnull="false"/>
<field name="timezone" type="string" length="255" notnull="false"/>
<field name="notification_on" type="string" length="255" default="call" notnull="false"/>
</table>
<table name="outbound_route_email">
<field name="route_id" type="integer" primarykey="true"/>
<field name="emailfrom" type="string" length="320" default="" notnull="false"/>
<field name="emailto" type="string" length="320" default="" notnull="false"/>
<field name="emailsubject" type="text" default="" notnull="false"/>
<field name="emailbody" type="text" default="" notnull="false"/>
</table>
<table name="trunk_dialpatterns">
<field name="trunkid" type="integer" default="0" primarykey="true"/>
<field name="match_pattern_prefix" type="string" length="50" default="" primarykey="true"/>
<field name="match_pattern_pass" type="string" length="50" default="" primarykey="true"/>
<field name="prepend_digits" type="string" length="50" default="" primarykey="true"/>
<field name="seq" type="integer" default="0" primarykey="true"/>
</table>
</database>
<menuitems>
<extensions needsenginedb="yes" category="Connectivity">Extensions</extensions>
<users needsenginedb="yes">Users</users>
<devices needsenginedb="yes">Devices</devices>
<did needsenginedb="yes" category="Connectivity">Inbound Routes</did>
<dahdichandids category="Connectivity">DAHDI Channel DIDs</dahdichandids>
<routing category="Connectivity">Outbound Routes</routing>
<trunks needsenginedb="yes" category="Connectivity">Trunks</trunks>
<advancedsettings category="Settings">Advanced Settings</advancedsettings>
<ampusers category="Admin">Administrators</ampusers>
<astmodules category="Admin">Asterisk Modules</astmodules>
<wiki category="Admin" requires_auth="false" href="http://www.freepbx.org/support-and-professional-services" target="_blank" access="all">FreePBX Support</wiki>
</menuitems>
<popovers>
<extensions>
<display>extensions</display>
<view>quick</view>
</extensions>
<users>
<display>users</display>
<view>add</view>
</users>
</popovers>
<methods>
<get_config pri="480">core_do_get_config</get_config>
</methods>
<console>
<command>
<name>convert2pjsip</name>
</command>
<command>
<name>trunks</name>
</command>
</console>
<hooks>
<bulkhandler namespace="FreePBX\modules" class="Bulkhandler" priority="100">
<method namespace="FreePBX\modules" class="Core" callingMethod="getTypes">bulkhandlerGetTypes</method>
<method namespace="FreePBX\modules" class="Core" callingMethod="getHeaders">bulkhandlerGetHeaders</method>
<method namespace="FreePBX\modules" class="Core" callingMethod="validate">bulkhandlerValidate</method>
<method namespace="FreePBX\modules" class="Core" callingMethod="import">bulkhandlerImport</method>
<method namespace="FreePBX\modules" class="Core" callingMethod="export">bulkhandlerExport</method>
</bulkhandler>
<backup class="Backup" namespace="FreePBX\modules">
<method callingMethod="getBackupSettingsDisplay" class="Core" namespace="FreePBX\modules">getBackupSettingsDisplay</method>
<method callingMethod="processBackupSettings" class="Core" namespace="FreePBX\modules">processBackupSettings</method>
</backup>
<framework class="Config" namespace="FreePBX">
<method callingMethod="updateSetting" class="Core" namespace="FreePBX\modules">updateFreePBXSetting</method>
<method callingMethod="removeSetting" class="Core" namespace="FreePBX\modules">removeFreePBXSetting</method>
</framework>
<framework class="Start" namespace="FreePBX\Console\Command">
<method callingMethod="postAsteriskHooks" class="Core" namespace="FreePBX\modules">startFreepbx</method>
</framework>
<framework class="Stop" namespace="FreePBX\Console\Command">
<method callingMethod="preAsteriskHooks" class="Core" namespace="FreePBX\modules">stopFreepbx</method>
</framework>
<framework class="Reload" namespace="FreePBX">
<method callingMethod="postReload" class="Core" namespace="FreePBX\Modules">postReloadFreepbx</method>
<method callingMethod="preReload" class="Core" namespace="FreePBX\Modules">preReloadFreepbx</method>
</framework>
</hooks>
<supported>
<version>17.0</version>
</supported>
</module>