FXM FAQ

From synwaywiki
Revision as of 09:45, 13 May 2015 by Admin (Talk | contribs) (Created page with "==Why do noises appear while using the FXM-8A/PCI or FXM-16A/PCIe board?=== It may be due to the incomplete downloading of the firmware after Zaptel/Dahdi installation. Please...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Why do noises appear while using the FXM-8A/PCI or FXM-16A/PCIe board?=

It may be due to the incomplete downloading of the firmware after Zaptel/Dahdi installation. Please make sure the network is well connected when you execute the command ./Setup install.

How to determine the board arrangement when there are more than one AST board?

If zaptel is configured automatically, you may check /etc/zaptel.conf or /etc/dahdi/system.conf to see the board arrangement. If zaptel is configured manually, you may execute the command #cat /var/log/messages | grep "Launching card" to check the board arrangement. If the board arrangement is determined by their serial number, pay attention to the time when you execute the command.

How to install the SynAST driver in a dahdi version for which driver and tools are published separately?

Please download the driver and tools of dahdi separately.

1.By Script

#cd /opt					# enter the directory to source codes
#tar –zxvf SynAST-2.0.1.0.tar.gz		# decompress the SynAST driver
#cd SynAST-2.0.1.0				# enter the directory to the SynAST driver
#cd dahdi					# enter the directory to the ‘synway ast for dahdi’ driver
#./Setup install 				# install the driver
Would you like to install SynAST AST package now? y			# enter ‘y’ to install
Please enter working dahdi directory [q](exit install) : /opt/dahdi_driver 
# enter the directory to dahdi_driver source codes
Please enter dahdi_tools source directory [q](exit install):
                                           # enter the directory to dahdi_tools source codes
SELECT TEJ MODE [t, e, j] :e	   # select the tej mode, or the driver will be installed in e1 mode
SELECT TEJXAPCI [75, 120]ohm      # set the impedance of the TEJ pci board, 75 for coaxial cables, 120 for twisted-pair cables
SELECT TEJ201E [75, 120]ohm       # set the impedance of the tej201e board, 75 for coaxial cables, 120 for twisted-pair cables

2.Manually

#cd /opt							# enter the directory to the package of SynAST source codes
#tar –zxvf SynAST-2.0.1.0.tar.gz		# decompress the source codes
#cp –rf /opt/SynAST-2.0.1.0/dahdi/srcs/fxm/fxm8apci /opt/dahdi_driver/drivers/dahdi 
			# copy the fxm8apci driver to the dahdi_driver directory.
#cd /opt/dahdi/linux/drivers/dahdi/fxm8apci 
# enter the directory to SynAST source codes in dahdi
#make								# compile the driver
#insmod fxm8apci.ko					# load the driver

#cd /opt/dahdi_tools                  # enter the directory to dahdi tools 
#./configure
#make								# compile dahdi_tools
#make install							# install dahdi_tools

How to determine the use of Zaptel or Dahdi for Asterisk?

For Asterisk-1.4.21 and versions below, use Zaptel; for Asterisk-1.4.22 and versions above, use Dahdi.

How to solve the problem that the system fails to detect the hangup at remote end as the volume of the recorded busy tone is quite low?

Modify the file main/dsp.c under the Asterisk directory, changing the previous content ‘#define DEFAULT_THRESHOLD 512’ to ‘#define DEFAULT_THRESHOLD 448’. The value can be reduced again if the problem is not solved yet.

How to solve the problem that the zaptel driver fails to be installed in the system of Ubuntu 8.10, kernel 2.6.27-7-server?

Use the dahdi driver.

How to solve the problem that the configuration files zaptel.conf and zapata.conf cannot be found under dahdi?

/etc/dahdi/system.conf under dahdi corresponds to /etc/zaptel.conf under zaptel. The configuration files system.conf and zaptel.conf, although differ in name, are the same in content. /etc/asterisk/chan_dahdi.conf under dahdi corresponds to /etc/asterisk/zapata.conf under zaptel. The configuration files chan_dahdi.conf and zapata.conf, although differ in name, are the same in content.

How to solve the failure of FXM boards to receive the calling party number?

If you are using a version of zaptel, please uninstall it first. Then install a dahdi version and operate as follows (take the FXM-8A/PCI board for example). Execute the command ‘echo 32 > /sys/module/fxm8apci/parameters/ringdebounce’. Then test if the board can well receive the calling party number. If the reception still fails, change 32 in this command to 16 or 8 and retest. Note: If the file /sys/module/fxm8apci/parameters/ringdebounce does not exist, modify the command to ‘echo 32 >/sys/module/fxm8apci/ringdebounce’.

How to use the function of FXM series boards to adjust recording and playback volumes?

This volume adjustment function is valid to all channels on the same kind of boards. The value range of the parameter x is 1~255 which represents the DB value of 20log(x/10). To adjust the recording volume for FXM-8A-PCI, execute the command: echo x > /sys/module/fxm8apci/parameters/recvolume; To adjust the playback volume for FXM-8A-PCI, execute the command: echo x > /sys/module/fxm8apci/parameters/playvolume; To adjust the recording volume for FXM-16A-PCIe, execute the command: echo x > /sys/module/fxm16apcie/parameters/recvolume; To adjust the playback volume for FXM-16A-PCIe, execute the command: echo x > /sys/module/fxm16apcie/parameters/playvolume To adjust the recording volume for FXM-32, execute the command: echo x > /sys/module/fxm32/parameters/recvolume To adjust the playback volume for FXM-32, execute the command: echo x > /sys/module/fxm32/parameters/playvolume