Install FreePBX on Ubunto20

Hi @Afik123 I will agree with @PitzKey:

Even after you install the FreepBX on Ubuntu, you may have another set of issues due to lack of commercial modules on Ubuntu.

May I ask where you are trying to install your FreepPBX, on-site vs cloud? If the later which provider? I believe this path will be much smoother.

1 Like

I want (and need) to install it on Oracle cloud .
coudn’t find a ready to use image for it -

at first I have also try to install Freepbx on centos7 - got problems there also

the ubuntu is not the issue - I don’t care on which linux I’m installting it , I just need it to work.

hope this help you to help me ,

Thanks ,

**** I have insatll the missing package
but
when I call from my PC to the android - I get no replay ,I don’t see a call in my android phone
when I call from my android to the PC - I get the call , but no sound
this is what I get in the logs

[2022-07-31 10:56:11] WARNING[6633][C-00000009] res_rtp_asterisk.c: RTP Read too short	
7941	[2022-07-31 10:56:11] WARNING[6633][C-00000009] res_rtp_asterisk.c: RTP Read too short	
7942	[2022-07-31 10:56:38] NOTICE[2386] res_pjsip_sdp_rtp.c: Disconnecting channel 'PJSIP/0002-00000011' for lack of audio RTP activity in 30 seconds	
7943	[2022-07-31 10:56:38] VERBOSE[6642][C-00000009] bridge_channel.c: Channel PJSIP/0002-00000011 left 'simple_bridge' basic-bridge <ff7466a5-6e0a-46a1-ad42-9051f4906d54>	
7944	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] bridge_channel.c: Channel PJSIP/0001-00000010 left 'simple_bridge' basic-bridge <ff7466a5-6e0a-46a1-ad42-9051f4906d54>	
7945	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] app_macro.c: Spawn extension (macro-dial-one, s, 54) exited non-zero on 'PJSIP/0001-00000010' in macro 'dial-one'	
7946	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] app_macro.c: Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'PJSIP/0001-00000010' in macro 'exten-vm'	
7947	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] pbx.c: Spawn extension (from-internal, 0002, 3) exited non-zero on 'PJSIP/0001-00000010'	
7948	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] pbx.c: Executing [h@from-internal:1] Macro("PJSIP/0001-00000010", "hangupcall") in new stack	
7949	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/0001-00000010", "1?theend") in new stack	
7950	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] pbx_builtins.c: Goto (macro-hangupcall,s,3)	
7951	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/0001-00000010", "0?Set(CDR(recordingfile)=)") in new stack	
7952	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] pbx.c: Executing [s@macro-hangupcall:4] Hangup("PJSIP/0001-00000010", "") in new stack	
7953	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/0001-00000010' in macro 'hangupcall'	
7954	[2022-07-31 10:56:38] VERBOSE[6633][C-00000009] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/0001-00000010'

what could it be?

I was able to install FreePBX with the commercial modules by converting the iso into a compatible formate.

You can do the same in Oracle cloud, see their guide:

Basically, you will download the free-box distro iso image Download | FreePBX - Let Freedom Ring and convert it into a VMDK file. I have done so using virtualbox:
How to Convert Bootable ISO File to Virtual Disk VHD/VMDK
https://youtu.be/yVXPW46HuCw

Then, upload the image to an Oracle Cloud bucket and follow the rest of the guide.

If you are open to other cloud providers, there are some that let you use ISO image for installation. Hope someone here can provide more tips with this regards.

As for the second part of your post, this looks like a firewall / NAT issue. Make sure that you open the standard ports: PJSIP port 5060 (UDP), Port 5061 (TLS) and RTP Port Range (Settings >> Asterisk SIP Settings)

I will try the convert now and see if I mange to do it

about the ports :
all the ports to the server are open (TCP and UDP ) from the vpn users
I’m able to make the call so something is working ,

I have look at the NAT Setting in SIP Setting
added there the vpn local netwrok
and now something strange
from the Android APP (MIZUDROID) I mange to call to the Windows computer (Zoiper5)
I mange to talk and make a call without any problem
but from the computer to the android - I don’t get the call (computer and phone are both connected to the vpn with the same subnet)
what could it be ?


I have download another app for my android -
“sipnetic”
and it’s working (didn’t change any setting)

Thanks ,

I suggest providing a failed call log. Someone will be able to provide further insight of your issue.

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug

pjsip set logger on
and/or
sip set debug on

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.