6 FXO-FXS Support

The Acme Packet 1100 supports using Foreign Exchange Office-Foreign Exchange Subscriber (FXO-FXS) interfaces in the U.S. to connect analog devices, such as fax machines, to a VoIP network. The FXO-FXS interfaces provide a way for you to direct traffic to a specific analog endpoint by creating a unique profile per channel. FXO-FXS support requires the optional transcoding Digital Signaling Processor (DSP) for reliable fax transmission with transcoding.

FXO-FXS Configuration

When the system detects the Foreign Exchange Office-Foreign Exchange Subscriber (FXO-FXS) interfaces, it displays the fxo-profile and fxs-profile sub-elements in tdm-config.

You can configure one or more profiles each for FXO and FXS interface, which allows configuring different attributes. For example, you might create one profile named for the fax machine in the purchasing department and another named for the fax machine in the shipping department. The FXS card supports channels 1-4 and the FXO card supports channels 5-8. You can create separate a fxo-profile and fxs-profile for each channel, or for several channels. For example, you can set one FXO profile for channel 5 and another for channels 6-8. You can also group the profiles for routing purposes.

For control over routing TDM traffic, each TDM profile includes the route-group number parameter that you can use to group profiles together for routing. You can route traffic by setting the following parameters for next-hop in the local-policy configuration:

next-hop = tdm:channel:<number> Use channel number to specify routing endpoints.

next-hop = tdm:group:<number> Each TDM profile includes route-group number, so that you can group profiles together. The route-group number can address several profiles for routing. During routing, the embedded Asterisk software that the E-SBC uses to connect PSTN and VoIP phone services to each other picks the first available span and the first available channel when routing to a group.

next-hop= tdm:<profileName> During configuration, the system checks to confirm that no other profile contains the same routing.

Echo cancellation, which is beneficial for voice transmissions, is not beneficial for data transmissions such as fax. You can configure the system to detect the fax tone, disable the echo canceller, and set the gain to zero to avoid any distortion in the communication to the Foreign Exchange Office-Foreign Exchange Subscriber (FXO-FXS) cards.

Add an FXO-FXS Profile

When your deployment requires Foreign Exchange Office-Foreign Exchange Subscriber (FXO-FXS) profiles, you can add up to four profiles each to support different attributes at different endpoints. For example, you might create profiles based on user name, department, location, and so on. You can create FXO profiles only, FSO profiles only, or both. To configure the FXO-FXS profiles, go to TDM Config under System, and create the profiles that you need.

  • Requires the FXO-FXS interface

The configuration process includes configuring TDM Config and a corresponding FXO Profile or FXS Profile.

  1. Access the tdm-config configuration element.
    ORACLE# configure terminal
    ORACLE(configure)# system
    ORACLE(system)# tdm-config
    ORACLE(tdm-config)#
  2. In tdm-config, set the following:
  3. For each fxo-profile and fxs-profile that you want to create, set the following:
  4. Type done to save the configuration.
  • Run the TDM Configuration Wizard.
  • Configure the inbound and outbound TDM local policies.

FXO Port Tuning Support

The Acme Packet 1100 supports Foreign Exchange Office (FXO) port tuning because the on-board echo canceller might not work efficiently under some circumstances. For example, the hybrids on the analog line cause echo while converting between 2 and 4 wires, and the long cable plants yield imperfect impedance matches. Tuning the FXO ports can reduce the echo and mitigate the quality issues by calibrating the line impedance, which helps the echo canceler to work more efficiently. Oracle recommends tuning the FXO port whenever you detect an audible voice quality issue.

Perform FXO Port Tuning

Tuning the Foreign Exchange Office (FXO) ports can help the echo canceller to work more efficiently. The setup fxotune run command creates the fxotune configuration file, which contains the script that fine tunes the Digium Asterisk Hardware Device Interface (DAHDI) FXO channels, and restarts the system. The tuning takes place during the restart. After FXO tuning, the system saves the result in a configuration file that is automatically applied after each subsequent restart. No additional user action is necessary.

  • Configure one or more FXO profiles and activate the configuration.

Note that the following procedure requires a system restart, which can take longer than usual due to the tuning process.

  1. From the command line, type setup fxotune run.
  2. Restart the E-SBC.

Reset the FXO Port Tuning Defaults

If you ever want to reset the setup fxotune run boot parameter, use the setup fxotune reset command. The command resets the boot parameter for setup fxotune run to the default tuning values and removes the fxotune configuration file.

Note that the following procedure requires a system restart.

  1. From the command line, type setup fxotune reset.
  2. Restart the E-SBC.