Inbound Call Through NAT

Dear All,
If anybody knows, please answer the following NAT issue.
My outbound calls through NAT is working fine. But the inbound calls are not coming through DID's. I'm using Cisco 1841 router and I've forwarded TCP/UDP Port 5060 and UDP port range 10000-20000 to the ViCiDial SIP server. I've also permitted the inbound carrier IP in the router as well. My inbound trunk is registering fine with the carrier and the configuration is as follows:
[CarrierName_Inbound]
type=friend
host=xxxx.xxxx.xxxx.xxxx
dtmfmode=rfc2833
fromdomain=xxxx.xxxx.xxxx.xxxx
context=trunkinbound
nat=yes
qualify=yes
externip=xxxx.xxxx.xxxx.xxxx
insecure=very
dtmfmode=rfc2833
disallow=all
allow=g729
allow=uLaw
allow=aLaw
Version:
Asterisk: 1.4.39
ViCIDial Ver: 2.4b0.5
Cent OS: 5.6
If anybody knows, please answer the following NAT issue.
My outbound calls through NAT is working fine. But the inbound calls are not coming through DID's. I'm using Cisco 1841 router and I've forwarded TCP/UDP Port 5060 and UDP port range 10000-20000 to the ViCiDial SIP server. I've also permitted the inbound carrier IP in the router as well. My inbound trunk is registering fine with the carrier and the configuration is as follows:
[CarrierName_Inbound]
type=friend
host=xxxx.xxxx.xxxx.xxxx
dtmfmode=rfc2833
fromdomain=xxxx.xxxx.xxxx.xxxx
context=trunkinbound
nat=yes
qualify=yes
externip=xxxx.xxxx.xxxx.xxxx
insecure=very
dtmfmode=rfc2833
disallow=all
allow=g729
allow=uLaw
allow=aLaw
Version:
Asterisk: 1.4.39
ViCIDial Ver: 2.4b0.5
Cent OS: 5.6