Dynamic Port Configuration

Starting with 7.0.11, the Card driver now supports dynamic front end configuration.
This means that you can change configuration on the fly without needing to restart all panpipe ports (or driver).

This is very important during Asterisk, FreeSWITCH or Custom Application debugging 
when wanpipe restart is not an option.


Read Current Front End Configuration

Type the following command on your Linux CLI to read the current front end configuration

-> wanpipemon -i w1g1 -c Tread

 

Set Front End Configuration

Type the following command on your Linux CLI to set the front end configuration

-> wanpipemon -i w1g1 -c Twrite -fe_lcode [HDB3|AMI] -fe_framing [NCRC4|CRC4] -fe_clock [NORMAL|MASTER] –fe_sig [CAS|CCS]

 

example:

To set the clock from NORMAL to MASTER

-> wanpipemon -i w1g1 -c Twrite -fe_clock MASTER

 

Note: 
w1g1 is the name of the Wanpipe SPAN.  
To view all spans run the ifconfig command.
All options can be run separately or together.

All changes will be logged in the stanard kernel syslog file.
Under Centos/RedHat it would be /var/log/messages

Dynamically Set Loopback Mode

In previous driver releases, the digial loopback mode required wanpipe reconfiguration and wanpipe port restart.

In order to dynamically configure a port into a digial loopback mode 

  1. Set port into MASTER (internal oscillator) clock

    1. wanpipemon -i w1g1 -c Twrite -fe_clock MASTER

  2. Enable Digial Loopback Mode

    1. wanpipemon -i w1g1 -c Tadlb

 

When you are done debugging reverse the config

  1. Disable Digial Loopback Mode

    1. wanpipemon -i w1g1 -c Tddlb

  2. Set port back into NORMAL (line) clock

    1. wanpipemon -i w1g1 -c Twrite -fe_clock NORMAL


Set/Clear Wanpipe SPAN into ALARM state

Sometimes it is usefull to bring down a specific span without having to reconfigure and restart your whole application.

Disable tx clock on the T1/E1 line, which will cause the remote end to go into RED alarm.
The local side will receive the RAI alarm which will cause the Wanpipe T1/E1 port to go down.
Asterisk/FreeSWITCH would see the alarm and the link would go down.

-> wanpipemon -i w1g1 -c Ttxd

 

Enable tx clock on the T1/E1 line, which will cause the remote end to come out of RED alarm.
The local alarms will clear and Wanpipe T1/E1 port will come up.
Asterisk/FreeSWITCH would see the alarm state clear.

-> wanpipemon -i w1g1 -c Ttxe

 

 For more info on wanpipemon command run: wanpipemon -p aft for help.

 

Return to Documentation Home I Return to Sangoma Support