Custom Search

News World

Feb 17, 2009

Asterisk - Debugging Asterisk/Wanpipe RBS

The wanpipemon utility provides the ability to debug RBS bits. The following command enables/disables WANPIPE RBS debugging and prints all debugging message into the /var/log/messages file. This feature is supported for all Sangoma digital AFT-series cards.

* To enable RBS debugging on reciever side (this command will print only changes to the RBS bit settings):
wanpipemon -i -c derr

* To disable RBS debugging on reciever side:
wanpipemon -i -c ddrr

* To enable RBS debugging on transmit side (this command will print only changes to the RBS bit settings):
wanpipemon -i -c dert

* To disable RBS debugging on transmit side:
wanpipemon -i -c ddrt

* Read the current RBS status bits from AFT-series cards:
wanpipemon -i -c drr

* Read the current RBS status from the Wanpipe driver:
wanpipemon -i -c dpr

In order to verify the RBS operations, you can run ./zttool utility and enable Sangoma RBS debugging at the same time. Zttoll shows what zaptel thinks is the RBS setting and the wanpipe utilities show what the sangoma driver thinks is the RBS setting. The two have to match at all times.

  1. In one window run: zttool
  2. In another window run: tail -f /var/log/messages
  3. Enable RBS debugging as stated above:
    wanpipemon -i -c derr #Enable rx rbs debugging
    wanpipemon -i -c dert #Enable tx rbs debugging
  4. Place a call on Asterisk with reproducable bad behaviour
  5. Compare zttool output versus the /var/log/messages
    If driver rbs changes are identical to zttool rbs changes problem is with the telco.
    If driver rbs changes differ from zttool rbs changes there could be a problem with the drivers.
  6. If zttool output doesnt match wanpipe rbs output please contact Sangoma Support.

No comments:

IT Conversations

Moneycontrol Latest News

Latest new pages on Computer Hope

Latest from Infoworld

Door Lock

Door Lock Import Top Door Lock from China Contact Quality Manufacturers Now