update asterisk16 to 1.6.2.6 and apply fix from #6255; thanks swalker
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20618 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2c984a2def
commit
f4037eb5e7
@ -8,12 +8,12 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=asterisk
|
PKG_NAME:=asterisk
|
||||||
PKG_VERSION:=1.6.2.1
|
PKG_VERSION:=1.6.2.6
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/
|
PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/
|
||||||
PKG_MD5SUM:=8fbc60f9d80e686c749ae95292e225d8
|
PKG_MD5SUM:=f068ef2433eebdc7f6dd635986f36d77
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
@ -250,6 +250,7 @@ define Package/asterisk16/conffiles
|
|||||||
/etc/asterisk/sip.conf
|
/etc/asterisk/sip.conf
|
||||||
/etc/asterisk/sip_notify.conf
|
/etc/asterisk/sip_notify.conf
|
||||||
/etc/asterisk/features.conf
|
/etc/asterisk/features.conf
|
||||||
|
/etc/asterisk/indications.conf
|
||||||
/etc/asterisk/logger.conf
|
/etc/asterisk/logger.conf
|
||||||
/etc/asterisk/manager.conf
|
/etc/asterisk/manager.conf
|
||||||
/etc/asterisk/rtp.conf
|
/etc/asterisk/rtp.conf
|
||||||
@ -260,7 +261,7 @@ endef
|
|||||||
define Package/asterisk16/install
|
define Package/asterisk16/install
|
||||||
$(INSTALL_DIR) $(1)/etc/asterisk
|
$(INSTALL_DIR) $(1)/etc/asterisk
|
||||||
for f in asterisk extensions features \
|
for f in asterisk extensions features \
|
||||||
logger manager modules \
|
indications logger manager modules \
|
||||||
sip sip_notify rtp; do \
|
sip sip_notify rtp; do \
|
||||||
$(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$$$$f.conf $(1)/etc/asterisk/ ; \
|
$(CP) $(PKG_INSTALL_DIR)/etc/asterisk/$$$$f.conf $(1)/etc/asterisk/ ; \
|
||||||
done
|
done
|
||||||
|
@ -8,7 +8,7 @@ OPTIONS=""
|
|||||||
|
|
||||||
start() {
|
start() {
|
||||||
[ -f $DEFAULT ] && . $DEFAULT
|
[ -f $DEFAULT ] && . $DEFAULT
|
||||||
[ -d $DEST/var/run ] || mkdir -p $DEST/var/run
|
[ -d $DEST/var/run/asterisk ] || mkdir -p $DEST/var/run/asterisk
|
||||||
[ -d $DEST/var/log/asterisk ] || mkdir -p $DEST/var/log/asterisk
|
[ -d $DEST/var/log/asterisk ] || mkdir -p $DEST/var/log/asterisk
|
||||||
[ -d $DEST/var/spool/asterisk ] || mkdir -p $DEST/var/spool/asterisk
|
[ -d $DEST/var/spool/asterisk ] || mkdir -p $DEST/var/spool/asterisk
|
||||||
[ -d /var/spool/asterisk ] || mkdir -p /var/spool/asterisk
|
[ -d /var/spool/asterisk ] || mkdir -p /var/spool/asterisk
|
||||||
@ -17,5 +17,5 @@ start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
[ -f $DEST/var/run/asterisk.pid ] && kill $(cat $DEST/var/run/asterisk.pid) >/dev/null 2>&1
|
[ -f $DEST/var/run/asterisk/asterisk.pid ] && kill $(cat $DEST/var/run/asterisk/asterisk.pid) >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user