Problem with Audio with DDWRT and FreePBX

I use a WRT54GL v 1.1 with dd-wrt v24 Special
I have a remote extension that register but there is no audio.
I have port range forwarded 5060-5070 UDP and 10001-20000 UDP to my FreePBX IP address.

I can dial and have audio when dial internal extensions. but when incoming calls from trunk or outgoing calls then there is not audio
Has anyone installed dd-wrt in front of FreePBX?

thanks in advance


What version of FreePBX are you using?
If you are on 2.6, please ensure that your network is properly configured in the Sip Settings module. Otherwise, consider upgrading.

version is

I already had put in sip_general_custom.conf

bindaddr =
disallow = all
allow = g729
allow = alaw
allow = ulaw

sip_nat is empty
sip_custom Empty

remote extension is registering but no audio

ports 5060 to 5070 udp to pbx
ports 10001 to 20000 udp to pbx

Fist of all, you might as well include the first port in the range as well (10000) just to be certain that its not related. Second, please run an rtp debug during the call and see if there is any media coming in or out: rtp debug

10000 it is said is for webmin. the forum recommend not start from 10000 due conflicts with webmin

Thats outdated - you can ignore that bit of misleading ‘advice’.

webmin uses ssl which is TCP, RTP is UDP so they can share the same port (it’s really called a socket in UDP).

The ports open in your router much match rtp.conf