Installing 3CX PBX from Microsoft Azure Marketplace

Status
Not open for further replies.

KaterinaK_3CX

Joined
Feb 24, 2016
Messages
246
Reaction score
36
Easily host and manage 3CX in your own Microsoft Azure, managing all your servers from one account and leveraging your Microsoft Azure knowledge to stay in full control of your 3CX install. This guide explains how to get a free Azure account with $200 credit and use it to set up a 3CX VM.

Read the guide.
 
Hi - I had the same issue.
After this command /usr/sbin$ sudo /usr/sbin/3CXWizard --cleanup
I finally got the startup prompt

/Ole
In your case OleAndreas, I can only say that you are the first to come up with a solution in days. I've read so much nonsense, and in two sentences you come up with a command that works. Respect! I'll buy you a beer for that :) I'll write to you later via Dn
 
  • Like
Reactions: OleAndreas
Hi - I had the same issue.
After this command /usr/sbin$ sudo /usr/sbin/3CXWizard --cleanup
I finally got the startup prompt

/Ole
Two lines and a solution. Respect. The first one who really has a clear view. I've been getting nothing but bullshit news for days. I'll buy a beer for that. Send you a DN
 
In your case OleAndreas, I can only say that you are the first to come up with a solution in days. I've read so much nonsense, and in two sentences you come up with a command that works. Respect! I'll buy you a beer for that :) I'll write to you later via Dn
Thanks - the beer in Norway is famously expensive :-D
I will have a beer in your behalf - thanks
/Ole
 
Thanks - the beer in Norway is famously expensive :-D
I will have a beer in your behalf - thanks
/Ole
Oh, I know. My best friend here is also from norway and part of my family lives in Copenhagen. It might be cheaper where I live, although the taxes here are also quite high. However, the flight costs to Bali are probably beyond the scope :) But if you're ever here on the island of the gods, you're cordially invited for a beer. Your short answer came after 15 hours of trial and error. Everything works now. Thank you very much, best wishes, Heiko
 
Does anyone know this problem?

I have moved my 3CX to another server (Azure Cloud) or completely reinstalled and reconfigured it. Previously debian and now debian again. I have adopted the configuration of the SIP provider 1:1. I have only created new extensions, groups etc. because unnecessary configurations have crept in over the years.

When I want to make a test call, I get a busy signal and the following error message:
3CX Notification: Trunk/Provider responds to Request with an error - XXXX.my3cx.XX
Call or Registration to XXXXXXX@(XX@MYSIPPROVIDER) failed.
XX.XX.XXX.XX replied: 404 Not Found; from IP:XX.XX.XXX.XX:5060

I have already tested the following, but cannot get any further.
1. checked the configuration of the SIP provider again
2. looked directly at the SIP provider. IP is displayed correctly there and everything lights up green.
3. 3cx shows no errors during the port check
4. port 5060 (TCP/UDP) is released in the azure security group
5. port 5060 is open on debian vm and it is also listened to
6. DNS check on the debian vm in the direction of the SIP provider is also OK -> nslookup xxx.xxxx.de (the resolved IP of the domain is of course also in the error message)

The only thing I noticed that might have something to do with this is the network card (Advanced -> Network). In my old 3CX, the public IP was in the network card interface. The new config shows the private IP. But I can't change that either. Do I have to select the public network card or the private one? Could this be the problem and how can I change this?
 
Hi - I had the same issue.
After this command /usr/sbin$ sudo /usr/sbin/3CXWizard --cleanup
I finally got the startup prompt

/Ole
Use that command anytime you need to reinstall and then after it spins up you can restore from backup. Both need to be on the same version. I run systems out of AWS, MS is too flaky, changing their systems way to much.
 
Does anyone know this problem?

I have moved my 3CX to another server (Azure Cloud) or completely reinstalled and reconfigured it. Previously debian and now debian again. I have adopted the configuration of the SIP provider 1:1. I have only created new extensions, groups etc. because unnecessary configurations have crept in over the years.

When I want to make a test call, I get a busy signal and the following error message:
3CX Notification: Trunk/Provider responds to Request with an error - XXXX.my3cx.XX
Call or Registration to XXXXXXX@(XX@MYSIPPROVIDER) failed.
XX.XX.XXX.XX replied: 404 Not Found; from IP:XX.XX.XXX.XX:5060

I have already tested the following, but cannot get any further.
1. checked the configuration of the SIP provider again
2. looked directly at the SIP provider. IP is displayed correctly there and everything lights up green.
3. 3cx shows no errors during the port check
4. port 5060 (TCP/UDP) is released in the azure security group
5. port 5060 is open on debian vm and it is also listened to
6. DNS check on the debian vm in the direction of the SIP provider is also OK -> nslookup xxx.xxxx.de (the resolved IP of the domain is of course also in the error message)

The only thing I noticed that might have something to do with this is the network card (Advanced -> Network). In my old 3CX, the public IP was in the network card interface. The new config shows the private IP. But I can't change that either. Do I have to select the public network card or the private one? Could this be the problem and how can I change this?
Likely. You could test by modifying the trunk to send the public IP in the header.
 
Hi folks, it looks like the image may need some work, but the fix of applying the swap updates and then running "sudo /usr/sbin/3CXWizard --cleanup" worked for me.

I did notice a tiny change to the Microsoft doc that didn't make it obvious where the first step updates need to be, so I submitted the update as a pull request. But until then, you need to make those changes to the /etc/waagent.conf file and then reboot.

As a summary

Follow the steps at https://www.3cx.com/docs/pbx-azure-marketplace/
and in step 3 "create a swap file" follow the steps to update the config file (https://learn.microsoft.com/en-us/t...ines/swap-file-not-recreated-linux-vm-restart), add a shell script and make it executable, reboot the server and check for "free -m" to validate the swap file was correctly enabled, and finally then run the cleanup command "sudo /usr/sbin/3CXWizard --cleanup". Also, if you're not experimenting with the server - make sure to turn off auto shutdown on the VM.
 
Just launched a new VM using the Azure image. Selected v18, but ended up with v20? Can anyone advise on a process that actually gets you v18?
 
Just gone to deploy 3CX on Azure - we're migrating most in premise VMs there at the moment. Which one do I choose though from the marketplace. There's 3CX Phone System and 3CX Phone System - Version 18. Any ideas which one to use please? We're currently on V18 for Windows and intend on restoring a backup.
 
Just gone to deploy 3CX on Azure - we're migrating most in premise VMs there at the moment. Which one do I choose though from the marketplace. There's 3CX Phone System and 3CX Phone System - Version 18. Any ideas which one to use please? We're currently on V18 for Windows and intend on restoring a backup.

Please read step #2
https://www.3cx.com/docs/pbx-azure-marketplace/
 
Thanks, but step 2 on that link is just about firewall configuration? I've already read that tutorial.
 
Thanks, but step 2 on that link is just about firewall configuration? I've already read that tutorial.

Sorry
Please read Step 1, specifically item #2 within Step 1.
 
Status
Not open for further replies.

Forum statistics

Threads
111,952
Messages
589,904
Members
164,845
Latest member
tdzski5