You may check first local audio, dialing a feature call or calls between extensions.
I have this questions:
What vps provider are u using?
Does your vps have an extra firewall?
Does your vps have two IP Address? For example, Amazon vps has one private IP and a public one.