There can be several different reasons that are preventing connections to a different network and for sure it is not the video chat software. This code was tested on hundreds of different servers and works fine. My guess was the firewall since we had some problems with ConfigServer Security&Firewall (CSF) on cPanel servers with Red5. When CSF was turned off, the RTMP connections were restored.
From your post, seems that the server lets you connect only if you are on the same IP. Strange! It can be a network security setting but I don't wish to make a guess since I don't know the circumstances and the architecture of your network. The only advice I can give is to try it on a different hosting account.
The ip addresses are used for GeoIP location. If you log into http://www.jabbercam.com, you will notice that the software knows your geographical location (country) and in 95% your partner's location (country). This is done by the GeoIP locator that uses the IP database. It has nothing to do with connections.
The only thing that may disallow people from connecting to your chat is the banned IP address list (IP blacklist). Take a look at your database and empty the "bans" table.
thanks for the reply.
I tried the chat on different server and it didnt work either.
whats more interesting is that i couldnt connect to other co-workers in http://www.jabbercam.com/ either.
I could connect to some random people.
connecting directly by username failed too.