Public IP for Freepbx

I’m trying to setup a phone system for me and my friend but we live in different places with different networks. I used to have a hosted Freepbx through a company that had an ip that was public and any computer with internet could login. Ex. ( I’m want to set that up again so our ip phones can be on two different networks. Right now it has a local IP Ex. ( . How can I get a public IP? Please Help!