-
Notifications
You must be signed in to change notification settings - Fork 6
/
nethvoice-wizard-restapi.spec
322 lines (253 loc) · 15.5 KB
/
nethvoice-wizard-restapi.spec
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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
Name: nethvoice-wizard-restapi
Version: 14.17.0
Release: 1%{?dist}
Summary: Rest API for FreePBX
Group: Network
License: GPLv2
Source0: %{name}-%{version}.tar.gz
BuildRequires: nethserver-devtools
BuildRequires: rh-php56-php-cli, composer
Buildarch: noarch
Requires: nethserver-freepbx
Requires: rh-php56-php-bcmath,rh-php56-php-mbstring
Requires: lame
%description
Rest API for FreePBX
%prep
%setup
%build
perl createlinks
(
cd root/usr/src/google_speech_php
scl enable rh-php56 -- /usr/bin/composer diagnose || :
scl enable rh-php56 -- /usr/bin/composer install --no-dev
)
%install
rm -rf %{buildroot}
(cd root; find . -depth -print | cpio -dump %{buildroot})
mv %{buildroot}/usr/src/google_speech_php/vendor/google/cloud-speech/owlbot.py %{buildroot}/usr/src/google_speech_php/vendor/google/cloud-speech/owlbot.py3
%{genfilelist} %{buildroot} \
> %{name}-%{version}-filelist
mkdir -p %{buildroot}/var/lib/nethserver/nethvoice/phonebook/uploads
%clean
rm -rf %{buildroot}
%files -f %{name}-%{version}-filelist
%defattr(-,root,root,-)
%dir %{_nseventsdir}/%{name}-update
%attr (0774,root,root) /var/www/html/freepbx/rest/lib/scanHelper.py
%attr (0754,root,asterisk) /var/www/html/freepbx/rest/lib/retrieveHelper.sh
%attr (0754,root,asterisk) /var/www/html/freepbx/rest/lib/phonesRebootHelper.php
%attr (0744,root,root) /usr/sbin/tancredi-associate-phones
%attr (0770,root,asterisk) /var/lib/nethserver/nethvoice/phonebook/uploads
%doc
%changelog
* Tue Mar 07 2023 Stefano Fancello <[email protected]> - 14.17.0-1
- NethVoice: add Grandstream HT80X HT81X GXW4200 Series - nethesis/dev#6196
- Add Akuvox phone to tancredi - nethesis/dev#6198
* Wed Jan 25 2023 Stefano Fancello <[email protected]> - 14.16.5-1
- NethVoice: new outbound route has inconsistent configuration - Bug nethesis/dev#6191
* Thu Jan 12 2023 Stefano Fancello <[email protected]> - 14.16.4-1
- NethVoice: if a queue name is changed profile configuration page is not updated - Bug nethesis/dev#6193
* Fri Sep 23 2022 Stefano Fancello <[email protected]> - 14.16.3-1
- Extensions can be created with same number as some featurcodes - Bug nethesis/dev#6179
* Fri Sep 02 2022 Giacomo Sanchietti <[email protected]> - 14.16.2-1
- rsync disaster recovery introduces permissions issue - Bug NethServer/dev#6691
* Mon Aug 01 2022 Stefano Fancello <[email protected]> - 14.16.1-1
- Mywic Trunks needs to send RPID/PAI - Bug nethesis/dev#6176
* Wed Jul 06 2022 Stefano Fancello <[email protected]> - 14.16.0-1
- NethVoice: wizard doesn't reboot NethPhone - Bug nethesis/dev#6168
- Error managing video sources with multiple names - Bug nethesis/dev#6170
- Add Google Speech to text to voicemail - nethesis/dev#6165
* Thu Mar 03 2022 Stefano Fancello <[email protected]> - 14.15.1-1
- Allow all outbound routes in contexts if there aren't any configured (#194)
* Wed Feb 16 2022 Stefano Fancello <[email protected]> - 14.15.0-1
- Add outbound routes permisisons in CTI profiles - nethesis/dev#6103
* Mon Dec 06 2021 Stefano Fancello <[email protected]> - 14.14.0-1
- Use professional voices for English and Italian audio files - nethesis/dev#6085
* Fri Nov 12 2021 Stefano Fancello <[email protected]> - 14.13.2-1
- Accountcode not properly setted by NethVoice - Bug nethesis/dev#6086
- NethVoice14: add Digitalia ICT as VoIP Provider - nethesis/dev#6087
- Patton Trinity - configuration not autoloaded first time - Bug nethesis/dev#6077
- Patton Trinity FXO incorrect handle of outbound busy line - Bug nethesis/dev#6076
- Trunks: raised the max retries value to 10k for long connectivity issue (#185)
- Add Trinity analog Patton 2,4,8 ports (#184)
* Thu Sep 16 2021 Stefano Fancello <[email protected]> - 14.13.1-1
- Fix congestion tone for Patton (#183)
* Thu Sep 16 2021 Stefano Fancello <[email protected]> - 14.13.0-1
- Add 00:A8:59 Mac to Tancredi as Fanvil phones - nethesis/dev#6043
- Change CTI profile instead of context into bulk extensions - nethesis/dev#6032
- Add XStream VoIP trunks provider
* Fri Jul 09 2021 Stefano Fancello <[email protected]> - 14.12.2-1
- Add missing applications from custom contexts - Bug nethesis/dev#6042
* Wed Jun 23 2021 Stefano Fancello <[email protected]> - 14.12.1-1
- custom context for extensions based on CTI permission profile - nethesis/dev#5979
* Fri Jun 18 2021 Stefano Fancello <[email protected]> - 14.12.0-1
- custom context for extensions based on CTI permission profile - nethesis/dev#5979
- Create VoIP trunks using pjsip instead of chan_sip - nethesis/dev#6002
- Wizard: add an option to open parameterized URL only for incoming calls through queues - nethesis/dev#5928
- Add CDR admin and group CDR permissions to reports - nethesis/dev#5991
- Add WiC VoIP provider (#177)
- param url cti: manage also opt for only queues (#170)
* Fri Apr 23 2021 Stefano Fancello <[email protected]> - 14.10.1-1
- Add Nethesis phones to type map and Fanvil RPS provider for Nethesis vendor - nethesis/dev#5956
* Thu Apr 22 2021 Stefano Fancello <[email protected]> - 14.10.0-1
- Add Videoconference URL management - nethesis/dev#5993
- Add NethPhone to NethVoice provisioning - nethesis/dev#5956
- Enhace Voip Trunks management section - nethesis/dev#5982
- Jitsi instant video conference integration - nethesis/dev#5966
- DND and CF status not syncronized from NethCTI to phones - Bug nethesis/dev#5960
* Wed Mar 03 2021 Stefano Fancello <[email protected]> - 14.9.1-1
- Add sleep on push config for Trinity
- Support Trinity config for firmware > 3.17.2
* Tue Jan 26 2021 Stefano Fancello <[email protected]> - 14.9.0-1
- Show devices created by migration from old version - Bug nethesis/dev#5915
- Enabling LDAP from NethVoice wizard doesn't update firewall rules - Bug nethesis/dev#5947
- Can't create extension from FreePBX when is deleted from wizard - Bug nethesis/dev#5906
- Use Flexisip proxy for mobile app phone - nethesis/dev#5904
- New device added for a user is not configured with the correct parameters - Bug nethesis/dev#5887
- Add to Wizard the management of sources to be included in the Nethvoice Phonebook - nethesis/dev#5941
- NethVoice wizard ui and rest SecretKey templates aren't expanded on box - Bug nethesis/dev#5932
- Phonebook CSV sources - nethesis/dev#5903
- NethVoice: new Queue report - nethesis/dev#5865
* Fri Nov 27 2020 Davide Principi <[email protected]> - 14.8.0-1
- Phonebook CSV sources - nethesis/dev#5903
- NethVoice: new Queue report - nethesis/dev#5865
* Mon Oct 26 2020 Stefano Fancello <[email protected]> - 14.7.2-1
- Provisioning: import phone-extension association from CSV - nethesis/dev#5856
- Add two new provider VoIP: Active Network and Neomedia - nethesis/dev#5882
- Missing destinations in bulk extensions - nethesis/dev#5875
* Mon Jul 27 2020 Stefano Fancello <[email protected]> - 14.7.1-1
- Add new VoIP Providers: WiCity and VoipTel (#128)
* Mon Jul 06 2020 Stefano Fancello <[email protected]> - 14.7.0-1
- Provisioning engine migration procedure - nethesis/dev#5832
- Refactor connectivity ceck to allow to call it as function
- Allow to call setFalconieri function with credentials
* Tue Jun 09 2020 Stefano Fancello <[email protected]> - 14.6.1-1
- Tancredi admin password not used when creating a physicalextension - Bug nethesis/dev#5818
- Restart Asterisk when local NAT settings are changed - nethesis/dev#5814
- Check that extension exists before changing its srtp (#125)
- Use device admin password when saving extension (#124)
- Set mainextension in displayname when creating a new secondary extension
* Wed May 06 2020 Davide Principi <[email protected]> - 14.6.0-1
- Modification to adminpw is not propagated into hosts.json for cti click2call - Bug nethesis/dev#5788
* Thu Apr 16 2020 Stefano Fancello <[email protected]> - 14.5.2-1
- Enable TLS and video automatically - nethesis/dev#5763
- Wizard's dashboard can't be reached after admin password change - Bug nethesis/dev#5767
- Allow or deny access to SIPS and RTP port from red interfaces from wizard - nethesis/dev#5772
- Add API to Allow to enable/disable ldap phonebook from wizard - nethesis/dev#5766
* Wed Apr 01 2020 Stefano Fancello <[email protected]> - 14.5.1-1
- REST APIs for NethCTI app - nethesis/dev#5754
- Add Gigaset new mac address - nethesis/dev#5756
- Fix typo on voipvoice trunk address
- APIs for Corbera, the new provisioning (#103)
- Add Talkho VoIP provider
* Tue Nov 26 2019 Stefano Fancello <[email protected]> - 14.5.0-1
- Add Timenet as VoIP provider - nethesis/dev#5741
- Dial malformed - Bug nethesis/dev#5739
- Add VivaVox VoIP provider - nethesis/dev#5733
* Mon Nov 11 2019 Stefano Fancello <[email protected]> - 14.4.2-1
- Upadate gateway description nethesis/dev#5713
* Mon Jul 15 2019 Stefano Fancello <[email protected]> - 14.4.1-1
- Change delete route request behaviour nethesis/dev#5674
* Mon Jul 15 2019 Stefano Fancello <[email protected]> - 14.4.0-1
- Changed the gateways's download returned value format nethesis/dev#5678
- Delete all extensions and EPM devices when deleting an extension nethesis/dev#5671
- Delete pin when extension is removed nethesis/dev#5671
* Tue Jun 25 2019 Stefano Fancello <[email protected]> - 14.3.4-1
- voip trunks: change voipvoice domain
* Thu Jun 13 2019 Alessandro Polidori <[email protected]> - 14.3.3-1
- NethCTI 3: desktop sharing - nethesis/dev#5607
- NethVoice14: don't create mobile extension when webrtc is enabled - nethesis/dev#5622
* Thu May 09 2019 Stefano Fancello <[email protected]> - 14.3.2-1
- Add sudoers right to execute nethserver-phonebook-mysql-save event. Nethesis/dev#5623
- use nethserver-phonebook-mysql-save event to clear and sync phonebook sources. Nethesis/dev#5623
- Fix default national IT outbound pattern to allow 6 digit numbers
- Fix mac addresses string for app recognition
* Fri Apr 05 2019 Stefano Fancello <[email protected]> - 14.3.1-1
- Fix getUserID() on AD nethesis/dev#5598
- Speed up csvimport nethesis/dev#5599
* Tue Mar 26 2019 Stefano Fancello <[email protected]> - 14.3.0-1
- Add phonebook API. nethesis/dev#5557
- make app mac address recognition case insensitive
- Fix Patton FXS configuration: - delete from-internal context in autentication configuration
* Thu Feb 14 2019 Stefano Fancello <[email protected]> - 14.2.2-1
- minor fix Vega 50 24 FXS template. nethesis/dev#5579
* Fri Feb 08 2019 Stefano Fancello <[email protected]> - 14.2.1-1
- Add Panasonic phones to maps Nethesis/dev#5576
- Exclude Sangoma gateways when scanning for phones Nethesis/dev#5567
- Only show unknown devices as GS Wave devices Nethesis/dev#5567
- Add operator panel queues permissions Nethesis/dev#5549
- Add operator panel macro permission Nethesis/dev#5549
- Move default CTI macro permissions and permissions
* Fri Jan 11 2019 Stefano Fancello <[email protected]> - 14.2.0-1
- Removed ad_sms,sms,call_waiting,oppanel permission nethesis/dev#5553
- create new webrtc extensions with h264 enabled nethesis/dev#5546
- Allows to generate configuration for GS Wave App nethesis/dev#5531
- Nethvoice 11 to 14 upgrade wizard restapi (#72) nethesis/dev#5454
* Tue Nov 20 2018 Stefano Fancello <[email protected]> - 14.1.15-1
- Add Fanvil device and mac address nethesis/dev#5515
- Insert CTI permissions into mysql only if it is needed nethesis/dev#5499
* Tue Nov 13 2018 Stefano Fancello <[email protected]> - 14.1.14-1
- Add username and displayname to devices object nethesis/dev#5493
* Thu Oct 04 2018 Stefano Fancello <[email protected]> - 14.1.13-1
- Allow to specify mac address in gateway configuration download request nethesis/dev#5472
* Fri Sep 28 2018 Stefano Fancello <[email protected]> - 14.1.12-1
- Don't use broken core function for trunk name nethesis/dev#5475
- Bulk: write outboundcid to astdb nethesis/dev#5474
* Mon Sep 24 2018 Stefano Fancello <[email protected]> - 14.1.11-1
- Fix indexes of scan device response
* Fri Sep 21 2018 Stefano Fancello <[email protected]> - 14.1.10-1
- Fix missing dialoutprefix in trunks creation. nethesis/dev#5425
- Create new pjsip trunks with 0.0.0.0-udp as transport. nethesis/dev#5425
- README: removed obsolete API DELETE /mainextensions/{extension}
- Check if there if provisioning files to copy to avoid error logs
* Fri Jul 27 2018 Stefano Fancello <[email protected]> - 14.1.9-1
- Minor changes to Xstream VoIP provider for new installations
- Add Xera voip provider
- Add gigaset mac address to type map
- Fix failed testauth return code
- Add phones from tftp requests nethesis/dev#5427
* Mon Jul 02 2018 Stefano Fancello <[email protected]> - 14.1.8-1
- Fix trunk creation for updated version of FreePBX core module nethesis/dev#5426
- Remove user from CTI groups if is main extension is deleted
- Qmanager permission, fix permission removal nethesis/dev#5416
* Tue Jun 12 2018 Stefano Fancello <[email protected]> - 14.1.7-1
- Fix phone scan when more than one network is searched
* Fri Jun 08 2018 Stefano Fancello <[email protected]> - 14.1.6-1
- Remove CSV header and sample line
* Wed Jun 06 2018 Stefano Fancello <[email protected]> - 14.1.5-1
- Fix: only add phones once when scanning overlapping networks
- Fix admin password escape
- New API and sql table for parameterized URLs nethesis/dev#5412
- Fix voicemail delete
- Add outbound cid to bulk API nethesis/dev#5402
- Use SCL to execute external php nethesis/dev#5406
- Add csv export API nethesis/dev#5411
- Add cellphone,voicemail,webrtc CTI groups and CTI profile to CSV import nethesis/dev#5411
- Patton analog: add mute-dialing to prevent incorrect ringing from the provider.
* Tue May 08 2018 Stefano Fancello <[email protected]> - 14.1.4-1
- Allow to configure two gateways with same brand and model nethesis/dev#5390
- Sangoma 60 FXO model: fix disconnect signal for fxo ports
* Fri Apr 20 2018 Stefano Fancello <[email protected]> - 14.1.3-1
- Add Gigaset MAC address nethesis/dev#5327
* Thu Apr 19 2018 Stefano Fancello <[email protected]> - 14.1.2-1
- CSV import: more permissive regexp for base64
* Thu Apr 12 2018 Stefano Fancello <[email protected]> - 14.1.1-1
- Disable callwaiting on new extensions created nethesis/dev#5377
- Add support for Sangoma 60 Gateways nethesis/dev#5372
- CSV Import API: accept different file format for Windows compatibilty nethesis/dev#5371
* Fri Apr 06 2018 Stefano Fancello <[email protected]> - 14.1.0-1
- Add import from CSV file rest APIs nethesis/dev#5371
- Add /bulk GET and POST rest API nethesis/dev#5365
- Launch sql scripts on update event nethesis/dev#5370
- Error if username starts with a number
- Check if userman directory is locked before associating extension to user nethesis/dev#5368
- move extension creating into libExtension library
- CustomerCard: retrieve conf after a new db connection is created nethesis/dev#5362
- Change VoipVoice VoIP trunk options nethesis/dev#5359
* Fri Mar 16 2018 Stefano Fancello <[email protected]> - 14.0.1-1
- Hide ldapservice user from wizard interface nethesis/dev#5357
- Recognize Sangoma Vega 60 Gateways nethesis/dev#5357
* Fri Feb 23 2018 Stefano Fancello <[email protected]> - 14.0.0-1
- Don't configure AORs if gateway is only FXS. Nethesis/dev#5342
- Package separated from nethserver-nethvoice14. Nethesis/dev#5341