SOLVED Trouble with AnveoDirect DID with pfSense

simplydrew

Member
Joined
Feb 19, 2012
Messages
92
Reaction score
4
Recently decided to sign up for AnveoDirect and test their inbound service on my PIAF instance at home, which has pfSense as my router sitting in front of where PIAF lives. Unfortunately, I've run into some trouble.

I followed the NerdVittles guide for getting the Asterisk settings going, but think that I'm having trouble at the pfSense level of allowing traffic from Anveo and Bandwidth.com (who is supplying their DIDs). I'm generally used to just setting myself up a NAT rule within pfSense for the IPs for the port forward and I'm all set. Unfortunately, I've gone even as far as allowing all source IPs to my PBX and can't get an inbound call to flow properly.

Turning up sip debugging on Asterisk doesn't show the call coming into any of my inbound peers that I setup per the guide. I've allowed all of Anveo's IPs via an alias and selecting that alias for the source field of a rule for 5060 and 10000-20000 ports, but am not getting any joy.

I'll have to start pulling packet captures and troubleshooting the pfSense end of it, but knew there were a few folks here that use pfSense and thought I'd see if there might be any input. Currently a few hours into some head scratching.
 
Joined
Sep 29, 2014
Messages
259
Reaction score
13
Location
Montreal
Hello:
I don't know if this will help you…

I followed this tutorial, http://nerdvittles.com/?p=5680, to set up Anveo direct on 3 different servers: DigitalOcean, RentPbx and CloudatCost.

On Digital Oceans and RentPbx all worked fine but not on CloudatCost. I got it to work by setting my “Destination SIP Trunks” (in Anveo Direct) to $[E164][email protected]:5061 instead of $[E164][email protected]
 

simplydrew

Member
Joined
Feb 19, 2012
Messages
92
Reaction score
4
Thanks, @Robert.Thompson and @briankelly63. Got myself going after a few more tries. I don't think that I was taking into account another range that Bandwidth.com was using to deliver calls. Found their CIDRs, dropped those networks into my allow alias (just for a little more peace of mind than leaving it open from the pfSense side and having iptables handle it on the PBX side), and now I appear to be good to go.

Just had a little heart burn at first for some reason ;) I appreciate the quick responses.
 
  • Like
Reactions: briankelly63

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,320
Messages
137,026
Members
14,550
Latest member
treimers