Hi, and thank you for reading this in advance, whether you can help or not.
Situation: deploying a VoIP system on an existing LAN for 50-100 users, using the same fiber gateway.
Layout: LAN > pfSense > Fiber Router.
VoIP Provider: IrishVoIP
What works: registering trunk, registering extensions, internal calls, outbound calls.
What doesn’t work: inbound calls. This problem is, I believe, divided in two:
1.- When PBX Settings > SIP Settings > Allow Guest Calls = unchecked.
The PBX receives the invite and immediately replies a 404 not found. The inviting server acknowledges.
2.- When PBX Settings > SIP Settings > Allow Guest Calls = checked.
The PBX receives the invite and replies a 100 Trying > 183 Session Progress > RTP Packet to server [x 300 times] > 480 Temporarily Unavailable. No other packets come out of the PBX (searching destination?) or to the PBX during this process, except for the final inviting server acknowledgment to the 480 error.
As Allow Guest Calls changes the behavior, I assume that points to some problem with the authentication of calls.
As Allow Guest Calls checked does still not connect calls, I assume we also have a problem other than authentication. From what I see around, and taking into account I’m in unknown land, it seems the replies from the PBX are not what could be expected, nor is the silence from the inviting server - I understand the PBX should then try invite the Destination, report back, ring both and only then open an RTP connection. This understanding may well be very wrong.
Inbound route is for _X. with nothing else checked except Destination, set to a working extension.
Fiber Router firewall is disabled.
I’ve changed the destination in Inbound Route: extension 1, extension 2 (can call internally from one to another or use them for outbound calls), external phone, dummy IVR. No change in the packets.
I’ve captured packets on the WAN side of pfSense: no related packets seem to be blocked -> shows the same communication.
I’ve also searched and blind-tested anything that looked like a similar problem someone faced before, and solved somehow. In case you haven’t figured by now, expert I am not, and after days of trying I don’t really know what to do next.
Can anyone suggest what to do further, or where to look for the misconfiguration?