TIPS Help With PJSIP Setup

dallas

Well-Known Member
Joined
Oct 21, 2007
Messages
1,034
Reaction score
332
I have 2 Incredible PBXs. One in my home (Incredible PBX/FAX 2021.01 for Raspberry Pi4) the other in Oracle Cloud (Incredible PBX for Oracle Cloud with Ubuntu 20.04).
I am trying to setup a PJSIP trunk between them. Because the Pi4 is behind a firewall with no ports forwarded it needs to register to the Oracle PBX.

When the Pi4 registers the Oracle log shows "Registration from '<sip:Oracle@IP of Oracle PBX>' failed for 'External Address of Pi4 PBX:5061' - wrong password."

The error in the Pi4 log shows "403 Forbidden fatal response received from 'sip:IP of Oracle PBX' on registration attempt to 'sip:Oracle@IP of Oracle PBX', retrying in 30 seconds".
20 seconds later "Contact Oracle/sip:Oracle@IP of Oracle PBX is now reachable". The FreePBX Asterisk Info report on both PBXs show offline.

Here are the Trunk PJSIP Settings from each PBX.
 

Attachments

  • Oracle_Trunk_PJSIP.JPG
    Oracle_Trunk_PJSIP.JPG
    57.8 KB · Views: 9
  • Pi4_Outbound_PJSIP.JPG
    Pi4_Outbound_PJSIP.JPG
    59.4 KB · Views: 8
@dallas: Have you read...
Yes, many times but I wanted to set it up without a VPN.

@Samot was correct. To my surprise IP authentication worked without any holes in the firewall. So my assumption that registration was required to navigate the firewall was wrong.
 
Because the Pi4 is behind my gateway without any port forwarding.
The registration is initiated from the Pi4b and the router keeps tabs on you outgoing connections in order for the returned incoming connections to be kept open.

As my phone's connected to Pi are all Internal then My Pi never has any ports forwarded it just works.
 
The registration is initiated from the Pi4b and the router keeps tabs on you outgoing connections in order for the returned incoming connections to be kept open.
Yes I saw that in the logs. The 1st registration attempt fails and the second succeeds.
 
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top