Fusionpbx as a gateway server

RTL

Member
Jan 26, 2024
83
11
8
64
I'm using Fusionpbx as a gateway server for some end users. Calls arrive on the fusion server and are then sent to the end users's pbx via the sip trunk app and it works well.
I'd now like to make calls go the other way. I can get calls from the end user's pbx to fusionpbx but can't quite work how to get that out through a gateway with the correct source and destination numbers. I'm pretty sure I need a bridge here but not clear on how to implement it. ANy help wpuld be appreciated.
 
IP authentication
Gateway PBX

  • Create an extension for your PBX
  • Add the IP address in the CIDR field of the extension.
  • Status -> SIP Status, press the RELOADACL button
Client PBX
  • Create an outbound route from the client PBX to the Gateway server
  • Add the Gateway PBX to your providers access control list
  • Add new numbers to inbound destinations

Registrations

Gateway PBX

Client PBX
  • Create a gateway that registers with the Gateway PBX
  • Add the Gateway PBX to your providers access control list
 
Last edited:
  • Like
Reactions: DOLMark
IP authentication
Gateway PBX

  • Create an extension for your PBX
  • Add the IP address in the CIDR field of the extension.
  • Status -> SIP Status, press the RELOADACL button
Client PBX
  • Create an outbound route from the client PBX to the Gateway server
  • Add the Gateway PBX to your providers access control list
  • Add new numbers to inbound destinations

Registrations

Gateway PBX

Client PBX
  • Create a gateway that registers with the Gateway PBX
  • Add the Gateway PBX to your providers access control list
Tried all this and it worked. I could get a call working each way. But, today I find that calls from the gateway server to the client work but not the other way. I'm seeing UNALLOCATED_NUMBER. No idea what's changed here
 
To update this and add some clarity. I'm using a registered trunk between a fusionpbx server as a gateway with a client pbx. The trunk between them is registered to an extension on the gateway pbx using sip trunks.
Inbound calls to the gateway and sent to the client pbx as expected, the caller id is correct. When we make a call from the client pbx the call gets to the gateway and fails as it's an unallocated number.
When we first set this up about a month ago calls worked in both directions but outbound stopped as described above a few days ago.
The gateway server details are
5.6.1-dev
Branch: master
Commit: dace58370ffc46f38ad082e9936d42159f93ce24
Origin: https://github.com/fusionpbx/fusionpbx
Status: Your branch is up to date with 'origin/master'. +1 days ago

We set up another fusionpbx server as above and calls can go both ways. This server's details are
5.5.9
Branch: 5.5
Commit: d329aa2c48dcbf6aefa94d31739f52560e6bf87a
Origin: https://github.com/fusionpbx/fusionpbx
Status: Your branch is up to date with 'origin/5.5'. +0 days ago

The conclusion is that an update/upgrade recently broke this so if I switch from master to 5.5 is this likely to make it work?