|
Home Resources Products
Developers |
Main • Wpchan
How to get it stated?WanpipeInstall and configure wanpipe drivers. (one more configuration page) LibpriInstall libpri. Apply patch for keypad dtmfs. Crossover cableMake a PRI crossover cable: 1-4 2-5 Here are card RJ45 E1/T1 pinouts: 1 2 3 4 5 6 7 8 RX Tip RX Ring n/c TX Tip TX Ring n/c n/c n/c HWECFirst enable bypass mode, then normal: wan_ec_client wanpipe1 be 1-15.17-31 wan_ec_client wanpipe1 mn 1-15.17-31 To check EC status: wan_ec_client wanpipe1 stats 1 I need to set DATA_MUX = YES and DATA_MUX_MAP = 0x01234567 in wanpipe1-4.conf to get hwec working without noise. YateBuild yate: ./configure --with-libpri; make Or with hw dtmf detection: ./configure --with-libpri --with-wphwec=../wanpipe/wanpipe/patches/kdrivers/wanec; make Edit wpchan.conf: [general] buflen=160 restart=0 dumpevents=no dtmfinband=no dtmfdetect=yes samples=40 ; (for E1 : MRU/MTU value of 1200 / 30 = 40) bitswap=no ; (a bad value here produces white noise when playing a sound) overlapdial=1 ; should enable overlap dialing if libpri has support for it [span 1] dgroup=w1g1 bgroup=w1g2 card=wanpipe1 chans=31 first=1 dchan=16 type=pri_net swtype=unknown ; (euroisdn_e1 for euroisdn E1) dialplan=unknown presentation=allow_user_not_screened [span 2] dgroup=w2g1 bgroup=w2g2 card=wanpipe2 chans=31 first=1 dchan=16 type=pri_cpe swtype=unknown ; (euroisdn_e1 for euroisdn E1) dialplan=unknown presentation=allow_user_not_screened Edit regexroute.conf: [priorities] preroute=100 route=100 [contexts] .*=default [default] ^1\(.*\)$=wp/alfa/\1 ^2\(.*\)$=wp/beta/\1 ^3\(.*\)$=wp/gamma/\1 ^4\(.*\)$=wp/delta/\1 ^8.*$=moh/default |
3 May 2010: 8 March 2010: 6-7 February 2010: 2 Nov 2009: 6 Aug 2008: 4 Aug 2008: 10 Jul 2008: Feb 2008: 21 Jan 2008: 3 September: 14 August: 16 April: 25 September: 25 September: 11 July 2006: 10 July 2006: June 1st 2006: |