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:[email protected].
- Added the following text to the file sip_custom_post.conf:
[flowroute1](flowroute);
host=147.75.65.192
[flowroute2](flowroute);
host=147.75.65.193
[flowroute3](flowroute);
host=147.75.65.194
[flowroute4](flowroute);
host=147.75.65.195
[flowroute5](flowroute);
host=147.75.65.196
[flowroute6](flowroute);
host=147.75.65.197
[flowroute7](flowroute);
host=147.75.65.198
[flowroute8](flowroute);
host=147.75.65.199
[flowroute9](flowroute);
host=147.75.65.200
[flowroute10](flowroute);
host=147.75.65.201
[flowroute11](flowroute);
host=147.75.65.202
[flowroute12](flowroute);
host=147.75.65.203
[flowroute13](flowroute);
host=147.75.65.204
[flowroute14](flowroute);
host=147.75.65.205
[flowroute15](flowroute);
host=147.75.65.206
[flowroute16](flowroute);
host=147.75.65.207
In the dashboard you should see 17 trunks.