Using G729 codec on Asterisk 13 with FreePBX 13 (on a x64 modern kernel)

We started using FreePBX instead of Lync recently and after a while we ran into the following error:

WARNING[30830][C-00001548] channel.c: Unable to find a codec translation path: (slin) -> (g729)

Turns out that even though G729 is by default shown in the GUI of FreePBX it is not turned on by default since it requires a commercial license.

Delete OEM partitions in Windows

The awnser: diskpart.exe! Hit “Windows Key” + “R” to open the run dialogue box and type “diskpart” and hit “OK” to open a command prompt window. Type “list disk”. Type “select disk n”. Type “list part”. Type “select part n”. Type “delete partition override”. Type “exit”. Thanks to

Secure your PHP (on Windows)

Although alot of people will be running PHP on an Apache environment I have several reasons to be running mine on Windows, specifically 2012 R2. Lately I’ve been seeing alot of activity of people trying to inject mallicious code into several of my clients websites and so have begun drilling down into securing PHP. To […]

Bijna helft Nederlandse banken beschermt u niet (optimaal) tegen phishing

U heeft nog nooit van SPF gehoord maar wel van phishing, mensen die u irritante e-mail sturen namens uw bank en op die manier u geld afhandig proberen te maken. SPF kan u hier (deels) tegen beschermen doordat banken bekend maken welke server namens hun e-mail mogen sturen en welke niet. Dit is een klein […]

Installing .NET 3.5 on Windows 10 in offline mode

With Windows 10 alot of people run into the problem that when they, or some software, needs to install .NET 3.5 it claims it cannot download the files. There is a “simple” fix to this issue by running the installer directly from the Windows CD using an Elevated command prompt with the following command: Dism […]

Script to remove AutoMapping from select or all users in Exchange

An adeptation of the script by Matthias R Jessen. # Get all mailboxes in the forest $Mailboxes = Get-User -OrganizationalUnit “Employees” | Get-Mailbox -ResultSize unlimited -IgnoreDefaultScope $ConfirmPreference = “None” # Iterate over each mailbox foreach($Mailbox in $Mailboxes) {     try     {         # Try to run the example fix against the current $Mailbox         […]