wanpipe-7.0.14.tgz

This commit is contained in:
Harald Welte 2021-12-29 19:02:05 +01:00
parent d438b6c6c1
commit c6b4323519
19 changed files with 98 additions and 20 deletions

View File

@ -1,2 +1,2 @@
wanpipe_linux: git ver fbc92f5 wanpipe_linux: git ver fbc92f5
wanpipe_common: git ver 1d075e4 wanpipe_common: git ver 04edaa1

View File

@ -1 +1 @@
wanpipe-7.0.12 wanpipe-7.0.14

View File

@ -3,11 +3,21 @@ WANPIPE TDM VOICE - IP/WAN Package
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
Author: Nenad Corbic <ncorbic@sangoma.com> Author: Nenad Corbic <ncorbic@sangoma.com>
Copyright (c) 1995-2014 Sangoma Technologies Inc. Copyright (c) 1995-2015 Sangoma Technologies Inc.
For more info visit: http://wiki.sangoma.com For more info visit: http://wiki.sangoma.com
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
* Mon Apr 20 2015 Nenad Corbic <ncorbic@sangoma.com> - 7.0.14
==================================================================
- Updated PCIe PLX configuraiton
Fixes the PCIe retry errors on some newer servers
- Bug fix for B601 card
Clock set incorrecty causing the card not to start.
- Wanpipe DADHI config
Added extra /etc/wanpipe/global.conf options
* Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12 * Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12
================================================================== ==================================================================

2
Setup
View File

@ -7387,7 +7387,7 @@ KERNEL_UNAME=`uname -r`
PKG_NAME=wanpipe PKG_NAME=wanpipe
DISTR_NAME="WANPIPE" DISTR_NAME="WANPIPE"
PROD=wanrouter PROD=wanrouter
PROD_VER=7.0.12 PROD_VER=7.0.14
PROD_HOME=`pwd` PROD_HOME=`pwd`
META_CONF=$PROD_HOME/$PROD.rc META_CONF=$PROD_HOME/$PROD.rc
WAN_INTR_DIR=$PROD_HOME/interfaces WAN_INTR_DIR=$PROD_HOME/interfaces

View File

@ -1,5 +1,5 @@
Package: wanpipe Package: wanpipe
Version: 7.0.12-0 Version: 7.0.14-0
Section: networking Section: networking
Priority: optional Priority: optional
Architecture: all Architecture: all

View File

@ -10,14 +10,14 @@
#define WANPIPE_COMPANY "Sangoma Technologies Inc" #define WANPIPE_COMPANY "Sangoma Technologies Inc"
/********** LINUX **********/ /********** LINUX **********/
#define WANPIPE_VERSION "7.0.12" #define WANPIPE_VERSION "7.0.14"
#define WANPIPE_SUB_VERSION "0" #define WANPIPE_SUB_VERSION "0"
#define WANPIPE_LITE_VERSION "1.1.1" #define WANPIPE_LITE_VERSION "1.1.1"
#if defined(__LINUX__) #if defined(__LINUX__)
#define WANPIPE_VERSION_MAJOR 7 #define WANPIPE_VERSION_MAJOR 7
#define WANPIPE_VERSION_MINOR 0 #define WANPIPE_VERSION_MINOR 0
#define WANPIPE_VERSION_MINOR1 12 #define WANPIPE_VERSION_MINOR1 14
#define WANPIPE_VERSION_MINOR2 0 #define WANPIPE_VERSION_MINOR2 0
#endif #endif

View File

@ -1046,7 +1046,7 @@ int a104_set_digital_fe_clock(sdla_t * card)
wan_spin_lock_irq(&card->wandev.lock,&flags); wan_spin_lock_irq(&card->wandev.lock,&flags);
if (IS_B601_CARD(card)) { if (IS_B601_CARD(card)) {
aft_ds_set_clock_ref(card, &reg , 0); aft_ds_set_clock_ref_b601(card,&reg,WAN_FE_LINENO(&card->fe));
} else { } else {
/* For A108 the refclock indicates NORMAL mode. /* For A108 the refclock indicates NORMAL mode.
* For backward compatilbity we make the user * For backward compatilbity we make the user
@ -1084,7 +1084,11 @@ int a104_set_digital_fe_clock(sdla_t * card)
card->hw_iface.bus_read_4(card->hw, card->hw_iface.bus_read_4(card->hw,
AFT_PORT_REG(card,AFT_LINE_CFG_REG),&reg); AFT_PORT_REG(card,AFT_LINE_CFG_REG),&reg);
if (IS_B601_CARD(card)) {
aft_ds_set_clock_ref_b601(card,&reg,WAN_FE_LINENO(&card->fe));
} else {
aft_ds_set_clock_ref(card,&reg,WAN_FE_LINENO(&card->fe)); aft_ds_set_clock_ref(card,&reg,WAN_FE_LINENO(&card->fe));
}
card->hw_iface.bus_write_4(card->hw, card->hw_iface.bus_write_4(card->hw,
AFT_PORT_REG(card,AFT_LINE_CFG_REG),reg); AFT_PORT_REG(card,AFT_LINE_CFG_REG),reg);

View File

@ -2277,8 +2277,12 @@ static int sdla_pcibridge_info(sdlahw_t* hw)
hwcard->u_pci.pci_bridge_dev = NULL; hwcard->u_pci.pci_bridge_dev = NULL;
hwcard->u_pci.pci_bridge_bus = 0; hwcard->u_pci.pci_bridge_bus = 0;
hwcard->u_pci.pci_bridge_slot = 0; hwcard->u_pci.pci_bridge_slot = 0;
} else {
/* Reload PLX EEPROM in order apply the EEPROM values */
sdla_pci_bridge_write_config_dword(hw, 0x84, 0x1004);
sdla_pci_bridge_write_config_dword(hw, 0x88, 0x80000000);
WP_DELAY(10);
} }
#else #else
sdla_plxctrl_read8(hw, 0x00, &val8); sdla_plxctrl_read8(hw, 0x00, &val8);
/* For now, all PLX with blank EEPROM is our new /* For now, all PLX with blank EEPROM is our new

View File

@ -1,6 +1,6 @@
%define WANPIPE_VER wanpipe-modules %define WANPIPE_VER wanpipe-modules
%define name %{WANPIPE_VER} %define name %{WANPIPE_VER}
%define version 7.0.12 %define version 7.0.14
%define release 0 %define release 0
%define serial 1 %define serial 1
%define MODULES_DIR /lib/modules %define MODULES_DIR /lib/modules
@ -59,6 +59,16 @@ fi
%changelog %changelog
* Mon Apr 20 2015 Nenad Corbic <ncorbic@sangoma.com> - 7.0.14
==================================================================
- Updated PCIe PLX configuraiton
Fixes the PCIe retry errors on some newer servers
- Bug fix for B601 card
Clock set incorrecty causing the card not to start.
- Wanpipe DADHI config
Added extra /etc/wanpipe/global.conf options
* Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12 * Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12
================================================================== ==================================================================

View File

@ -1,6 +1,6 @@
%define WANPIPE_VER wanpipe-util %define WANPIPE_VER wanpipe-util
%define name %{WANPIPE_VER} %define name %{WANPIPE_VER}
%define version 7.0.12 %define version 7.0.14
%define release 0 %define release 0
%define serial 1 %define serial 1
%define UTILS_DIR /usr/sbin %define UTILS_DIR /usr/sbin
@ -229,6 +229,16 @@ chmod 755 /usr/local/sbin/setup-sangoma
%changelog %changelog
* Mon Apr 20 2015 Nenad Corbic <ncorbic@sangoma.com> - 7.0.14
==================================================================
- Updated PCIe PLX configuraiton
Fixes the PCIe retry errors on some newer servers
- Bug fix for B601 card
Clock set incorrecty causing the card not to start.
- Wanpipe DADHI config
Added extra /etc/wanpipe/global.conf options
* Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12 * Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12
================================================================== ==================================================================

View File

@ -1,7 +1,7 @@
%define KERNEL_VERSION %{?kern_ver} %define KERNEL_VERSION %{?kern_ver}
%define WANPIPE_VER wanpipe %define WANPIPE_VER wanpipe
%define name %{WANPIPE_VER} %define name %{WANPIPE_VER}
%define version 7.0.12 %define version 7.0.14
%define release 0 %define release 0
%define serial 1 %define serial 1
%define UTILS_DIR /usr/sbin %define UTILS_DIR /usr/sbin
@ -246,6 +246,16 @@ chmod 755 /usr/local/sbin/setup-sangoma
%changelog %changelog
* Mon Apr 20 2015 Nenad Corbic <ncorbic@sangoma.com> - 7.0.14
==================================================================
- Updated PCIe PLX configuraiton
Fixes the PCIe retry errors on some newer servers
- Bug fix for B601 card
Clock set incorrecty causing the card not to start.
- Wanpipe DADHI config
Added extra /etc/wanpipe/global.conf options
* Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12 * Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12
================================================================== ==================================================================

View File

@ -2231,7 +2231,7 @@ init_global_params()
{ {
if [ $OSYSTEM = "Linux" ]; then if [ $OSYSTEM = "Linux" ]; then
ROUTER_VERSION=7.0.12 ROUTER_VERSION=7.0.14
IFCONFIG_LIST=ifconfig IFCONFIG_LIST=ifconfig
MODULE_STAT=lsmod MODULE_STAT=lsmod
WAN_DRIVERS="wanpipe" WAN_DRIVERS="wanpipe"
@ -2601,7 +2601,27 @@ case "$1" in
WANPIPE_GLOBAL_FE_MEDIA=T1 WANPIPE_GLOBAL_FE_MEDIA=T1
fi fi
eval "rm -f $WAN_PROG_LOCK 2> /dev/null > /dev/null" eval "rm -f $WAN_PROG_LOCK 2> /dev/null > /dev/null"
eval "wancfg_dahdi --no-dahdi --no-chan-dahdi --silent --fe_media=$WANPIPE_GLOBAL_FE_MEDIA"
WANCFG_HW_DTMF_OPTION=
if [ "$WANPIPE_GLOBAL_HW_DTMF" != "" ]; then
WANCFG_EXTRA_OPTION="$WANCFG_EXTRA_OPTION --hw_dtmf=$WANPIPE_GLOBAL_HW_DTMF"
fi
WANPIPE_FE_CLOCK=
if [ "$WANPIPE_GLOBAL_FE_CLOCK" != "" ]; then
WANCFG_EXTRA_OPTION="$WANCFG_EXTRA_OPTION --fe_clock=$WANPIPE_GLOBAL_FE_CLOCK"
fi
if [ "$WANPIPE_GLOBAL_FE_TE_SIG" != "" ]; then
WANCFG_EXTRA_OPTION="$WANCFG_EXTRA_OPTION --fe_te_sig=$WANPIPE_GLOBAL_FE_TE_SIG"
fi
if [ "$WANPIPE_GLOBAL_FE_LCODE" != "" ]; then
WANCFG_EXTRA_OPTION="$WANCFG_EXTRA_OPTION ----fe_lcode=$WANPIPE_GLOBAL_FE_LCODE"
fi
if [ "$WANPIPE_GLOBAL_FE_FRAME" != "" ]; then
WANCFG_EXTRA_OPTION="$WANCFG_EXTRA_OPTION ----fe_frame=$WANPIPE_GLOBAL_FE_FRAME"
fi
eval "wancfg_dahdi --no-dahdi --no-chan-dahdi --silent --fe_media=$WANPIPE_GLOBAL_FE_MEDIA $WANCFG_EXTRA_OPTION"
#echo "wancfg_dahdi --no-dahdi --no-chan-dahdi --silent --fe_media=$WANPIPE_GLOBAL_FE_MEDIA $WANCFG_EXTRA_OPTION"
if [ "$WANPIPE_WITH_DIGIUM" = "TRUE" ]; then if [ "$WANPIPE_WITH_DIGIUM" = "TRUE" ]; then
eval "cp $WAN_CONF_DIR/wancfg_zaptel/templates/dahdi_cfg_script_with_digium $WAN_CONF_DIR/scripts/start" eval "cp $WAN_CONF_DIR/wancfg_zaptel/templates/dahdi_cfg_script_with_digium $WAN_CONF_DIR/scripts/start"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -260,7 +260,7 @@ my @silent_first_chans;
my @silent_last_chans; my @silent_last_chans;
my $silent_hwdtmf; my $silent_hwdtmf="YES";
my $silent_femedia="T1"; my $silent_femedia="T1";
my $silent_feframe="ESF"; my $silent_feframe="ESF";
#my $silent_feframe_e1="CRC4"; #my $silent_feframe_e1="CRC4";

View File

@ -25,7 +25,7 @@
# #
%define NAME wanpipe %define NAME wanpipe
%define VERSION 7.0.12 %define VERSION 7.0.14
%define RELEASE 0 %define RELEASE 0
%define KVERSION %{?kernel} %define KVERSION %{?kernel}
%define KSRC %{?ksrc} %define KSRC %{?ksrc}
@ -260,6 +260,16 @@ fi
%changelog %changelog
* Mon Apr 20 2015 Nenad Corbic <ncorbic@sangoma.com> - 7.0.14
==================================================================
- Updated PCIe PLX configuraiton
Fixes the PCIe retry errors on some newer servers
- Bug fix for B601 card
Clock set incorrecty causing the card not to start.
- Wanpipe DADHI config
Added extra /etc/wanpipe/global.conf options
* Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12 * Sat Sep 27 2014 Nenad Corbic <ncorbic@sangoma.com> - 7.0.12
================================================================== ==================================================================