the problem seems to be the first router
I have these setup
Internet-----2wireISP-------DD-WRT router-------asterisk box
2wire is the 1 router that supply the internet
If I do a port forwarding to DD-WRT with
sip 5004-5080 UDP and RTP - 10000-20000 UDP
and in asterisk put externip=xxx.xxx.xxx.xxx. in sip-custom then one way audio problem on sip-trunks but the remote extension works fine both ways audio.
If I put the DMZ in ip where DD-WRT is set on 2wire router
then SIP trunks work fine both ways audio but remote extension can not register and find asterisk
so the problem seems to be the first router 2wire
but i dont know why since sip and rtp ports are forwarding fine. do I need to open other range port in order to disable DMZ and fix one audio problem ???
thanks so much for any help to drive this in the right direction