Wanpipe Yate Installation Advanced Yate Sample/Bitswap Manual Configuration 1. Check out yate from cvs cvs -d :pserver:anonymous@voip.null.ro:/home/cvsroot/private login Just hit Enter when it asks you about the password. cvs -d :pserver:anonymous@voip.null.ro:/home/cvsroot/private checkout yate To build from CVS you will need autoconf 2.53 or later and sox. run: ./autogen.sh 2. Configure yate for libpri and hwec ./configure --with-wphwec=/usr/include/wanpipe --with-libpri make clean make make install 3. Configure yate configuration files Yate config files located by default in yate/ directory yate/conf.d wpchan.conf : wanpipe yate config file Also defines wanpipe groups needed by regexroute.conf regexroute.conf : yate extensions file Refer to wiki.sangoma.com for samples. 4. Run yate from cvs directory yate/ cd yate ./run -vvvvv 5. Wanpipe Confirmation To confirm that everything is working ok. run: ifconfig And confirm that tx/rx values of bchan interface w1g2 are incrementing. And that MTU=1216. Note that 16 is header size which was add to defined value of 1200. -------------------------------------------------- w1g2 Link encap:Point-to-Point Protocol UP POINTOPOINT RUNNING NOARP MTU:1216 Metric:1 RX packets:377689 errors:0 dropped:62199 overruns:0 frame:0 TX packets:374564 errors:1 dropped:0 overruns:1 carrier:62198 collisions:0 txqueuelen:100 RX bytes:453226800 (432.2 MiB) TX bytes:449476800 (428.6 MiB) Interrupt:233 Memory:f8ac0000-f8ac1fff --------------------------------------------------- 6. Check Echo Canceller wan_ec_client wanpipe1 stats ---------------------------------------------------------------------- wanpipe1: Running Get stats command to Echo Canceller device... Done! ****** Echo Canceller Chip Get Stats wanpipe1 ****** wanpipe1: Number of channels currently open 256 wanpipe1: Number of conference bridges currently open 0 wanpipe1: Number of playout buffers currently loaded 0 wanpipe1: Number of framing error on H.100 bus 2 wanpipe1: Number of errors on H.100 clock CT_C8_A 2 wanpipe1: Number of errors on H.100 frame CT_FRAME_A 0 wanpipe1: Number of errors on H.100 clock CT_C8_B 0 wanpipe1: Number of internal read timeout errors 0 wanpipe1: Number of SDRAM refresh too late errors 0 wanpipe1: Number of PLL jitter errors 0 wanpipe1: Number of HW tone event buffer has overflowed 0 wanpipe1: Number of SW tone event buffer has overflowed 0 wanpipe1: Number of SW Playout event buffer has overflowed 0 ------------------------------------------------------------------------ wan_ec_client wanpipe1 stats 1 ------------------------------------------------------------------------ wanpipe1: Running Get stats command to Echo Canceller device... Done! wanpipe1: 1: Echo Channel Operation Mode : NORMAL wanpipe1: 1: Enable Tone Disabler : TRUE wanpipe1: 1: Mute Ports : NONE wanpipe1: 1: Enable Extended Tone Detection : FALSE wanpipe1: 1: Tone Disabler Status : Enabled wanpipe1: 1: Voice activity is detected on SIN port : FALSE wanpipe1: 1: Echo canceller has detected and converged : FALSE wanpipe1: 1: Average power of signal level on RIN : -69 dBm0 wanpipe1: 1: Average power of signal level on SIN : -66 dBm0 wanpipe1: 1: Current gain applied to signal level on RIN : 0 dB wanpipe1: 1: Current gain applied to signal level on SOUT : 0 dB wanpipe1: 1: Average power of the comfort noise injected : -66 dBm0 wanpipe1: 1: (VQE) NLP status : TRUE wanpipe1: 1: (VQE) Enable Tail Displacement : FALSE wanpipe1: 1: (VQE) Echo Cancellation offset windowd (ms) : 0 wanpipe1: 1: (VQE) Comfort noise mode : NORMAL wanpipe1: 1: (VQE) Acoustic Echo : FALSE ------------------------------------------------------------------------ #Check that hwec are active on each channel. wanpipemon -i w1g1 -c ehw ------------------------------------------------------------------------ Sangoma HW Echo Canceller is enabled for channel 1 Sangoma HW Echo Canceller is enabled for channel 2 Sangoma HW Echo Canceller is enabled for channel 3 Sangoma HW Echo Canceller is enabled for channel 4 Sangoma HW Echo Canceller is enabled for channel 5 Sangoma HW Echo Canceller is enabled for channel 6 Sangoma HW Echo Canceller is enabled for channel 7 Sangoma HW Echo Canceller is enabled for channel 8 Sangoma HW Echo Canceller is enabled for channel 9 Sangoma HW Echo Canceller is enabled for channel 10 Sangoma HW Echo Canceller is enabled for channel 11 Sangoma HW Echo Canceller is enabled for channel 12 Sangoma HW Echo Canceller is enabled for channel 13 Sangoma HW Echo Canceller is enabled for channel 14 Sangoma HW Echo Canceller is enabled for channel 15 Sangoma HW Echo Canceller is enabled for channel 17 Sangoma HW Echo Canceller is enabled for channel 18 Sangoma HW Echo Canceller is enabled for channel 19 Sangoma HW Echo Canceller is enabled for channel 20 Sangoma HW Echo Canceller is enabled for channel 21 Sangoma HW Echo Canceller is enabled for channel 22 Sangoma HW Echo Canceller is enabled for channel 23 Sangoma HW Echo Canceller is enabled for channel 24 Sangoma HW Echo Canceller is enabled for channel 25 Sangoma HW Echo Canceller is enabled for channel 26 Sangoma HW Echo Canceller is enabled for channel 27 Sangoma HW Echo Canceller is enabled for channel 28 Sangoma HW Echo Canceller is enabled for channel 29 Sangoma HW Echo Canceller is enabled for channel 30 Sangoma HW Echo Canceller is enabled for channel 31 ------------------------------------------------------------------------
|