So here’s my situation. We have an asterisk server at school. This server has some extensions configured that playback a sound to the caller. The server is only accessible locally (no public ip), so in order to connect to it from my home, I need to connect to my school’s VPN.
If I use a softphone (Twinkle) and connect directly to this server, everything works fine.
However, I need to setup a local asterisk server for my assignment. This local server register itself to the school’s server and provide simple routing. For the moment, I route (almost) everything to the school’s server. When I try to connect to my server using Twinkle, I can dial an extension managed by the school’s server, the server answer, but I have no sound. If I dial an extension that is not routed to the school’s server (i.e. it’s managed at my server), I do get sound. What’s wrong?
Note : the assignment is usually done in class, so the VPN stuff is not part of it.