Can't Register sip account

I’ve compiled asterisk on Centos and now wanna register soft phones. I’ve addes in sip.conf so

[2000]
type=friend
context=phones
username=2000
secret=2000
host=dynamic

but didn’t register. what the problem can somebody help me?

What is the output of the CLI when you are trying to register the phone?

there is no outputs in CLI

Smells like firewall.

Yes I think so too, but when I disabled firewall did the same :frowning:

Add NAT=yes to the sip entry and see what happens.

For an example for how to configure iptables see :

voip-info.org/wiki-Asterisk+firewall+rules