Help with call with no sound via PSTN

Hello guys, I am having some problems with calls comming from the PSTN lines, when somebody calls people can’t hear me, but I can hear them, every day I have to do a /etc/init.d/asterisk stop && /etc/init.d/dahdi restart to have calls with sound again, wich cli dubug commands can I use to see what is going on, here I have my chan_dahdi.conf and sip.conf, I am using 1.6

Thanks a lot!

chan_dahdi.conf

trunkgroups]
[channels]
Group=1
context=incoming
signalling=fxs_ks
rxwink=300
usecallerid=yes
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
jbenable=no
jbmaxsize=200
jbresyncthreshold=1000
useincomingcalleridondahditransfer=yes
;callerid=asrecived
rxgain=0.0
txgain=0.0
immediate=no
busydetect=yes
busycount=5
hidecallerid=no
callgroup=1
pickupgroup=1
channel => 1-24

sip.conf

[general]
disallow=all
allow=gsm
allow=ulaw
language=es

sets
type=friend
secret=1000
host=dynamic
;call-limit=1

1109
mailbox=1109@default
context=oficina

1110
mailbox=1110@default
context=oficina

1111
mailbox=1111@default
context=oficina-jefatura

1112
mailbox=1112@default
context=oficina

1113
mailbox=1113@default
context=oficina

1114
mailbox=1114@default
context=oficinaVoIP

1115
mailbox=1115@default
context=oficina

1116
mailbox=1116@default
context=oficina
1117
mailbox=1117@default
context=oficinaVoIP

What is your Network configuration?

modem>router>switch>Hard Sip phone?

Oh, and do you have a firewall or SELinux running?

ROUTER->SWITCH->Hardphone (Cisco 7911G sip firmware)

I am using debian, with no iptables rules

Hmm.

I would suggest trying the LATEST version of dahdi and 1.6, or revert back to 1.4 and try that.

I have a feeling 1.4 might be a little more stable.

-bk

Sounds like a NAT problem. Is the Asterisk server and your IP phone on the same LAN without a firewall/router/other NAT device between them?

Nop I ha no NAT between them
I have reinstalled the dahdi linux and tools and things are Ok now, maybe there was a problem…

Thanks to all