FusionPBX Gateway without ACL

Status
Not open for further replies.

brubinstein

New Member
Jan 23, 2024
2
0
1
24
Hi,

Trying to set up a gateway to a asterisk box by having FusionPBX register to asterisk. The registration seems fine and shows registered on both ends. However, on an SIP invite from asterisk to fusionpBX, I get challenged for auth and FusionPBX xml_handler queries the PostgreSQL DB for v_extentions in order to get the credentials and obviously returns with no records as the gateway user info is in the table v_gateways. Am doing something wrong?
It works correctly when adding the asterisk IP to ACL list but I'm trying to accomplish user auth and not IP auth.

(Freeswitch/FusionPBX newbie)
 

tfernandez

Member
Oct 31, 2019
35
10
8
31
Are you setting up a trunk in FreePBX to Fusion, or are you using a FreePBX extension?

You should use a trunk on FreePBX
 

brubinstein

New Member
Jan 23, 2024
2
0
1
24
the issue is with the Fusion lua script, it only looks in v_users tables when trying to authenticate. I modified the script and have it look up user auth info from the gateways table on inbound invite. I am just asking if there is anything I missed that should allow it to work automatically
 

hfoster

Active Member
Jan 28, 2019
677
80
28
34
You sending the INVITES to port 5080? 5060 is for extensions. 5080 for trunks.
 
Status
Not open for further replies.