I’m working on a dedicated machine for FreePBX 17 with Asterisk 20.18.0, and I’ve gotten as far as getting asterisk fully set up. There’s just one problem; when I’m getting ready to execute ./install, there is no –noasterisk option. In fact, it throws: PHP Fatal error: Uncaught TypeError: FreePBX\Install\FreePBXHelpCommand: :execute(): Return value must be of type int, none returned in /usr/local/freepbx/installlib/installhelpcommand.class.php:42
Stack trace: #0 /usr/local/src/freepbx/amp_conf/htdocs/admin/libraries/Composer/vendor/symphony/console/Command/Command.php)312): FreePBX\Install\FreePBXHelpCommand->execute() #1 /usr/local/src/freepbx/amp_conf/htdocs/admin/libraries/Composer/vendor/symphony/console/Application.php(1022): Symfony\Component\Console\Command\Command->run() #2 /usr/local/src/freepbx/amp_conf/htdocs/admin/libraries/Composer/vendor/symphony/console/Application.php(314): Symfony\Component\Console\Application->doRunCommand() #3 /usr/local/src/freepbx/amp_conf/htdocs/admin/libraries/Composer/vendor/symphony/console/Application.php(168): Symfony\Component\Console\Application->doRun() #4 /usr/local/src/freepbx/install(22): Symfony\Component\Console\Application->run() #5 {main}
thrown in /usr/local/src/freepbx/installlib/installhelpcommand.class.php on line 42
Hit another roadblock, I’m attempting to migrate to the new system in which I built from scratch and with the UCM patch, but since I need to use CHAN_SIP, we’re back to the old ways of using FPBX, I’m stuck at “Registering”, but it doesn’t seem to be working, all the settings are correct, but we don’t seem to be getting anywhere, any input that can be tossed my way? Thanks
Out of curiosity, why are you sticking with CHAN_SIP? Legacy desk phones or other hardware? I’m sure you’re aware depending on the version this is either deprecated or removed.
Because the “stable” build for the UCM patch calls for CHAN_SIP, I’d use the newer build for it, if it wasn’t still “in beta” so-to-speak, I got it to register, forgot how, but it works now? But now I’m more or less wondering if someone could make a walkthrough on how to get the patch installed CORRECTLY and in such a way where I can have BLF and all that jazz, Or heck, maybe even if someone could interactively help me get this working, because custom softkeys won’t work, BLF isn’t happening, conferencing is partially broken (Not that I need conferencing?) But… y’know, it’d be awesome
As for the legacy phones, I grew up with them when I was in High School, and yes, that’s my Autism speaking, just one of those things…
Ahh I gotcha. The building process itself involving both Asterisk and FreePBX can introduce those versioning and dependency challenges. As you’ve detailed and encountered. When I was first diving into the Asterisk/FPBX solution back around 2018 I was going through the download, build, and patching process on my test system. I don’t have any insight into your specific scenario, unfortunately.
I am not shilling for this solution provider, but around 2021 I implemented an AWS FreePBX AMI provided by TheWebMachine. Very inexpensive and they have already gone through the pains of testing and bundling any Asterisk or FreePBX updates into their own environment. So when it comes to a customer like me installing updates, it’s pretty much as easy as SSH’ing into the AWS instance and issuing a smartupdate –auto command. Their scripted routine performs the heavy lifting. So things “just work.”
The legacy desk phones and being a creature of habit is understandable. I came from managing Nortel Meridian and AT&T Merlin PBX’es back in the stone age. Having hardware that seemed bulletproof was difficult to move away from. Same with early-era SIP desk phones. The newer makes and models can seem more like cheap toys comparatively.
Understood, was mostly just hoping to host my own solution that I can otherwise manage myself and not have to pay to use just for making internal calls between my own phones, plus running this system on a VM was NOT very elegant, so hence why I opted to build the system from scratch on a laptop and use THAT to run the system full-time
That makes sense. The AWS solution would maybe run $1/day. For a self-hosted solution I would still suggest some bundled solution. I recall running small internal proof of concepts using RasPBX on a Raspberry Pi. Don’t know if they are even around anymore. When I first implemented a solution for our company in production, I used Incredible PBX on-prem. It worked well and I don’t think it cost me a dime for the software side of things.
Of course if you want to explore the building and patching worlds for self knowledge and to build more expertise, that’s the way to go. For me, once I had gone down so many rabbit holes over the years, I looked toward bundled solutions that performed a lot of that heavy lifting for me. Then again, I have had to wear many hats at the same time at my company. The phone side was just one of many falling off the hat rack.
Hope this helps, I’ve made four pastebins that are set to last a month with my configuration changes, no other file was changed to my knowledge, so hopefully I just have a part or so in the files just mixed up? Like maybe something’s supposed to be in sip_custom.conf? or something?
EDIT: sip_custom_post.conf needed modification, will post later, so BLF works between Cisco devices, but now I want to be able to monitor non-Cisco devices via BLF as well, not sure how I’m gonna pull it off, but once I get this sorted, I’ll take a break and then pose the alternate questions afterward
Here’s what I put in “sip_custom_post.conf”, I also removed a lot of the unnecessary stuff from extensions_custom.conf, or at least what seemed unnecessary, but now both of my Cisco endpoints are being monitored by BLF, but I’d like to be able to get my Polycom phone monitored by it as well, since it seems to natively BLF monitor everything else out-of-the-box, but I guess that requires the Polycom phone to be registered under Chan_sip, which seems to be just totally non-viable, might just opt to skip that part and move on to the next bits;
Yes, I should change the title of this post, but I’m a bit lazy right now as of writing this.
But I’ll ask these NOW and wait overnight and for however long until I need to bump this thread;
How do I get my Polycom phone to register on CHAN_SIP instead of PJSIP?
How do I make the custom softkeys to work?
How do I get my custom feature codes to work again? (They broke from doing a restore, or because of the UCM patch?)
I might have more, but too lazy to think of them right now
UPDATE: The codec lock portion in my extensions_custom.conf was the gremlin that caused me so much hassle in terms of why some of my feature codes weren’t working, changed it to
; ----- Feature codes, lock codec to prevent video
exten => _*.,1,Set(__SIP_CODEC=g722)
same => next,Goto(from-internal,${EXTEN},3)
and now they work, now I just need to get my call queues working again, or I might just do ring groups instead, AND I also need to figure out how to get my Polycom phone to be monitored by BLF on my 7965, but it’s on PJSIP