ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. JaredBusch
    3. Best
    • Profile
    • Following 0
    • Followers 44
    • Topics 969
    • Posts 29,707
    • Groups 1

    Posts

    Recent Best Controversial
    • Mass upload sound files into FreePBX

      @JaredBusch said in Convert Asterisk dial plan for use in FreePBX:

      The announcement links to a sound recording by id number. So that means the recordings need to be added first and a subquery put into the SQL statement to look it up.

      This should be straightforward assuming that names are matched up.
      Sounds can be uploaded with SCP and potentially inserted into MySQL.

      Upload your sound files to the defualt location

      This example is specifically using the root user. If you do not use root, adjust appropriately.

      scp *.wav [email protected]:/var/lib/asterisk/sounds/en/custom
      

      Log in to FreePBX with SSH (assuming as root) to fix permisisons

      # Set the ownership of the files and their permissions
      chown asterisk:asterisk /var/lib/asterisk/sounds/en/custom/*
      chmod 644 /var/lib/asterisk/sounds/en/custom/*
      

      If desired you can convert the file formats

      Converting to ulaw is useful because generally, calls are using ulaw and thus the PBX will not have to do any transcoding when playing a sound file to a caller.
      It is defintely not required because converting from a normal wav to ulaw is extremely fast and take little processor. but it is still a conversion.

      asterisk -x "file convert en/custom/filename1.wav en/custom/filename1.ulaw"
      asterisk -x "file convert en/custom/filename2.wav en/custom/filename2.ulaw"
      

      Now you need to insert a MySQL record for each sound file into the recordings table

      # Assuming you are in as the root user, you can get into MySQL without a password
      mysql asterisk
      insert into recordings (displayname,filename,description,fcode,fcode_pass) values ('recording_1_name','custom/filename1','Recording 1 Name',0,'');
      insert into recordings (displayname,filename,description,fcode,fcode_pass) values ('recording_2_name','custom/filename2','Recording 2 Name',0,'');
      exit
      

      Reload FreePBX

      fwconsole reload
      

      Notes about the SQL statement:
      displayname cannot have spaces
      filename has to match case sensitive to the filename that you uploaded
      description is a normal text entry
      fcode is Feature Code. This is advanced, just don't touch.
      fcode_pass is the passcode for the Feature Code. Leave as empty string.

      posted in IT Discussion freepbx asterisk scripting config sounds how to
      JaredBuschJ
      JaredBusch
    • Use Exchange PowerShell to get mailbox usage

      Exchange PowerShell makes it decently straight forward to get mailbox information.

      Get-MailboxDatabase | Get-MailboxStatistics | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-Csv C:\MailBoxSize.csv
      
      DisplayName                                                           ItemCount TotalItemSize
      -----------                                                           --------- -------------
      Bob Jones                                                                 74673 10.01 GB (10,751,652,618 bytes)
      Gary Jones                                                                20161 9.844 GB (10,570,057,464 bytes)
      Yvonne Jones                                                              73889 9.31 GB (9,996,772,465 bytes)
      Sonnie Jones                                                              84546 9.17 GB (9,846,416,471 bytes)
      Marc Jones                                                                24963 9.095 GB (9,765,549,850 bytes)
      ....
      Test User1                                                                    8 50.68 KB (51,899 bytes)
      Test User2                                                                   10 48.76 KB (49,932 bytes)
      Test ELC                                                                     10 48.68 KB (49,844 bytes)
      
      posted in IT Discussion exchange 2010 powershell exchange powershell mailbox usage
      JaredBuschJ
      JaredBusch
    • RE: Skyetel auto enables billable services without notice

      @Skyetel said in Skyetel is a scam:

      @JaredBusch said in Skyetel is a scam:

      @FATeknollogee said in Skyetel is a scam:

      @Skyetel said in Skyetel is a scam:

      @JaredBusch said in Skyetel is a scam:

      But this is just theft. Also why is is -$10.11? Terminating those calls most certianly does not cost that much.

      @JaredBusch please note that the Port In Fee was $10, the actual usage for this number was only $0.11. So you only spent $0.11 in usage for this number for the month of April thus far.

      I wasn't going to be the one that pointed that out...but calling some a "thief" without fully vetting (aka understanding) the charges...that's why I said this thread is just a "pissing" contest.

      Theft. 100%. They enabled services with no authorization.

      Please note - we add the phone number to your Skyetel account several days prior to completing the port request. Typically our customers modify phone number features and establish routing before the port completes.

      Please note, how am I supposed to KNOW these features were enabled without looking at every single option?

      Will I do so no matter what? Sure.

      Had I logged in to this account and setup the SIP trunk on day one I would have posted here complaining about being auto-opted into services as soon as I found them enabled.

      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • RE: Security Certification Options

      @larsen161 The best person on this community to listen to with direct knowledge of this is @irj for certain.

      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • RE: Cron Job - Troobleshooting

      Cron doesn’t run with your environment variables. Make sure to use full paths.

      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • RE: Laptop for stock trading

      @black3dynamite said in Laptop for stock trading:

      My co-worker asked me about a fast laptop that can handle trading. This what he was thinking of getting, Dell G7 17 Gaming Laptop.

      If you were looking into doing stock trading, what would be the best laptop that is reliable for stock trading.

      The laptop will not be his problem. Nothing there will so so slow as to be a bottleneck. It will be more on his internet connection.

      To my understanding, low latency is what that is all about. Obviously, you need a good machine to not have hardware latency. But all powerful systems today have that.

      I hate the gaming systems from dell. They are typically oversold crap, priced up because they tagged it “gaming.”

      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • RE: Naming convention for VMs?

      I name based on task. And then drop 01, 02, etc at the end.

      dc01, dc02, sql01, iis01, pbx01, pbx02.

      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • RE: Fedora 31 Server Edition filesystem permissions changed to 777

      @Woti Your system is not compromised (yet), as you caused the problem. But because of the global permissions change, it will be trivial to compromise down the road. That is why you have to (should) reinstall from scratch.

      Assuming that your current Nextcloud instance is now working again, simply do a normal backup process.

      https://docs.nextcloud.com/server/stable/admin_manual/maintenance/migrating.html

      Prior to migrating you can also fix you permissions on the existing NC data files.

      Assuming default file location:

      # All the directories should be 755
      find /var/www/html/nextcloud/data -type d -exec chmod 755 {} \;
      # All of the files should be 644
      find /var/www/html/nextcloud/data -type f -exec chmod 644 {} \;
      
      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • RE: Obtaining hardware from terminated remote employee

      File police reports for theft.

      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • Windows 11 does not let you show all taskbar icons

      This is super damned annoying.

      In Windows 11, you cannot simply tell it to show all icons in the system tray taskbar as you could up until now.

      I had a Windows 10 system that I upgraded using the setting app to update.

      Prior to the update, I had the setting enabled to show all icons.

      After the upgrade, I saw this:
      73298f97-0af4-4863-b7ec-3a22d95bfe71-image.png

      Okay, annoying, but I can just reset it. Nope.....
      Right click in a blank space of the taskbar and choose settings, same as before. Missing a lot of context menu options that used to be there. But Taskbar settings is still viable.
      f9b5aeb3-a744-4e15-8ade-e88034a3826c-image.png

      New settings window you need to expand the section you want to look at by clicking on the bar anywhere. You do not need to click on the arrow to the right.
      0354a41b-b01c-4a15-a994-502140f713e8-image.png

      WTF no setting to show all.. You have to individually click them all..........
      27b0d2f1-3197-4868-a8e1-002fa28e9f8b-image.png
      f3bb2ed5-0309-4a7c-97be-84d75362b399-image.png

      A quick stop at your favorite search engine and you will learn that the setting be gone.

      Thankfully, you can still pull up a version of the old Windows 10 Control Panel screen.

      Right click on your start button and choose Windows Terminal (Admin)
      0763e6dd-adf6-4a43-bba4-b3af02c5d837-image.png

      Enter your admin password at the UAC (because you would never be running with admin rights would you?) and find yourself in the new windows terminal. It is just powershell by a new name.
      07548124-efb1-4f34-8700-c912f78a4966-image.png

      Switch to command prompt by typing cmd
      8ce953d6-c052-42de-8141-e6c0dc78f6a8-image.png

      Now open explorer to the old control panel option using this string.

      explorer shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}
      

      085a359a-d9a4-4111-8198-f7916e8795e3-image.png

      5fb095b0-7a30-480e-b15b-ac9ac1670941-image.png

      Now you can check the box to show all. In my case it was already checked. But once I clicked it off and back on, then hit OK, the icons returned.
      9344283d-6cc8-474d-a5bb-db976a744404-image.png

      Exit the command line back to powershell if you are going to do anything else in your terminal window, or just close it.
      ce37668a-ef6e-4a00-a39c-38ee9bd4f8d1-image.png

      posted in IT Discussion windows 11 taskbar settings microsoft
      JaredBuschJ
      JaredBusch
    • RE: Your choice for 24 port PoE switch?

      @jasgot said in Your choice for 24 port PoE switch?:

      What are you all using for PoE switches? I need 24 port and 48 port.

      Nothing is my choice. Right now it is simply buy what someone has in stock.

      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • ZeroTier One v1.8.5 fails onFedora 35+

      The recent update to ZeroTier broke on Fedora 35+ due to a library change.
      https://github.com/zerotier/ZeroTierOne/issues/1575

      Version 1.8.6 resolves the issue, but you will have to uninstall ZeroTier, update the RPM, and then reinstall it to get things back online.

      The easiest thing to do is rerun the quick install after you remove the current version.

      # remove the current zerotier install
      sudo dnf remove zerotier-one -y
      # Rerun the original quick install to update the RPM and reinstall.
      curl -s 'https://raw.githubusercontent.com/zerotier/ZeroTierOne/master/doc/contact%40zerotier.com.gpg' | gpg --import && if z=$(curl -s 'https://install.zerotier.com/' | gpg); then echo "$z" | sudo bash; fi
      

      This will not regenerate your local secret or remove the existing networks. So you will not need to set anything up again.

      posted in IT Discussion zerotier fedora 35
      JaredBuschJ
      JaredBusch
    • RE: Fitness and Weightloss

      @scottalanmiller said:

      I did Medifast a few years ago and lost 90lbs. It was great.

      I have personally never followed any programs. Just watched the food intake and got exercise.

      This was me at GenCon in 2005. I had lost 50 pounds but was still around 300.

      gencon

      This was July 28, 2007 at my Wedding in Tokyo at 176
      wedding

      posted in Water Closet
      JaredBuschJ
      JaredBusch
    • Lenovo Accused Of Using ‘Rootkit-Like’ Methods To Sneak Software Onto Clean Windows Installs

      Lenovo is at it again...

      http://hothardware.com/news/lenovo-accused-of-using-rootkit-to-sneak-its-software-onto-clean-windows-installs

      posted in News lenovo security malware uefi firmware rootkit
      JaredBuschJ
      JaredBusch
    • RE: ScreenConnect Remove the "End" Button

      That button makes perfect sense for non 'Access' connections though. If you make heavy use of the 'Access' session, then yes, it can cause problems.

      Change the security permissions so that only certain accounts can click it. That is how I do it.

      Screen Shot 2015-07-08 at 6.50.40 AM.png

      Screen Shot 2015-07-08 at 6.53.20 AM.png

      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • RE: What does your desk look like?

      A mess

      image.jpg

      posted in Water Closet
      JaredBuschJ
      JaredBusch
    • Got this email from Ubiquiti today: Introducing the new UniFi AC APs

      Ubiquiti announced their new AC line of access points.

      They have had an AC model for a long time, in fact it is on v2.

      Based the price point, this line is designed to replace all the current UAP. This is purely my own opinion, but the UAP AC LITE is $89. Supposed to be available in Q4. Hard to wait, but that is potentially only 4 weeks away.

      Imgur

      Imgur

      posted in News ubiquiti wireless ubnt unifi access point
      JaredBuschJ
      JaredBusch
    • RE: Leaving Dell

      @Dashrender said:

      I've been on HP for the last 7 years

      I prefer dell only because their website sucks less for finding drivers?

      posted in IT Discussion
      JaredBuschJ
      JaredBusch
    • RE: What Are You Doing Right Now

      Just bought a server from Xbyte

      posted in Water Closet
      JaredBuschJ
      JaredBusch
    • RE: ownCloud Founder and CTO Leaves to Pursue Other Opportunities

      Frank's personal blog hints at some not good things to come, IMO.

      http://karlitschek.de/2016/04/big-changes-i-am-leaving-owncloud-inc-today/

      0_1461943271177_upload-973f7791-590e-40e6-8cf7-74bd866f8768

      posted in News
      JaredBuschJ
      JaredBusch
    • 1 / 1