FusionPBX Gateway without ACL

Status
Not open for further replies.

brubinstein

New Member
Jan 23, 2024
2
0
1
25
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)
 
Are you setting up a trunk in FreePBX to Fusion, or are you using a FreePBX extension?

You should use a trunk on FreePBX
 
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
 
You sending the INVITES to port 5080? 5060 is for extensions. 5080 for trunks.
 
Status
Not open for further replies.