Outgoing calls but no incoming calls with Asterisk & X10

Hey all,

I have a problem with my asterisk box and an X100P FXO card. I am able to place outgoing calls from my SIP phone (Cisco 7940) to any external number using my PSTN line, but when I call my PSTN line from my cell phone, the Cisco doesn’t ring (and no message appears in the Asterisk CLI).

Here are my config files:
zaptel.conf

fxsks=1
loadzone = be
defaultzone = be

zapata.conf

[channels]
context=incoming_calls
usecallerid=yes
hidecallerid=no
immediate=no

signalling=fxs_ks
callerid = test <123>
echocancel=yes
group=1
channel=>1

extensions.conf

[globals]

[general]
autofallthrough=yes

[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,HangUp()

[incoming_calls]
;exten => _X.,1,NoOp()
;exten => _X.,n,Dial(SIP/1000)
;exten => _X.,1,Dial(SIP/1000)
exten => s,1,Dial(SIP/1000,20,tr)

[outgoing_calls]
exten => _X.,1,NoOp()
exten => _X.,n,Dial(Zap/1/${EXTEN})

[internal]
exten => 1000,1,Verbose(1|Extension 1000)
exten => 1000,n,Dial(SIP/1000,30)
exten => 1000,n,HangUp()

exten => 500,1,Verbose(1|Echo test application)
exten => 500,n,Echo()
exten => 500,n,HangUp()

[phones]
;include => internal
;include => incoming_calls
include => outgoing_calls

sip.conf

[general]
context=phones
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes

[1000]
type=friend
context=phones
host=dynamic
username=1000
secret=1000
allow=all

zttool shows that the card is working fine and is configured. When I use ztcfg I get no errors. I’ve been looking for this all day and it’s driving me nuts. I read somewhere that you may have to disable AUDIO_RINGCHECK in the wctdm driver, but I’m using the wcfxo (listed in lsmod together with zaptel).

All help is appreciated!

Thanks,

Tom

Anybody?

I’ve been trying many different configurations, but nothing seems to work. Really driving me crazy…