In case there is someone else that is looking for help in setting up FreePBX v12 with Flowroute, here is what I did:
- In Flowroute I picked my favorite PoP (us-east-nj). Will need the IP addresses of the PoP servers in the next step.
- In my router I forwarded ports TCP 5060 and UDP 5060 limiting WAN users to the IPs of Flowroute’s servers as mentioned in step 1. I also forwarded UDP ports 10000 to 20000 accepting traffic from all WAN IPs.
- I created a trunk called ‘flowroute’ and used the following peer config:
context=from-trunk fromdomain=sip.flowroute.com fromuser=USERNAME host=sip.flowroute.com insecure=port,invite secret=PASSWORD type=peer defaultuser=USERNAME disallowed_methods=UPDATE directmedia=no videosupport=no disallow=all allow=ulaw
Used the following register string: USERNAME:PASSWORD@us-east-nj.sip.flowroute.com.
- Added the following text to the file sip_custom_post.conf:
[flowroute1](flowroute); host=22.214.171.124 [flowroute2](flowroute); host=126.96.36.199 [flowroute3](flowroute); host=188.8.131.52 [flowroute4](flowroute); host=184.108.40.206 [flowroute5](flowroute); host=220.127.116.11 [flowroute6](flowroute); host=18.104.22.168 [flowroute7](flowroute); host=22.214.171.124 [flowroute8](flowroute); host=126.96.36.199 [flowroute9](flowroute); host=188.8.131.52 [flowroute10](flowroute); host=184.108.40.206 [flowroute11](flowroute); host=220.127.116.11 [flowroute12](flowroute); host=18.104.22.168 [flowroute13](flowroute); host=22.214.171.124 [flowroute14](flowroute); host=126.96.36.199 [flowroute15](flowroute); host=188.8.131.52 [flowroute16](flowroute); host=184.108.40.206
In the dashboard you should see 17 trunks.