SIP Users not registering in asterisk

Please read my scenario of asterisk system.

There is direct internet wire from ISP provider, I input this wire to the router then in the output port of this router I connected one wire and this wire I connected to asterisk server. I assigned the public ip to the asterisk server. I’m able to register the sip users in the same network and Lan but When I’m different network (at my home) i’m not able to register.

One more issue I’m having in the LAN is that When 7001 dial the 7002 then 7002 ring but 7001 does not ring. But I’m able to hear each other in the LAN. Please suggest me why 7001 not ring when call place and suggest me something after look at my configuration.

Please have a look at my configuration…I’m not getting any logs in asterisk CLI when I’m trying to register from the zoiper.

SIP.conf

[general]
context=internal
allowguest=no
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
srvlookup=no
disallow=all
allow=ulaw
alwaysauthreject=yes
;canreinvite=no
nat=yes
session-timers=refuse
localnet=0.0.0.0/0.0.0.0
directmedia=yes
;localnet=192.168.1.0/255.255.255.0
;externip=203.100.77.54

[7001]
type=friend
host=dynamic
secret=7001
context=internal
mailbox=7001@vm-demo

[7002]
type=friend
host=dynamic
secret=7002
context=internal
mailbox=7002@vm-demo

Iptables Rules-----

[root@server2 ~]# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num target prot opt source destination
1 ACCEPT udp – 0.0.0.0/0 0.0.0.0/0 udp dpts:10000:20000
2 ACCEPT udp – 0.0.0.0/0 0.0.0.0/0 udp dpt:5060
3 ACCEPT tcp – 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:8000

Chain FORWARD (policy ACCEPT)
num target prot opt source destination
1 ACCEPT udp – 0.0.0.0/0 0.0.0.0/0 udp dpt:5060
2 ACCEPT udp – 0.0.0.0/0 0.0.0.0/0 udp dpts:10000:20000

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

Table: nat
Chain PREROUTING (policy ACCEPT)
num target prot opt source destination
1 DNAT udp – 0.0.0.0/0 0.0.0.0/0 udp dpts:10000:10100 to:203.100.77.54
2 DNAT udp – 0.0.0.0/0 0.0.0.0/0 udp dpt:5060 to:203.100.77.54

Chain POSTROUTING (policy ACCEPT)
num target prot opt source destination

Chain OUTPUT (policy ACCEPT)
num target prot opt source destination

Hope to hear from you soon!!

Kind Regards,
Ajay Saini