Use FusionPBX as a VOIP router - gateway

wifx

New Member
Jan 23, 2025
4
0
1
53
I want to use FusionPBX as a general VoIP router. I’ve spent a few hours experimenting and reading the documentation. The routing and dial plan manipulation capabilities seem powerful and quite interesting.

However, I’m stuck on something that should be simple in principle, but I can't seem to find the solution.

I need the PBXs connecting to FusionPBX to register. According to the documentation, this requires creating a user account. However, the DID is not preserved between the incoming call from a trunk and what is ultimately delivered to the PBX. Instead of the original DID, I only see the extension's (created user’s) number.

I've tried several adjustments, but none of them have worked so far.


FusionPBX Principe.jpg


From what I understand, I also can't have trunks with inbound registration.

I'm stuck, how can I solve this?

Tnx in advance,
Best regards.
Marc
 

umersaeed

New Member
Aug 29, 2021
6
1
3
27
Hello wifx,

I didn’t completely understand your question, but from what I gather, the issue is that when an inbound call arrives on the SIP trunk with DID 123456789, and FusionPBX routes it to PBX1, the DID is not being preserved. Instead, PBX1 is receiving the extension number of the registered user.

This issue can often be resolved by ensuring that the destination number is correctly passed in the SIP headers. You may need to check and modify the Caller_ID_Number and destination_number variables in the FusionPBX dial plan.

If you can provide SIP logs (e.g., using sngrep), it would help us understand whether the Request-URI or To header is being modified, and we can suggest a precise fix.

Best regards.
Umer Saeed
 
  • Like
Reactions: wifx

markjcrane

Active Member
Staff member
Jul 22, 2018
567
202
43
50
@wifx People are using FusionPBX for this. The SIP trunks feature will help with registration-based SIP trunks. IP authentication-based SIP trunks are also possible.
 
  • Love
Reactions: wifx

wifx

New Member
Jan 23, 2025
4
0
1
53
@wifx People are using FusionPBX for this. The SIP trunks feature will help with registration-based SIP trunks. IP authentication-based SIP trunks are also possible.
Thanks, I tried to install it, but the app does not appear in the menu, I checked the rights, I tried to add it manually, but without success ... Any ideas?
 

RTL

Member
Jan 26, 2024
47
4
8
63
Thank you! But it seems very complicated to implement :-(
In that case look at dsiprouter. It's kamailio with a gui on top and it supports fusionpbx. We use it for sip trunks with fusionpbx and it works well and it's easy to set up
 
  • Like
Reactions: wifx

wifx

New Member
Jan 23, 2025
4
0
1
53
In that case look at dsiprouter. It's kamailio with a gui on top and it supports fusionpbx. We use it for sip trunks with fusionpbx and it works well and it's easy to set up
To cut a long story short, I configure a gateway on FusionPBX which registers on kamailio.
Then I register the other PBXs on kamailio, which will route the calls to FusionPBX. Is the idea correct, or how is the flow and concept?