ok, ive completely run out of ideas, trying to get asterisk to work for about 3 days of random config changes, ideas, net searching and recompiling. and im almost totally hacked off with the whole idea.
im hoping someone can give me a clue.
i have a mini itx board (via mii6000 eden). im booting slackware from flash (kernel 2.6.12.2). i have a tdm400p card with 1 FXO and 1 FXS. i have zaptel 1.2 and asterisk 1.2. they both compiled fine no problems.
im trying to set up the minimal config that actually answers the pstn (in the uk). so zaptel.conf has
loadzone=uk
defaultzone=uk
fxoks=1
fxsks=2
then i have zapata.conf as:
[channels]
context=incoming
signalling=fxs_ks
usecallerid=no
channel => 2
and finally extensions.conf looks like:
[incoming]
exten => s,1,Answer()
exten => s,2,Echo()
when i call it, i get this:
Executing Answer(“Zap/2-1”, “”) …
Executing Echo(“Zap/2-1”, “”) …
WARNING: chan_zap.c:3904 zt_handle_event: Ring/Off-hook in strange state 6 on channel 2.
if i dont have the “usecallerid=no” i get a bunch of different messages relating to callerid failure (there’s none on this line). the answer never happens, the caller is never answered. also, from reading the code, strange state 6 appears to be AST_STATE_UP whether that helps i dont know.
ive tried other stuff like setting busydetect=no, callprogrss=no but nothing changes it.
thanks for any clues/.