Asterisk acting as a PBX

I am running Asterisk with a dual t1 card…

Zap/g0 is connected to a pri
Zap/g1 is connected to a dialer system via cross over T1 cable tp dialogic card called SpitFire

here is my zaptel.conf

span=1,1,0,esf,b8zs
bchan=1-23
dchan=24

span=2,0,0,d4,ami
e&m=25-48

loadzone = us
defaultzone = us


zapata-auto.conf

; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1"
switchtype=national
context=from-zaptel
group=0
signalling=pri_cpe
channel => 1-23

; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2"
switchtype=national
context=from-dialer
group=1
signalling=em_w
channel=>25-48


I added the following to the extensions.conf example file

[from-dialer]
exten => _X.,1,Dial(Zap/g0/${EXTEN})

I added this by reading this forum and thought it would help… never done it before… please let me know where i went wrong.

I can see digits being passed to the asterisk box from the dialer… however a phone call is not being made… the dialer detects a voice call… but I think it is the no service error being sent.

Please help.

Is this auto-generated for you? I don’t seem to see

in zapata.conf? (Hint: it’s not automatically included for you.)