Enable Disable Analog Card Ports
Here are instructions for enabling or disabling ports on an analog card.
The enabled ports on each card are configured in the following files on tech:
/etc/fonality/<SERVERID>/zapata.conf
and
/etc/fonality/<SERVERID>/zaptel.conf
Enabled ports can be specified individually (separated by comma) or by range.
For example, to enable ports 1 through 3, you could specify them in the following ways
1-3
1,2,3
1-2,3
All of the above specify the same range of enabled ports.
Before making any changes to zaptel.conf, and zapata.conf - be sure to make backups of the files:
[you@tech]# cp zaptel.conf zaptel.conf.bak
[you@tech]# cp zapata.conf zapata.conf.bak
Then edit the "fxsks=" or "fxoks=" line(s) in zaptel.conf
fxsks=1-3
or
fxoks=1-3
Depending on the signaling type, if you don't know about signaling type - read this FXS vs. FXO Signaling article first.
Then edit the "channel =>" line(s) in zapata.conf
signalling=fxs_ks context=incoming group=2 channel => 1-3
So that it matches what you've entered in zaptel.conf
Here is an example of what you should see if you wanted to enable only ports 1 and 2 with FXO modules:
[you@tech]# vi zaptel.conf loadzone = us defaultzone=us fxsks=1-2
[you@tech]# vi zapata.conf immediate=no signalling=fxs_ks context=incoming group=2 channel => 1-2
Then sync the files with the PBXtra server:
[you@tech]# sudo u -v zapata.conf [you@tech]# sudo u -v zaptel.conf
Which will sync the files and reload asterisk.
Verify in the Web Admin Interface that the Trunks page displays the updated configuration.
Static on Analog lines
Configuration files for volume is /etc/fonality/NNNN/zapata.conf where NNNN is the server ID.
Configuration files for Sangoma analog cards are located in /etc/wanpipe/wanpipe#.conf on the PBXtra server.
Static on analog lines is usually do to the "comfort noise" produced on a connected call being amplified too much. This can be resolved by volume setting changes. While this is the most frequent cause of static other problems can occur as well.
Troubleshooting
Physical Connection (Cabling)
A poor physical connection between the PBXtra and the carrier can be the source of static on an analog line. A quick method of testing this out is to hook up a plain POTS phone to each analog line and attempting to dial out over each line.
The act of doing this test can also clear actual static electricity that is resident on the line. See the Electrical Grounding section below for more info.
Reseat cards and modules
Often the case with new servers, as modules can come loose during shipping, if the analog cards and modules are not properly seated in their place on the server, you may notice static on your analog calls. Do the following to clear this up:
After hours, power off your system by pressing the power button on the front
When the PBXtra has completely shut down, open up the case
Touch your hand to a bare metal surface to discharge any static electricity
Remove all the analog cards from your system.
Disconnect any plugs coming into the card - molex power cable and analog lines
If you have a backplane attaching multiple cards, gently remove it
Pull each analog card up from your system
Pull each module from the card and re-seat it firmly into its socket.
Install the analog card
Reattach all cables and the backplane
Close up your system, power it back on, and place a test call
Volume Changes
Login to the web control panel and access the Options->echo page
Increase the receive volume 2 db at a time when there are no calls in place (or else the system will not pick up the changes) and decrease IP phone volume.
If this improves keep increasing receive volume, generally a receive volume of less than 6 dB is high enough.
System Resources
Static can be caused by high system resources, see the article Why Am I Getting Alerts?
Electrical Grounding
Make sure a working molex (power) cable is connected to the analog card. The PBXtra must be powered down while this is performed.
Make sure the PBXtra is on a grounded electrical outlet.
A200 Sangoma drivers
A200 has known problems with 2.3.4-2 that cause the system to use many resources which cause static and then a system down.
Transcoding
Refer to the article on Transcoding Audio to troubleshoot transcoding