Newbie need help configuring trunks in FOP

Hi!
I am very new to software PBXs and somewhat new to Linux…
But I am a somewhat old computer guy…
Started with mainframes about 25 years ago and went to the DOS and Windows world, so I have some difficults in Linux but want to surf this wave !
So, I need some help on this.

I was playing with Trxibox and Elastix before but after some testings and seachings I decided that the solution that will best fit my needs is PIAF.

O bought a A1200P with 4 FXSs and 8 FXOs, started testing Trixbox and Elastix and both recognized and configured the card automatically and I can manage the FXSs and FXOs in the Flash Operator Panel.

Now, I installed PIAF 64 bits, that do not have, yet, automatic installation for my card, and used this to install the card http://pbxinaflash.com/forum/showthread.php?p=10041#poststop .

All seemed to be OK in installation and I tried to see the card in the FreePbx Panel but the FreePbx Panel did not show the FXOs nor the FXSs.

I asked for help in the PIAF forums ( thanks a lot who helped as I made some progresses ! ) but I think here is a better source for help in FOP.

After playing with updating scripts and sources I decided to start over from scratch and installed again the 64 bit version and the drivers for the A1220P.
Everything seems to go Ok and the PIAF status is:


  •       PBX in a Flash Version 1.2 Daemon Status
    
  •                  Running Asterisk 1.4
    

  • Asterisk * ONLINE * Zaptel * ONLINE * MySQL * ONLINE
  • SSH * ONLINE * Apache * ONLINE * Iptables * ONLINE
  • Fail2ban * ONLINE * Ethernet0 * ONLINE * IP Connect * ONLINE
  • BlueTooth * ONLINE * Hidd * ONLINE * NTPD * ONLINE
  • Sendmail * ONLINE * Samba * ONLINE * Webmin * ONLINE

  • Running Asterisk Version : Asterisk 1.4.21.2
  • Asterisk Source Version : 1.4.21.2
  • Zaptel Source Version : 1.4.11
  • Libpri Source Version : 1.4.6
  • Addons Source Version : 1.4.7

CentOS release 5 (Final) - 64 Bit ** Kernel: 2.6.18-53.1.13.el5


And zttool shows:

****************¤ OpenVox A1200P/A800P Board 1
*

  • Current Alarms: No alarms.
  • Sync Source: Internally clocked
  • IRQ Misses: 0
  • Bipolar Viol: 0
  • Tx/Rx Levels: 0/ 0
  • Total/Conf/Act: 12/ 12/ 0
  • 111
  • 123456789012
  • TxA ------------
  • TxB ------------
  • TxC ------------
  • TxD ------------
  • RxA ------------
  • RxB ------------
  • RxC ------------
  • RxD ------------

And the zaptel.conf is:


Span 1: OPVXA1200/0 “OpenVox A1200P/A800P Board 1” (MASTER)

fxoks=1
fxoks=2
fxoks=3
fxoks=4
fxsks=5
fxsks=6
fxsks=7
fxsks=8
fxsks=9
fxsks=10
fxsks=11
fxsks=12

Global data

loadzone = us
defaultzone = us

The card has 4 FXSs and 8 FXOs so, for me, everything seems to be Ok…
But the FreePbx Panel still do not showed the FXOs and FXSs…

Then I created channels in FreePBX.

  • 4 ZAP extensions for the FXSs using channels from 1 to 4.
  • 8 ZAP trunks for the FXOs using channels from 5 to 12.

The extensions, now, seems to be Ok because they appear in the Panel and are not “greyed” like the not logged SIP ones !
And I tested one of the FXSs using an analog phone to call an extention connected to a SIP softphone and all was fully functional !
But the trunks still wasn´t there !

In the “Trunks” tab in FreePbx they appear like:

* Trunk ZAP/5
* Trunk ZAP/6
* Trunk ZAP/7
* Trunk ZAP/8
* Trunk ZAP/9
* Trunk ZAP/10
* Trunk ZAP/11
* Trunk ZAP/12

And when I selected one, I got the warning:

"WARNING: This trunk is not used by any routes!This trunk will not be able to be used for outbound calls until a route is setup that uses it. Click on Outbound Routes to setup routing."

So, I added all trunks to the default outbond route called “0 9_outside” and the warning gone.
But no trunks in the Panel…

The ztcfg shows:


ztcfg -vv

Zaptel Version: 1.4.11
Echo Canceller: MG2
Configuration

Channel map:

Channel 01: FXO Kewlstart (Default) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Slaves: 02)
Channel 03: FXO Kewlstart (Default) (Slaves: 03)
Channel 04: FXO Kewlstart (Default) (Slaves: 04)
Channel 05: FXS Kewlstart (Default) (Slaves: 05)
Channel 06: FXS Kewlstart (Default) (Slaves: 06)
Channel 07: FXS Kewlstart (Default) (Slaves: 07)
Channel 08: FXS Kewlstart (Default) (Slaves: 08)
Channel 09: FXS Kewlstart (Default) (Slaves: 09)
Channel 10: FXS Kewlstart (Default) (Slaves: 10)
Channel 11: FXS Kewlstart (Default) (Slaves: 11)
Channel 12: FXS Kewlstart (Default) (Slaves: 12)

12 channels to configure.

So, the channels are “to configure” and not “configured”…
Could someone point me what am I missing ?

Mauricio Faria