#================================================ # WANPIPE1 Configuration File for YATE #================================================ # # Date: Tue Aug 30 13:40:34 EDT 2006 # # Note: This file was generated automatically # by /usr/sbin/wancfg program. # # If you want to edit this file, it is # recommended that you use wancfg program # to do so. #================================================ # Sangoma Technologies Inc. #================================================ [devices] wanpipe1 = WAN_AFT_TE1, Comment #WAN_AFT_TE1 - Indicates A104 card #WAN_AFT - Indicates A101/2 card #==================================================== #Configure DCHAN and BCHAN # #Hardware Interface # #w1g1 - if name # #wanpipe1 - device name must be same as above # # - not used # #API - opertaion mode indicating that # custom api program is running over # this interface [interfaces] w1g1 = wanpipe1, , API, Comment #DCHAN w1g2 = wanpipe1, , API, Comment #BCHAN [wanpipe1] #-------- DEVICE / DRIVER BINDING ---------------------------------- CARD_TYPE = AFT #AFT: Same for all aft cards must #This value must be hardcoed to AFT for all #aft cards. S514CPU = A #Used by A101/2 driver to determine T1/E1 port #A - port 1 #B - port 2 #For A104 driver: Always set this value to A! CommPort = PRI #Only used by S514 cards. #PRI - S514 primary port #SEC - S514 secondary port # #OBSELETE for AFT cards (can be removed) #-------- PCI SETUP ---------------------------------------------- AUTO_PCISLOT = NO #Auto detect PCI/BUS info for this card type #NO - disable this option #YES- enable this option # if enabled bottom two options # PCISLOT and PCIBUS will not be used. # Therefore one can set the to arbitrary value # or remove them all together. PCISLOT = 1 #PCI SLOT Number: #Valid values = any number PCIBUS = 3 #PCI BUS Number: #Valid values = any number #--------------FRONT END SETUP ----------------------------------- FE_MEDIA = E1 #Front End Type: #T1 - set front end for T1 mode #E1 - set front end for E1 mode FE_LCODE = HDB3 #Front End Line Coding #If T1: B8ZS or AMI # E1: HDB3 or AMI FE_FRAME = CRC4 #Front End Framing #If T1: ESF or D4 # E1: CRC4 or NCRC4 FE_LINE = 1 #Front End Line number. #Used by A104 driver to determine T1/E1 port #Valid values are: 1-4 # #The A101/2 driver doesn't use this option #so one should hardcode it to 1 or #remove it all together. TE_CLOCK = MASTER #T1/E1 Clock Source #NORMAL - slave clock, clock is received from telco # This is always the DEFAULT #MASTER - master clcok, use hw oscillator clock # Only used in back to back mode or # when specified by telco. TE_REF_CLOCK = 0 #T1/E1 Reference Clock Source #This option allows one to use the incoming clock #from a different port as a clock source to this #port. FOR THIS OPTION TO WORK: TE_CLOCK=MASTER #Valid options: 0 - disable # 1-4 - use clock from particular port ACTIVE_CH = ALL #Specify T1/E1 Active channels (timeslots) #Since AFT cards support channelization this #option MUST BE HARDCODED TO: ALL! TE_HIGHIMPEDANCE = NO #Set the Front Ent chip in High Impedance mode #used for datascoping: #NO - Disable high impedance mode (DEFAULT) #YES - Enable hight impedance mode # (only if you know what you are doing) LBO = 0DB #Front End Line Buildout # 0db (Default) # 7.5dB # 15dB # 22.5dB # 0-110ft # 110-220ft # 220-330ft # 330-440ft # 440-550ft # 550-660ft FE_TXTRISTATE = NO #Front End Tri-State Mode #Disable front end chip TX mode #Used for datascoping or connecting multiple ports #together where one port is operating normally and others #are tristated, thus only receiving. #NO - Disable tristae mode #YES- Enable tristate mode MTU = 1500 #Global MTU Value #Note: This value is overwritten by the # interface MTU value below if it exists. #Values: any number [ suggested 128 - 4086 ] UDPPORT = 9000 #OBSELETE option #Old wanpipemon used sockets to connect to #device driver. TTL = 255 #OBSELETE option #Old wanpipemon used sockets to connect to #device driver. IGNORE_FRONT_END = NO #Ignore Fronte End State #NO - Do not ignore front end state, # therefore if state changes, change the # state of the above protocol. #YES- Igonore front end state # Thus if front end goes down, the protocol # will not know. DATA_MUX_MAP = 0x76543210 #Configure Bitswap map #------------------------------------------- #Hardware Interface Configuration #------------------------------------------- #DCHAN Inteface Configuration [w1g1] HDLC_STREAMING = YES #This is a DCHAN running PRI #We MUST enable Hardwaer HDLC Engine #Enable HDLC engine on this interface #YES - HDLC engine enabled. # All frames Rx/Tx from/to this interface # will be in HDLC format. #NO - HDLC engine disabled. # Rx/Tx Transparent (Raw) bits to and from # interface. ACTIVE_CH = 16 #DCHAN Timeslot binding #For E1 default DCHAN 16 #For T1 default DCHAN 24 #Specify what T1/E1 timeslots should be boudned #to this interface. #ALL - All timeslots #1-5 - 1 to 5 #1.5 - 1 and 5 #1-10.11-20 - 1 to 10 and 11 to 20 MTU = 1500 #Maximum Tx Size for this interface #if this value is NOT set the global #MTU value will be used MRU = 1500 #Maximum Rx Size for this interface #if this value is NOT set the global #MRU value will be used #---------------------------------------------- #BCHAN Inteface Configuration #---------------------------------------------- [w1g2] HDLC_STREAMING = NO #BCHAN intefaces carry voice there fore #onbaord HDLC engine must be turned OFF. #Enable HDLC engine on this interface #YES - HDLC engine enabled. # All frames Rx/Tx from/to this interface # will be in HDLC format. #NO - HDLC engine disabled. # Rx/Tx Transparent (Raw) bits to and from # interface. ACTIVE_CH = 1-15.17-31 #BCHAN Timeslot binding #For E1 select all voice channels (skip dchan) #For T1 select all voice channels (skip dchan) #Specify what T1/E1 timeslots should be boudned #to this interface. #ALL - All timeslots #1-5 - 1 to 5 #1.5 - 1 and 5 #1-10.11-20 - 1 to 10 and 11 to 20 MTU = 1200 #This value determines the TX CHUNK #size for each T1/E1 channel. #Determine your per channel CHUNK size. #Default: 40 (5ms worth of voice) # #Based on the number of channels in ACTIVE_CH above. # #Multiply the CHUNK Size * Number of B Channels. # #In our case: 40*30 = 1200 bytes. # #This value maps to "samples" in yate wpchan.conf # MRU = 1200 #This value determines the RX CHUNK #size for each T1/E1 channel. #Determine your per channel CHUNK size. #Default: 40bytes = (5ms worth of voice) # #Based on the number of channels in ACTIVE_CH above. #eg: 30 voiee channels. # #Multiply the CHUNK Size * Number of B Channels. # #In our case: 40*30 = 1200 bytes. # #This value maps to "samples" in yate wpchan.conf # DATA_MUX = YES #Enable Bitswapping on BCHAN TDMV_HWEC = YES #Optional Hardware Echo Chancellation #If running a AFT D Series cards with #onboard HW Echo Cancellation chips, #ENABLE this option. # #Options: YES - Enable HWEC # NO - Disable HWEC # #IMPORTANT Note: #HWDTMF and HWEC will automatically be enabled #on Yate startup. #HWEC commands # # wan_ec_client wanpipe1 stats # wan_ec_client wanpipe1 stats # wan_ec_client wanpipe1 enable 1-15.17-31 # wan_ec_client wanpipe1 disable 1-15.17-31 #