Messing around with zap

I Have 2x fxo cards, after 2 days of reading an configuring, nothing coming up.
Each time when i am trying to call out i have this on cli:
Jul 11 12:21:56 NOTICE[4265]: app_dial.c:1040 dial_exec_full: Unable to create channel of type ‘ZAP’ (cause 0 - Unknown)

Unable to call or recieve calls, help me a bit please, i am a total noob on this;)
here are my conf files

zaptel

fxsks=1
fxsks=2
defaultzone = fr

zapata.conf

[office]
context=office
signalling=fxs_ks
group=1
callgroup=1
pickupgroup=1
busydetect=yes
busycount=5
channel=1
callerid=asreceived
usecallerid=yes
echocancel=yes
txgain=0.0
rxgain=0.0

signalling=fxs_ks
channel=2
callgroup=2
pickupgroup=2
txgain=0.0
rxgain=0.0
echocancel=yes
context=office
group=2

sip.conf(xlite works)

[200]
type=friend
secret=vendor1
username=200
host=dynamic
disallow=all
allow=ulaw
allow=alaw
allow=gsm
nat=no
context=office
callerid=vendor <200>
callgroup=1
pickupgroup=1

extensions.conf

[globals]
CONSOLE=Console/dsp ; Console interface for demo
;CONSOLE=Zap/1
;CONSOLE=Phone/phone0
IAXINFO=guest ; IAXtel username/password
;IAXINFO=myuser:mypass
TRUNK=Zap/g1
TRUNK=Zap/g2 ; Trunk interface

[office]
exten => 200,1,Macro(stdexten,200,SIP/200)

exten =>_5.,1,Dial(ZAP/g1)

My head is messed up completely, help me please

[quote=“Reaper”]zapata.conf
[office]
[/quote]

should be ‘[channels]’

ok
i have changed the name to channels

then i had the message on cli when i typed reload

chan_zap.c:10317 setup_zap: Unable to reconfigure channel ‘1’

so i renamed

Trunk=ZAP/g1 to Trunk=ZAP/1 and Trunk=ZAP/2 an exten in extensions from g1 to 1
well nothing changed:)
maybe some other errors?

UPDATE
after reboot i have
ZT_CHANCONFIG failed on channel 2: No such device or address (6)

and ztcfg -vvvv gives

Zaptel Configuration

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)

2 channels configured.

ZT_CHANCONFIG failed on channel 2: No such device or address (6)

my 2 fxo cards

ok, i have changed protocol, zaptel loaded
and when i am calling FXO1/channel 1 i have the “congratulations blah blah” my xlite account dont ring;)
outbound works somehow buggy, sometimes i can dial, sometimes service unavailable
anywes it is a progress;)

well thank you for your help, outbound works, but how to rout all inbound to sip/200 from ZAP/1?

edit
All is done:)))
Working!!!