Add Flowroute as a SIP Gateway to FreeSWITCH
This article provides a basic starting configuration to get FreeSWITCH up-and-running with Flowroute as the external SIP. This article was written using a 64-bit Debian 3.16.7 Linux system with a static public IP running FreeSWITCH Version 1.6.2. See the Freeswitch Installation Guide for more info on installing FreeSWITCH.
|NOTE: This guide requires Flowroute's recommended firewall rules be configured to allow Flowroute related traffic onto your network.|
- Have your Flowroute SIP Credentials (Tech Prefix/Username & Auth Username, and Password), found on the Interconnection > Registration page of Flowroute Manage.
- Install FreeSWITCH and any required dependencies.
- Create the directory /etc/freeswitch/sip_profiles/external/
- Paste the following XML code into flowroute.xml, replacing
PASSWORDwith your Flowroute SIP Credentials information found on the Interconnection page of Flowroute Manage.
<include/> <gateway name="flowroute"> <!-- Replace TECH_PREFIX with SIP credential username --> <param name="username" value="TECH_PREFIX"/> <param name="auth-username" value="TECH_PREFIX"/> <!-- Replace SIP_PASSWORD with SIP credential password --> <param name="password" value="SIP_PASSWORD"/> <param name="proxy" value="preferred PoP.sip.flowroute.com"/> <param name="expire-seconds" value="600"/> <!-- Switch to "false" to disable SIP Registration --> <param name="register" value="true"/> <param name="retry-seconds" value="30"/> <param name="dtmf-type" value="rfc2833"/> </gateway> </include>
After saving the file, run the following:
fs_cli -x "sofia profile restart all";
Congratulations! You now have a Flowroute SIP gateway configured in FreeSWITCH
Did you find this article helpful?