Connecting Asterisk from a Local network from Outside Server

I have developed an application which works perfectly in local network. What it do is that by using a web interface you can call to any number using the PBX extension. What we have to do is that just click on number, the call will automatically goes from our PBX extension. The app will also extract the incoming call details & will show the caller details. So My problem is that when it is hosted in outside server, it is not working. BY searching I found out that some configuration has to be done in Configuration files in Asterisk server. Can anyone help me regarding this?

Insufficient information , you have not post any relevant asterisk’s configuration files, How do you do the call using Asterisk manager ?

Also if there is any Asterisk cli output that would be useful.