Help - getting Zap trunks to show in FOP

Hi,
can someone tell me how to get analog Zap trunks to display in Flash Operator Panel?

I’ve seen the example line -
;AMPLABEL:Channel %c - Button %n
but I’m not sure if the FOP parser substitutes the %variables with values from the zap channel definition, or if they are supposed to be changed to numbers…

I get the zap extensions shown OK, but only SIP trunks.
Anyone got a working example zapata.conf from an analog board?

Thanks,

I am not sure it will help

;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

Hi Robert,
thanks for the reply.

your general config is pretty close to mine.
Do you get analog trunks appearing in FOP?

I have confirmed my zapata.conf settings and the zap trunks do not show up in the FOP. I have run into this in the past where changes had to be made to /var/lib/asterisk/bin/retrieve_op_conf_from_mysql.pl. Specifically:

in line 21 and 26 change the file name zapata-auto.conf to zapata-channels.conf

before change:

if (scalar @ARGV == 2)
{
$amportalconf = $ARGV[0];
$zapataconf = $ARGV[1]."/zapata.conf";
$zapataautoconf = $ARGV[1]."/zapata-auto.conf";
} else
{
$amportalconf = “/etc/amportal.conf”;
$zapataconf="/etc/asterisk/zapata.conf";
$zapataautoconf="/etc/asterisk/zapata-auto.conf";
}

after change:

if (scalar @ARGV == 2)
{
$amportalconf = $ARGV[0];
$zapataconf = $ARGV[1]."/zapata.conf";
$zapataautoconf = $ARGV[1]."/zapata-channels.conf";
} else
{
$amportalconf = “/etc/amportal.conf”;
$zapataconf="/etc/asterisk/zapata.conf";
$zapataautoconf="/etc/asterisk/zapata-channels.conf";
}

But this does not seem to correct the problem in 2.4.