Thanks a Lot Mr William, it worked... just did your advice
I have created different groups on zapata files, then assign each dialplan using the specific
below is my asterisk files
extensions
----------------
exten => _078XXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _078XXXXXXX,2,Dial(ZAP/g2/${EXTEN},,tTor)
exten => _078XXXXXXX,3,Hangup
exten => _072XXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _072XXXXXXX,2,Dial(ZAP/g1/${EXTEN},,tTor)
exten => _072XXXXXXX,3,Hangup
exten => _25XXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _25XXXXXXX,2,Dial(ZAP/g2/${EXTEN},,tTor)
exten => _25XXXXXXX,3,Hangup
exten => _3XXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _3XXX,2,Dial(ZAP/g0/${EXTEN},,tTor)
exten => _3XXX,3,Hangup
-------------------------------------
the zapata.conf is now
[channels]
language=en
rxgain=1.0
txgain=1.0
usecallerid=yes
callerid=asreceived
busydetect=no
context=trunkinbound
echotraining=no
echocancel=no
echocancelwhenbridged=no
usecallingpres=yes
callprogress = no
prilocaldialplan=unknown
pridialplan=unknown
overlapdial=yes
#switchtype=national
group=2
callgroup=2
pickupgroup=2
immediate=no
#PRI 1
switchtype=euroisdn
context=default
group=2
echocancel=yes
signalling=pri_cpe
channel => 1-15
channel => 17-31
#PRI 2
switchtype=euroisdn
context=default
group=1
echocancel=yes
signalling=pri_cpe
channel => 32-46
channel => 48-62
#PRI3
switchtype=euroisdn
context=default
group=0
echocancel=yes
signalling=pri_cpe
channel => 63-77
channel => 79-93
-----------------------------------------
one of the Telco does not go out, maybe they should activate it from their settings (the group 2), but group1 and group0 are okay, when you call it uses the appropriate channels ( LCR )
God bless, stay well