Skip to content

Commit 534031c

Browse files
committed
Squashed 'feeds/telephony/' content from commit 75a04e3
git-subtree-dir: feeds/telephony git-subtree-split: 75a04e3
0 parents  commit 534031c

File tree

107 files changed

+9524
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+9524
-0
lines changed

MAINTAINERS

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# _______ ________ __
2+
# | |.-----.-----.-----.| | | |.----.| |_
3+
# | - || _ | -__| || | | || _|| _|
4+
# |_______|| __|_____|__|__||________||__| |____|
5+
# |__| W I R E L E S S F R E E D O M
6+
#
7+
# People listed here are managing the OpenWrt telephony feed. Use
8+
# alphabetical order when updating the list.
9+
10+
Jiri Slachta <[email protected]>
11+
Luka Perkov <[email protected]>
12+

admin/asterisk11-gui/Makefile

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
#
2+
# Copyright (C) 2014 OpenWrt.org
3+
#
4+
# This is free software, licensed under the GNU General Public License v2.
5+
# See /LICENSE for more information.
6+
#
7+
8+
include $(TOPDIR)/rules.mk
9+
10+
PKG_NAME:=asterisk11-gui
11+
PKG_VERSION:=2.1.0-rc1
12+
PKG_RELEASE:=4
13+
14+
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/
15+
PKG_SOURCE:=asterisk-gui-$(PKG_VERSION).tar.gz
16+
PKG_MD5SUM:=055bf2aaba365e696198925d039ac3cb
17+
PKG_BUILD_DIR:=$(BUILD_DIR)/asterisk11-gui-$(PKG_VERSION)
18+
19+
PKG_LICENSE:=GPL-2.0
20+
PKG_LICENSE_FILES:=COPYING LICENSE
21+
22+
include $(INCLUDE_DIR)/package.mk
23+
24+
define Package/asterisk11-gui
25+
SECTION:=admin
26+
CATEGORY:=Administration
27+
TITLE:=Asterisk GUI for Asterisk 11.x
28+
DEPENDS:=+@PACKAGE_asterisk11 +asterisk11-app-exec +asterisk11-app-system
29+
VERSION:=$(PKG_VERSION)
30+
endef
31+
32+
define Package/asterisk11-gui/description
33+
Asterisk11 GUI is a framework for the creation of graphical interfaces
34+
for configuring Asterisk-11.x package.
35+
endef
36+
37+
EXTRA_CFLAGS:=$(TARGET_CPPFLAGS)
38+
EXTRA_LDFLAGS:=$(TARGET_LDFLAGS)
39+
40+
define Build/Prepare
41+
rm -rf $(PKG_BUILD_DIR)/
42+
mkdir -p $(PKG_BUILD_DIR)/
43+
$(TAR) -xzf $(DL_DIR)/$(PKG_SOURCE) -C $(PKG_BUILD_DIR) --strip 1
44+
$(Build/Patch)
45+
endef
46+
47+
define Build/Configure
48+
( cd $(PKG_BUILD_DIR); ./bootstrap.sh )
49+
$(call Build/Configure/Default, \
50+
--build=$(GNU_HOST_NAME) \
51+
--host=$(GNU_TARGET_NAME) \
52+
--target=$(GNU_TARGET_NAME) \
53+
--prefix=/usr \
54+
--disable-nls \
55+
--disable-static \
56+
--localstatedir="/usr" \
57+
--sysconfdir="/etc" \
58+
)
59+
endef
60+
61+
define Build/Compile
62+
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)"
63+
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
64+
endef
65+
66+
define Package/asterisk11-gui/install
67+
$(INSTALL_DIR) $(1)/etc/asterisk/
68+
$(CP) ./files/gui_* $(1)/etc/asterisk/
69+
$(INSTALL_DIR) $(1)/usr/lib/asterisk/static-http
70+
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/static-http/* $(1)/usr/lib/asterisk/static-http
71+
$(INSTALL_DIR) $(1)/usr/lib/asterisk/scripts
72+
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/scripts/* $(1)/usr/lib/asterisk/scripts
73+
$(INSTALL_DIR) $(1)/usr/lib/asterisk/gui_backups
74+
endef
75+
76+
$(eval $(call BuildPackage,asterisk11-gui))
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
;
2+
; Asterisk Builtin mini-HTTP server
3+
;
4+
;
5+
[general]
6+
;
7+
; Whether HTTP interface is enabled or not. Default is no.
8+
;
9+
enabled=yes
10+
;
11+
; Whether Asterisk should serve static content from http-static
12+
; Default is no.
13+
;
14+
enablestatic=yes
15+
;
16+
; Address to bind to. Default is 0.0.0.0
17+
;
18+
bindaddr=0.0.0.0
19+
;
20+
; Port to bind to (default is 8088)
21+
;
22+
bindport=8088
23+
;
24+
; Prefix allows you to specify a prefix for all requests
25+
; to the server. The default is "asterisk" so that all
26+
; requests must begin with /asterisk
27+
;
28+
;prefix=asterisk
29+
30+
; The post_mappings section maps URLs to real paths on the filesystem. If a
31+
; POST is done from within an authenticated manager session to one of the
32+
; configured POST mappings, then any files in the POST will be placed in the
33+
; configured directory.
34+
;
35+
;[post_mappings]
36+
;
37+
; In this example, if the prefix option is set to "asterisk", then using the
38+
; POST URL: /asterisk/uploads will put files in /var/lib/asterisk/uploads/.
39+
;uploads = /var/lib/asterisk/uploads/
40+
;
41+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
;
2+
; Asterisk Call Management support
3+
;
4+
5+
; By default asterisk will listen on localhost only.
6+
[general]
7+
enabled = yes
8+
webenabled=yes
9+
port = 5038
10+
bindaddr = 0.0.0.0
11+
12+
; No access is allowed by default.
13+
; To set a password, create a file in /etc/asterisk/manager.d
14+
; use creative permission games to allow other serivces to create their own
15+
; files
16+
17+
#[admin]
18+
# secret = securePassword
19+
# read = system,call,log,verbose,command,agent,config
20+
# write = system,call,log,verbose,command,agent,config
21+

admin/asterisk11-gui/files/gui_users.conf

Whitespace-only changes.

admin/asterisk18-gui/Makefile

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
#
2+
# Copyright (C) 2014 OpenWrt.org
3+
#
4+
# This is free software, licensed under the GNU General Public License v2.
5+
# See /LICENSE for more information.
6+
#
7+
8+
include $(TOPDIR)/rules.mk
9+
10+
PKG_NAME:=asterisk18-gui
11+
PKG_VERSION:=2.1.0-rc1
12+
PKG_RELEASE:=1
13+
14+
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk-gui/releases/
15+
PKG_SOURCE:=asterisk-gui-$(PKG_VERSION).tar.gz
16+
PKG_MD5SUM:=055bf2aaba365e696198925d039ac3cb
17+
PKG_BUILD_DIR:=$(BUILD_DIR)/asterisk18-gui-$(PKG_VERSION)
18+
19+
PKG_LICENSE:=GPL-2.0
20+
PKG_LICENSE_FILES:=COPYING LICENSE
21+
22+
include $(INCLUDE_DIR)/package.mk
23+
24+
define Package/asterisk18-gui
25+
SECTION:=admin
26+
CATEGORY:=Administration
27+
TITLE:=Asterisk GUI for Asterisk 1.8.x
28+
DEPENDS:=+@PACKAGE_asterisk18 +asterisk18-chan-local +asterisk18-app-exec +asterisk18-app-system
29+
VERSION:=$(PKG_VERSION)
30+
endef
31+
32+
define Package/asterisk18-gui/description
33+
Asterisk18 GUI is a framework for the creation of graphical interfaces
34+
for configuring Asterisk-1.8.x package.
35+
endef
36+
37+
EXTRA_CFLAGS:=$(TARGET_CPPFLAGS)
38+
EXTRA_LDFLAGS:=$(TARGET_LDFLAGS)
39+
40+
define Build/Prepare
41+
rm -rf $(PKG_BUILD_DIR)/
42+
mkdir -p $(PKG_BUILD_DIR)/
43+
$(TAR) -xzf $(DL_DIR)/$(PKG_SOURCE) -C $(PKG_BUILD_DIR) --strip 1
44+
$(Build/Patch)
45+
endef
46+
47+
define Build/Configure
48+
( cd $(PKG_BUILD_DIR); ./bootstrap.sh )
49+
$(call Build/Configure/Default, \
50+
--build=$(GNU_HOST_NAME) \
51+
--host=$(GNU_TARGET_NAME) \
52+
--target=$(GNU_TARGET_NAME) \
53+
--prefix=/usr \
54+
--disable-nls \
55+
--disable-static \
56+
--localstatedir="/usr" \
57+
--sysconfdir="/etc" \
58+
)
59+
endef
60+
61+
define Build/Compile
62+
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)"
63+
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" install
64+
endef
65+
66+
define Package/asterisk18-gui/install
67+
$(INSTALL_DIR) $(1)/etc/asterisk/
68+
$(CP) ./files/gui_* $(1)/etc/asterisk/
69+
$(INSTALL_DIR) $(1)/etc/init.d/
70+
$(INSTALL_BIN) ./files/asterisk-gui.init $(1)/etc/init.d/asterisk-gui
71+
$(INSTALL_DIR) $(1)/usr/lib/asterisk/static-http
72+
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/static-http/* $(1)/usr/lib/asterisk/static-http
73+
$(INSTALL_DIR) $(1)/usr/lib/asterisk/scripts
74+
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/scripts/* $(1)/usr/lib/asterisk/scripts
75+
$(INSTALL_DIR) $(1)/usr/lib/asterisk/gui_backups
76+
endef
77+
78+
$(eval $(call BuildPackage,asterisk18-gui))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/sh /etc/rc.common
2+
START=99
3+
start() {
4+
[ ! -L /var/lib/asterisk ] && {
5+
mkdir /var/lib -p
6+
ln -sf /usr/lib/asterisk /var/lib/asterisk
7+
}
8+
}
9+
10+
stop() {
11+
[ -L /var/lib/asterisk ] && {
12+
rm /var/lib/asterisk
13+
}
14+
}
15+
16+
restart() {
17+
stop
18+
start
19+
}
20+
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
;
2+
; Asterisk Builtin mini-HTTP server
3+
;
4+
;
5+
[general]
6+
;
7+
; Whether HTTP interface is enabled or not. Default is no.
8+
;
9+
enabled=yes
10+
;
11+
; Whether Asterisk should serve static content from http-static
12+
; Default is no.
13+
;
14+
enablestatic=yes
15+
;
16+
; Address to bind to. Default is 0.0.0.0
17+
;
18+
bindaddr=0.0.0.0
19+
;
20+
; Port to bind to (default is 8088)
21+
;
22+
bindport=8088
23+
;
24+
; Prefix allows you to specify a prefix for all requests
25+
; to the server. The default is "asterisk" so that all
26+
; requests must begin with /asterisk
27+
;
28+
;prefix=asterisk
29+
30+
; The post_mappings section maps URLs to real paths on the filesystem. If a
31+
; POST is done from within an authenticated manager session to one of the
32+
; configured POST mappings, then any files in the POST will be placed in the
33+
; configured directory.
34+
;
35+
;[post_mappings]
36+
;
37+
; In this example, if the prefix option is set to "asterisk", then using the
38+
; POST URL: /asterisk/uploads will put files in /var/lib/asterisk/uploads/.
39+
;uploads = /var/lib/asterisk/uploads/
40+
;
41+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
;
2+
; Asterisk Call Management support
3+
;
4+
5+
; By default asterisk will listen on localhost only.
6+
[general]
7+
enabled = yes
8+
webenabled=yes
9+
port = 5038
10+
bindaddr = 0.0.0.0
11+
12+
; No access is allowed by default.
13+
; To set a password, create a file in /etc/asterisk/manager.d
14+
; use creative permission games to allow other serivces to create their own
15+
; files
16+
17+
#[admin]
18+
# secret = securePassword
19+
# read = system,call,log,verbose,command,agent,config
20+
# write = system,call,log,verbose,command,agent,config
21+

admin/asterisk18-gui/files/gui_users.conf

Whitespace-only changes.

libs/bcg729/Makefile

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
#
2+
# Copyright (C) 2006-2014 OpenWrt.org
3+
#
4+
# This is free software, licensed under the GNU General Public License v2.
5+
# See /LICENSE for more information.
6+
#
7+
8+
include $(TOPDIR)/rules.mk
9+
10+
PKG_NAME:=bcg729
11+
PKG_VERSION:=1.0.0
12+
PKG_RELEASE:=1
13+
14+
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15+
PKG_SOURCE_URL:=http://download-mirror.savannah.gnu.org/releases/linphone/plugins/sources/
16+
PKG_MD5SUM:=45e127a9a309aff94d3262d97b5aeab0
17+
18+
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19+
PKG_INSTALL:=1
20+
21+
PKG_LICENSE:=GPL-2.0+
22+
PKG_LICENSE_FILES:=COPYING
23+
PKG_MAINTAINER:=Alex Samorukov <[email protected]>
24+
25+
include $(INCLUDE_DIR)/package.mk
26+
27+
define Package/bcg729
28+
SUBMENU:=Telephony
29+
SECTION:=libs
30+
CATEGORY:=Libraries
31+
TITLE:=Software G729A encoder and decoder library written in C
32+
URL:=http://www.linphone.org/technical-corner/bcg729.html
33+
DEPENDS:=@BUILD_PATENTED
34+
endef
35+
36+
define Package/bcg729/description
37+
Bcg729 is a software G729A encoder and decoder library written in C, developed
38+
by Belledonne Communications, the company supporting the Linphone project.
39+
It was written from scratch and is NOT a derivative work of ITU reference
40+
source code in any kind.
41+
endef
42+
43+
TARGET_CFLAGS += $(FPIC)
44+
CONFIGURE_ARGS += \
45+
--enable-shared \
46+
--enable-static
47+
48+
define Build/InstallDev
49+
$(INSTALL_DIR) $(1)/usr/include
50+
$(CP) -R $(PKG_INSTALL_DIR)/usr/include/bcg729 $(1)/usr/include/
51+
$(INSTALL_DIR) $(1)/usr/lib
52+
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libbcg729.{a,so*} $(1)/usr/lib/
53+
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
54+
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libbcg729.pc $(1)/usr/lib/pkgconfig/
55+
endef
56+
57+
define Package/bcg729/install
58+
$(INSTALL_DIR) $(1)/usr/lib
59+
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libbcg729.so* $(1)/usr/lib/
60+
endef
61+
62+
$(eval $(call BuildPackage,bcg729))

0 commit comments

Comments
 (0)