Skip to content

Commit

Permalink
Update issabel-pbx to be framed instead of a module. Bump to version 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolás committed Aug 24, 2023
1 parent f2f594a commit 97b7ddf
Show file tree
Hide file tree
Showing 26 changed files with 198 additions and 2,693 deletions.
15 changes: 12 additions & 3 deletions issabel-pbx.spec
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
%define modname pbx
Summary: Issabel PBX Module
Name: issabel-pbx
Version: 4.0.0
Release: 7
Version: 5.0.0
Release: 1
License: GPL
Group: Applications/System
Source0: issabel-%{modname}-%{version}.tar.gz
Expand All @@ -15,7 +15,7 @@ Requires(pre): vsftpd
#Requires(pre): asterisk >= 1.8
Requires: festival >= 1.95
Requires: picotts
Requires(pre): issabelPBX >= 2.11.0-46
Requires(pre): issabelPBX >= 2.12.0

#Requires: issabel-endpointconfig2 >= 4.0.0-1

Expand Down Expand Up @@ -95,6 +95,14 @@ mv setup/asterisk/moh/* $RPM_BUILD_ROOT/var/lib/asterisk/moh/
rmdir setup/asterisk/*
rmdir setup/asterisk

# issabel_issabelpbx
mkdir -p $RPM_BUILD_ROOT/var/www/html/admin/
mv setup/var/www/html/admin/issabel_issabelpbx_auth.php $RPM_BUILD_ROOT/var/www/html/admin/
rmdir setup/var/www/html/admin
rmdir setup/var/www/html
rmdir setup/var/www
rmdir setup/var

# Moviendo archivos festival y sip_notify_custom_issabel.conf
chmod +x setup/etc/asterisk/sip_notify_custom_issabel.conf
chmod +x setup/etc/init.d/festival
Expand Down Expand Up @@ -297,6 +305,7 @@ fi
%defattr(755, root, root)
/etc/init.d/festival
/bin/asterisk.reload
/var/www/html/admin/issabel_issabelpbx_auth.php
/usr/share/issabel/privileged/*
/var/lib/asterisk/agi-bin/*
/etc/cron.daily/asterisk_cleanup
Expand Down
2 changes: 1 addition & 1 deletion menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<module>
<menulist>
<menuitem menuid="pbxconfig" desc="PBX" parent="" module="no" link="" order="5"></menuitem>
<menuitem menuid="pbxadmin" desc="PBX Configuration" parent="pbxconfig" module="yes" link="" order="1">
<menuitem menuid="pbxadmin" desc="PBX Configuration" parent="pbxconfig" module="no" link="/admin/" order="1">
<permissions>
<group id="1" name="administrator" desc="total access"></group>
</permissions>
Expand Down
20 changes: 0 additions & 20 deletions modules/pbxadmin/help/en.hlp

This file was deleted.

20 changes: 0 additions & 20 deletions modules/pbxadmin/help/es.hlp

This file was deleted.

Binary file removed modules/pbxadmin/images/es_freepbx.png
Binary file not shown.
Binary file removed modules/pbxadmin/images/hlp_freepbx.png
Binary file not shown.
Binary file removed modules/pbxadmin/images/pbx_configuration.png
Binary file not shown.
32 changes: 0 additions & 32 deletions modules/pbxadmin/index.php

This file was deleted.

52 changes: 0 additions & 52 deletions modules/pbxadmin/lang/bg.lang

This file was deleted.

68 changes: 0 additions & 68 deletions modules/pbxadmin/lang/br.lang

This file was deleted.

68 changes: 0 additions & 68 deletions modules/pbxadmin/lang/cn.lang

This file was deleted.

69 changes: 0 additions & 69 deletions modules/pbxadmin/lang/en.lang

This file was deleted.

Loading

0 comments on commit 97b7ddf

Please sign in to comment.