FreePBX to VAPI SIP Integration Issue
Hi everyone!
I'm trying to configure FreePBX 17 to connect with VAPI's SIP URI service (**@sip.vapi.ai) but running into challenges.
What I've tried:
Created a custom SIP trunk in FreePBX
Set up a direct dialplan in extensions_custom.conf
Added PJSIP endpoint configurations
Created outbound routes with prefix 800
The issue:
When dialing 800+extension, I get "all circuits busy" errors. From logs, I can see FreePBX is trying to establish a traditional trunk connection expecting VAPI to register, but from what I understand, VAPI doesn't perform registration as it functions more like a SIP destination server.
Questions:
Has anyone successfully connected FreePBX to VAPI?
Is a middle SIP proxy (like Kamailio) absolutely necessary, or is there a way to configure FreePBX directly?
Any specific configuration tips for making this work without adding additional components?
Any help would be greatly appreciated!
What I've tried:
Created a custom SIP trunk in FreePBX
Set up a direct dialplan in extensions_custom.conf
Added PJSIP endpoint configurations
Created outbound routes with prefix 800
The issue:
When dialing 800+extension, I get "all circuits busy" errors. From logs, I can see FreePBX is trying to establish a traditional trunk connection expecting VAPI to register, but from what I understand, VAPI doesn't perform registration as it functions more like a SIP destination server.
Questions:
Has anyone successfully connected FreePBX to VAPI?
Is a middle SIP proxy (like Kamailio) absolutely necessary, or is there a way to configure FreePBX directly?
Any specific configuration tips for making this work without adding additional components?
Any help would be greatly appreciated!