Hi, if somebody can help me!! I appreciate it<div><br></div><div>I compiled OpenR2 for asterisk-1.6.2.15 and Dahdi dahdi-linux-2.4.0,using TE-205P E1s and is working great,</div><div>I also have another E1 from sangoma, but when I tried to compile Wanpipe (wanpipe-3.5.20.14) with Dadhi,does not work</div>
<div><br></div><div>dahdi path: /usr/src/dahdi/dahdi-linux-2.4.0</div><div>Linux Headers: /usr/src/ linux-headers-2.6.32-5-686 </div><div> linux-headers-2.6.32-5-common </div><div> linux-kbuild-2.6.32</div>
<div><br></div><div>dahdi_hardware</div><div>pci:0000:05:02.0 wanpipe- 1923:0300 Sangoma Technologies Corp. A101 single-port T1/E1</div><div>pci:0000:05:04.0 wct4xxp+ d161:0205 Wildcard TE205P</div><div><br>
</div><div><div>Installing WANPIPE Device Drivers: Linux KERNEL</div><div><br></div><div>To integrate WANPIPE Multi-Protocol Voice & WAN Router</div><div>modules into the Linux kernel, the kernel has to be</div><div>updated with latest wanpipe sources. Install will only</div>
<div>modify existing wanpipe source that is already in the</div><div>Kernel.</div><div><br></div><div>IMPORTANT:</div><div>It is always recommended to say YES to all options</div><div>prompted during the install!</div><div>
<br></div><div><br></div><div> ----------------------------------------------------------</div><div> WANPIPE v3.5.20.14 Installation Script</div><div> Copyright (c) 1995-2010, Sangoma Technologies Inc.</div>
<div> ----------------------------------------------------------</div><div><br></div><div><br></div><div>Please specify absolute path name of your linux headers/source directory</div><div><br></div><div>Press Enter for Default: /lib/modules/2.6.32-5-686/build</div>
<div><br></div><div>#>Setting linux directory to /lib/modules/2.6.32-5-686/build</div><div><br></div><div><br></div><div><br></div><div>Upgrading WANPIPE kernel documentation ...Done.</div><div><br></div><div><br></div>
<div>Installing WANPIPE include headers ...Done.</div><div><br></div><div>WANPIPE device drivers upgraded successfully!</div><div><br></div><div><br></div><div> ----------------------------------------------------------</div>
<div> WANPIPE v3.5.20.14 Installation Script</div><div> Copyright (c) 1995-2010, Sangoma Technologies Inc.</div><div> ----------------------------------------------------------</div><div>
<br></div><div>WANPIPE KERNEL DRIVER COMPILATION</div><div><br></div><div>The next step in WANPIPE installation involves compiling</div><div>WANPIPE kernel modules.</div><div><br></div><div>This script will compile and install WANPIPE modules</div>
<div>into the currently running linux kernel.</div><div><br></div><div>For greater customization you will be prompted to</div><div>select which Protocol/Drivers you would like to</div><div>build into the WANPIPE kernel modules.</div>
<div><br></div><div>Wanpipe for Asterisk/Dahdi/Zaptel</div><div> Default for Asterisk/Dahdi/Zaptel</div><div>Wanpipe for Wan Routing/API</div><div> Default for Wan/IP Routing and Data API</div><div>Wanpipe for Asterisk SMG/SS7</div>
<div> Default for Asterisk SS7</div><div>Wanpipe for TDM API</div><div> Default for FreeSwitch and Voice API</div><div><br></div><div>Custom Compilation:</div><div>------------------</div><div> Customise WANPIPE driver compilation to add only the</div>
<div> protocols that you need. This way one can reduce</div><div> the size of the WANPIPE kernel drivers.</div><div><br></div><div>Refer to <a href="http://wiki.sangoma.com">http://wiki.sangoma.com</a> for more info</div>
<div><br></div><div><br></div><div> ----------------------------------------------------------</div><div> WANPIPE v3.5.20.14 Installation Script</div><div> Copyright (c) 1995-2010, Sangoma Technologies Inc.</div>
<div> ----------------------------------------------------------</div><div><br></div><div><br></div><div> Please Select Compilation Mode</div><div><br></div><div>1. WAN Protocols Support</div><div> Protocols: Frame Relay, CHDLC, PPP, ATM, X25, ADSL, TDM API</div>
<div> Default for: Wan Routing, Data & Voice API devel.</div><div><br></div><div>2. TDM Voice (Dahdi/Zaptel) Support</div><div> Protocols: TDMV (Dahid/Zaptel), TDM API on AFT adatpers.</div><div> Default for: Asterisk & CallWeaver</div>
<div><br></div><div>3. TDM Voice (Dahid/Zaptel) + WAN Protocol Support</div><div><br></div><div>4. SMG (SS7) (Default for Asterisk SMG/SS7 install)</div><div><br></div><div>5. SMG (SS7) + TDM Voice (Dahdi/Zaptel)</div><div>
Default for: Asterisk SS7 + PRI</div><div><br></div><div>6. SMG (BRI) (Default for Asterisk SMG/BRI install)</div><div><br></div><div>7. SMG (BRI) + TDM Voice (Dahdi/Zaptel)</div><div> Default for: Asterisk BRI + PRI + Analog</div>
<div><br></div><div>8. SMG (PRI) (Default for Asterisk SMG/PRI install)</div><div><br></div><div>9. SMG (PRI) + TDM Voice (Dahdi/Zaptel)</div><div> Default for: Asterisk SMG/PRI + Analog</div><div><br></div><div>10. TDM API</div>
<div> Protocols: TDM API on AFT adapters:</div><div> Default for: FreeSwitch, Yate, Sunrise</div><div> Custom voice development</div><div><br></div><div>11. Custom Compilation Mode</div><div>
Specify protocols to be added into the WANPIPE</div><div> kernel drivers.</div><div><br></div><div>Please select (1-11) [Default: 1]:</div><div> ----------------------------------------------------------</div>
<div> WANPIPE v3.5.20.14 Installation Script</div><div> Copyright (c) 1995-2010, Sangoma Technologies Inc.</div><div> ----------------------------------------------------------</div><div>
<br></div><div><br></div><div>Looking for zaptel/dahdi directory in /usr/src ...</div><div>-------------------------------------------</div><div>1 : /usr/src/dahdi/dahdi-linux-2.4.0</div><div>------------------------------------------</div>
<div>------------------------------------------</div><div>m : Enter zaptel path manually</div><div><br></div><div>(ctrl-c to Exit)</div><div>Please select working zaptel directory [1-1][m]: 1</div><div><br></div><div>Enabling the TDM Voice Asterisk Support</div>
<div><br></div><div>Dahdi HW HDLC Support Detected: Enabling DCHAN Feature</div><div>Native Dahdi HW HDLC Support Detected - No patch required</div><div>Dahdi source unmodified</div><div><br></div><div>Checking for UDEV Zaptel compatibility... Dahdi installed, no need to add UDEV rules</div>
<div>Enabling the AFT TE1 Support</div><div><br></div><div>Checking for SMP support ...Enabled.</div><div><br></div><div>Checking current processor type ...i686</div><div><br></div><div>Wan Update Flags: -DWANPIPE_MOD_266_FORCE_UPDATE</div>
<div><br></div><div><br></div><div>--------------------------------------------------</div><div>CFLAGS: gcc -Wp,-MD,.wanpipe.o.d -nostdinc -iwithprefix include -D__LINUX__ -Dlinux -D__KERNEL__ -I/usr/include/wanpipe -I/lib/modules/2.6.32-5-686/build/include -DMODULE -DWANPIPE_MOD_266_FORCE_UPDATE make: Entering directory `/usr/src/linux-headers-2.6.32-5-686'</div>
<div>make: Leaving directory `/usr/src/linux-headers-2.6.32-5-686'</div><div>--------------------------------------------------</div><div><br></div><div>Checking for REGPARM kernel option ...</div><div>Warning: Failed to determine regparm from Makefile defaulting to YES!</div>
<div><br></div><div>Enabled.</div><div><br></div><div>Compiling General WANPIPE Driver for 2.6.X Kernel .....Done.</div><div><br></div><div><br></div><div>WAN HWEC module enabled and compiled!</div><div>Linking Wanpipe Driver and protocols ...Done.</div>
<div><br></div><div>Updating Kernel Modules ...Done.</div><div><br></div><div>Compilation Successful.</div><div><br></div><div> ----------------------------------------------------------</div><div> WANPIPE v3.5.20.14 Installation Script</div>
<div> Copyright (c) 1995-2010, Sangoma Technologies Inc.</div><div> ----------------------------------------------------------</div><div><br></div><div>WANPIPE META CONFIGURATION</div><div><br></div><div>
There are two configuration files associated with WANPIPE.</div><div><br></div><div>1) /usr/src/wanpipe/wanpipe-3.5.20.14/wanrouter.rc:</div><div> - defines locations of important files such as lock</div><div> and configuration files as well as start/stop</div>
<div> order of multiple WANPIPE devices.</div><div>2) /usr/src/wanpipe/wanpipe-3.5.20.14/wanpipe1.conf:</div><div> - main configuration file for each WANPIPE device.</div><div> - defines interfaces, hardware and protocol information.</div>
<div> - this file can be created using the 'wancfg' GUI</div><div> utility or manually based on sample files located</div><div> in /etc/wanpipe/samples.</div><div><br></div><div>Please read the WanpipeInstallation.(pdf/txt) manual for further</div>
<div>information.</div><div><br></div><div><br></div><div> ----------------------------------------------------------</div><div> WANPIPE v3.5.20.14 Installation Script</div><div> Copyright (c) 1995-2010, Sangoma Technologies Inc.</div>
<div> ----------------------------------------------------------</div><div><br></div><div>WANPIPE UTILITIES SETUP</div><div><br></div><div>WANPIPE utilities are used to:</div><div> 1) create configuration files: for Zaptel and Asterisk</div>
<div> /usr/sbin/wancfg_zaptel #Zaptel and Asterisk</div><div> /usr/sbin/wancfg_dahdi #Dahdi and Asterisk</div><div> /usr/sbin/wancfg_smg #BRI/SS7, Zaptel and Asterisk</div>
<div> /usr/sbin/wancfg_tdmapi #TDM API</div><div> 2) create WANPIPE WAN/IP configuration files.</div><div> (/usr/sbin/wancfg)</div><div> 3) start,stop,restart individual/all devices and interfaces.</div>
<div> (/usr/sbin/wanrouter)</div><div> 4) debug line, protocol and driver problems.</div><div> (/usr/sbin/wanpipemon)</div><div> 5) aid in WANPIPE API development</div><div> (/etc/wanpipe/api)</div>
<div><br></div><div>Refer to the WanpipeInstallation.(pdf/txt) for more information.</div><div><br></div><div>Compiling WANPIPE LibSangoma API library ...Failed.</div><div><br></div><div><br></div><div><br></div><div>Compiling WANPIPE Utilities ...</div>
<div>make CC=gcc SYSINC=/usr/src/wanpipe/wanpipe-3.5.20.14/patches/kdrivers/include WANINCDIR=/usr/include/wanpipe PROTOCOL_DEFS="-DCONFIG_PRODUCT_WANPIPE_BASE -DCONFIG_PRODUCT_WANPIPE_TDM_VOICE -DCONFIG_PRODUCT_WANPIPE_TDM_VOICE_DCHAN -DCONFIG_PRODUCT_WANPIPE_TDM_VOICE_DCHAN_ZAPTEL -DDAHDI_ISSUES -DCONFIG_PRODUCT_WANPIPE_AFT -DCONFIG_PRODUCT_WANPIPE_AFT_CORE -DCONFIG_PRODUCT_WANPIPE_AFT_TE1 -DCONFIG_PRODUCT_WANPIPE_AFT_56K -DCONFIG_PRODUCT_WANPIPE_AFT_RM -DCONFIG_PRODUCT_WANPIPE_CODEC_SLINEAR_LAW -DCONFIG_PRODUCT_WANPIPE_AFT_BRI -DCONFIG_PRODUCT_WANPIPE_AFT_SERIAL -DCONFIG_PRODUCT_WANPIPE_AFT_A600 -DCONFIG_PRODUCT_WANPIPE_AFT_B601 -DCONFIG_PRODUCT_WANPIPE_AFT_B800 -DCONFIG_PRODUCT_WANPIPE_AFT_A700 -DCONFIG_PRODUCT_WANPIPE_USB -DCONFIG_WANPIPE_HWEC "</div>
<div><br></div><div>Failed!</div><div><br></div><div><br></div><div> !!! WANPIPE Tools Compilation Failed !!!</div><div> Possible solution:</div><div> Wanpipe header files were not installed properly</div>
<div> in /usr/include/wanpipe directory</div><div> Please contact Sangoma Tech. at 905 474-1990</div><div><br></div></div><div><br></div><div><div>root@test:/usr/include/wanpipe# ls</div><div>aft_a104.h octrpc sdla_bscmp.h sdlasfm.h wanpipe_abstr_types.h wanpipe_dsp_kernel.h wanpipe_sppp_iface.h</div>
<div>aft_analog.h octtype.h sdla_bscstrm.h sdla_ss7.h wanpipe_api_deprecated.h wanpipe_ec_kernel.h wanpipe_syncppp.h</div><div>aft_bri.h octtypentdrv.h sdla_bstrm.h sdla_tdmv_dummy.h wanpipe_api.h wanpipe_edac_iface.h wanpipe_tdm_api_ec.h</div>
<div>aft_core_bert.h octtypevx.h sdla_cdev.h sdla_tdmv.h wanpipe_api_hdr.h wanpipe_events.h wanpipe_tdm_api.h</div><div>aft_core.h octtypewin.h sdla_chdlc.h sdla_tdmv.mar8.h wanpipe_api_iface.h wanpipe_fr_iface.h wanpipe_tdm_api_iface.h</div>
<div>aft_core_hwiface.h sdla_56k.h sdladrv.h sdla_te1_ds.h wanpipe_api_legacy.h wanpipe.h wanpipe_timer_iface.h</div><div>aft_core_options.h sdla_a600_remora.h sdladrv_usb.h sdla_te1.h wanpipe_atm_iface.h wanpipe_iface.h wanpipe_tty_iface.h</div>
<div>aft_core_private.h sdla_adccp.h sdla_edu.h sdla_te1_pmc.h wanpipe_cdev_iface.h wanpipe_includes.h wanpipe_usb.h</div><div>aft_core_prot.h sdla_adsl.h sdla_fr.h sdla_te3.h wanpipe_cfg_adsl.h wanpipe_katm_iface.h wanpipe_version.h</div>
<div>aft_core_user.h sdla_adsl_iface.h sdla_front_end.h sdla_te3_reg.h wanpipe_cfg_atm.h wanpipe_kernel.h wanpipe_wanrouter.h</div><div>aft_core_utils.h sdla_aft_te1.h sdla_hdlc.h sdla_template.h wanpipe_cfg_def.h wanpipe_lapb_iface.h wanpipe_x25_kernel.h</div>
<div>apilib sdla_aft_te1_iface.h sdla_mp_fr.h sdla_usb_remora.h wanpipe_cfg_fr.h wanpipe_lapb_kernel.h wanpipe_xdlc_iface.h</div><div>if_wanpipe_common.h sdla_aft_te1_ss7.h sdlapci.h sdla_x25.h wanpipe_cfg.h wanpipe_lapd_iface.h wanpipe_xmtp2_iface.h</div>
<div>if_wanpipe.h sdla_aft_te3.h sdla_pos.h sdla_xilinx.h wanpipe_cfg_hdlc.h wanpipe_lip_atm_iface.h wanproc.h</div><div>if_wanpipe_kernel.h sdla_asy.h sdla_ppp.h sfmdef.h wanpipe_cfg_lip.h wanpipe_lip.h wanrouter.h</div>
<div>linux sdla_asyhdlc.h sdla_remora_analog.h ss7_linux.h wanpipe_cfg_sppp.h wanpipe_lip_hdlc_iface.h xhfc24succ.h</div><div>oct6100api sdla_atm.h sdla_remora.h wanec_iface_api.h wanpipe_codec.h wanpipe_lip_kernel.h zapcompat.h</div>
<div>oct6100_api sdla_atm.orig.h sdla_remora_proslic.h wanec_iface.h wanpipe_codec_iface.h wanpipe_logger.h zapcompat_user.h</div><div>octdef.h sdla_b800_remora.h sdla_remora_tdmv.h wanec_tones.h wanpipe_common.h wanpipe_mtp1.h</div>
<div>octmac.h sdla_bitstrm.h sdla_sdlc.h wan_mem_debug.h wanpipe_debug.h wanpipe_pchdlc_iface.h</div><div>octosdependant.h sdla_bri.h sdla_serial.h wanpipe_abstr.h wanpipe_defines.h wanpipe_snmp.h</div>
</div><div><br></div><div><br></div><div>Thanks in advanced</div>