Configuring VERTO

On a default FreeSWITCH installation you find the mod_verto configuration in /usr/local/freeswitch/conf/autoload_configs/verto.conf.xml. We will edit the profile "default-v4", for IPv4, eg, normal Internet connectivity. You want to check the TCP port where VERTO will listen for signaling on WSS transport. Note that secure="true"indicates WSS (as opposed to simple WS).

      <param name="bind-local" value="$${local_ip_v4}:8082" secure="true"/> 
      <param name="ext-rtp-ip" value="93.58.44.181"/> 
      <param name="debug" value="0"/> 

The value of ext-rtp-ip sets the IP address VERTO will tell the WebRTC clients they must connect to in order to exchange media streams. It must be set to FreeSWITCH IP address as seen from the WebRTC clients. So for clients coming from the Internet, ext-rtp-ip must be set to the external side of the NAT, eg to the routable IP address (often same as the webserver IP address).

You may want at least temporarily bring the value of "debug" to 10, so all VERTO exchanges will be visible (in red!) on the FreeSWITCH console and on fs_cli. Bringing up mod_verto debug, together with the javascript console on the client browser, will give you complete trace of what signaling is exchanged.