Correct Settings For Hosted FreePBX 13
-
@JaredBusch said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@JaredBusch said in Correct Settings For Hosted FreePBX 13:
extensions use PJSIP by default in FreePBX 13
so in the asterisk command line (
asterisk -rvvvvvv
)use
pjsip show endpoints
core show help pjsip
will list all the commands.I am using freepbx 12 chan_sip for 30+ phones here on freepbx 12 hosted by cyberlynk.
My test freepbx 13 I am registering with pjsip.
BUT, both installs are using port 5060 (12 for chan_sip, 13 for pjsip).
Not sure how NAT coning works on the linksys, maybe an issue?
Okay and actually now I hooked up another Yealink and it registered up just fine.
On the first extension I had started as chan_sip and moved to pjsip -- maybe that was the whole issue.
Re-enabling firewall. Will see how it works. Hope you add a firewall guide to your guide...
I linked to the firewall page already. You need more details?
That was the guide I followed while doing this. I will just start over though. I am a hardcore pfsense guy so using this auto-firewall business goes against everything in me!
We use the crappy linksys here because many of our customers have the crappy linksys setup. We are a wireless ISP and transitioning to do more voice. Kind of a long story.
Anyway I have a smart ass developer two doors down who has been giving me crap for two days about not being able to get this up, and who wants to continue with our freeswitch setup we've developed in house. I think its turned into bloatware and I am planning to exit all our customers from that to freepbx hosted, possibly now on vultr.
Ive never been a freepbx person until it was mentioned to me a year ago or so by Scott on SW. And just in the last month I decided I need to learn it inside and out so I can make the transition.
Really appreciate your help. Will let you know the net of following the firewall wizard. I am guess switching from chan_sip to pjsip using the GUI for my first test extension needed some addition changes.
-
I gotta say also, the freepbx gui lead me to believe all the resources provided were maxed on my other hosted freepbx instances. I can't believe you can get by with so little.
Also, is it expected that you should hard code all your wan IP's in where you want to access the admin GUI with the responsive firewall?
-
@bigbear said in Correct Settings For Hosted FreePBX 13:
I gotta say also, the freepbx gui lead me to believe all the resources provided were maxed on my other hosted freepbx instances. I can't believe you can get by with so little.
Standard misreading of Linux RAM data. Use the free command on the CLI and you'll normally see that the RAM is essentially unused. A lightly used FreePBX system could be around 180MB while making calls.
-
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
I gotta say also, the freepbx gui lead me to believe all the resources provided were maxed on my other hosted freepbx instances. I can't believe you can get by with so little.
Standard misreading of Linux RAM data. Use the free command on the CLI and you'll normally see that the RAM is essentially unused. A lightly used FreePBX system could be around 180MB while making calls.
Just crazy what's possible. I'll be the last guy laughing around this office!
We have incredible low voice network overhead for local origination because we have our own interconnects and later 5 switches in Cinci Bell closets. Part of that was because of the dslams we had around town prior to going wifi. We average .0025 on voice costs. The platform overhead has always destroyed our profits. Seems almost too good to be true.
-
Is it expected that you convert a chan_sip extension in the GUI by clicking to change to pjsip driver? Or would I have to re-provision the phones?
What would be really helpful in the guide is to see how you manually place the config files to provisions phones and if there are any relative firewall changes that need to be made...
-
You can tune the systems down pretty low. And if you are willing to shut off services when not doing configuration, you can get down insanely low.
-
@scottalanmiller without turning off anything what's he lowest vultr you'd use?
-
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller without turning off anything what's he lowest vultr you'd use?
Not sure, we always tune our systems
-
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller without turning off anything what's he lowest vultr you'd use?
Not sure, we always tune our systems
By tuning you mean? Removing unwanted modules? Changing pagefile and CPU mgmt in Linux?
-
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller without turning off anything what's he lowest vultr you'd use?
Not sure, we always tune our systems
By tuning you mean? Removing unwanted modules? Changing pagefile and CPU mgmt in Linux?
Not CPU, but we remove unused services, reduce the responsiveness of Apache, etc.
-
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller without turning off anything what's he lowest vultr you'd use?
Not sure, we always tune our systems
By tuning you mean? Removing unwanted modules? Changing pagefile and CPU mgmt in Linux?
Not CPU, but we remove unused services, reduce the responsiveness of Apache, etc.
Stuff not easily scripted/automated?
-
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller without turning off anything what's he lowest vultr you'd use?
Not sure, we always tune our systems
By tuning you mean? Removing unwanted modules? Changing pagefile and CPU mgmt in Linux?
Not CPU, but we remove unused services, reduce the responsiveness of Apache, etc.
Stuff not easily scripted/automated?
We are starting to do that stuff to standardize it. Pretty much everything is automatable on Linux
-
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@scottalanmiller without turning off anything what's he lowest vultr you'd use?
Not sure, we always tune our systems
By tuning you mean? Removing unwanted modules? Changing pagefile and CPU mgmt in Linux?
Not CPU, but we remove unused services, reduce the responsiveness of Apache, etc.
Stuff not easily scripted/automated?
We are starting to do that stuff to standardize it. Pretty much everything is automatable on Linux
Where I'm heading with this is to write a php interface for provisioning using the acme packet and vultr api's, not sure yet about freepbx api's maybe salt my way to ops automation. Totally replace our in house system.
It's not my primary job around here, I'm a radiohead...
-
@bigbear said in Correct Settings For Hosted FreePBX 13:
Is it expected that you convert a chan_sip extension in the GUI by clicking to change to pjsip driver? Or would I have to re-provision the phones?
You can easily switch this without reprovisioning the phones. I have done it more than once.
What would be really helpful in the guide is to see how you manually place the config files to provisions phones and if there are any relative firewall changes that need to be made...
You mean my guide? That is coming, but basically you put them in
/tftpboot
like any other default tftp setup.Assuming you have not messed up the firewall more, they work once you enable the right network settings.I use the 'Internal' or 'Other' setting for that.
-
@JaredBusch I'm gonna retry all this from scratch tonight. Maybe use a $10 vm. Not doing any "tuning" though.
I was thinking with pjsip on 5060 should in be trunking down to 5160 and chan_sip from my soft switch?
-
I use HTTPS provisioning in the Yealink phones, but you could use TFTP also.
HTTPS provisioning is on port 1443 by default.
So in your phone you would setup https://pbx.domain.com:1433 as the config URL.
auto_provision.server.url = https://pbx.domain.com:1443 firmware.url = https://pbx.domain.com:1443/T42-29.81.0.20.rom
-
@bigbear said in Correct Settings For Hosted FreePBX 13:
@JaredBusch I'm gonna retry all this from scratch tonight. Maybe use a $10 vm. Not doing any "tuning" though.
I was thinking with pjsip on 5060 should in be trunking down to 5160 and chan_sip from my soft switch?
outbound trunks still use chan_sip out to the other end's port 5060 like you are familiar.
I feel you are overcomplicating this entire thing.
-
@JaredBusch said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@JaredBusch I'm gonna retry all this from scratch tonight. Maybe use a $10 vm. Not doing any "tuning" though.
I was thinking with pjsip on 5060 should in be trunking down to 5160 and chan_sip from my soft switch?
outbound trunks still use chan_sip out to the other end's port 5060 like you are familiar.
I feel you are overcomplicating this entire thing.
I mean, if your tftp is "internal" how do the remote phones access it? Lol. Just doesn't follow any firewall lingo I've ever used...
-
@bigbear said in Correct Settings For Hosted FreePBX 13:
@JaredBusch said in Correct Settings For Hosted FreePBX 13:
@bigbear said in Correct Settings For Hosted FreePBX 13:
@JaredBusch I'm gonna retry all this from scratch tonight. Maybe use a $10 vm. Not doing any "tuning" though.
I was thinking with pjsip on 5060 should in be trunking down to 5160 and chan_sip from my soft switch?
outbound trunks still use chan_sip out to the other end's port 5060 like you are familiar.
I feel you are overcomplicating this entire thing.
I mean, if your tftp is "internal" how do the remote phones access it? Lol. Just doesn't follow any firewall lingo I've ever used...
You really have no idea what you are doing here. Maybe you should leave this to your PBX team, have you thought about that?
If you are going to continue, read the definitions, but realize, they are simply labels to be friendly.
So if you make a network or IP internal like I did above, then that network can access anything marked internal on the service map pages.
By default, many things are set to internal already on those pages.
By default, almost nothing is set to other, it is good to use for home office workers with a dyndns entry for their IP.You get the idea now?
-
@JaredBusch what internal network is there when it's hosted???