How to install asterisk on Mac os for pjsip - ios

Does any one know how to install asterisk on mac? I am new to voip so please guide me from basics like what software/ command line tools would be needed.
I do tried to search it on google but couldn't found any doc with the proper steps. You can also provide link of tutorial. Thanks in advance.

Try brew it yourself brew asterisk
minor issues in asterisk.rb and pjsip-asterisk.rb during brew
change "<<-EOS.undent" to "<<~EOS" as suggest by brew solve the problem
-
xcode-select --install
brew tap leedm777/homebrew-asterisk
brew install asterisk

For novice in voip, recommended way is start virtulization system on your choice, run asterisk in container.
Not think you can find really upto-date tutorial for install asterisk on non-linux OS(windows,osx,solaris or linux-risk,linux-ARM, whatever). Such install required expert level on destination OS.

Related

Return to dbt version 19.1

I am not sure how badly I have hosed this. I updated dbt to v20 globally too soon. I did uninstall v20. I need to return the project to version 19.1. I am running into errors doing this. As background I am running a virtual. I am on macos.
These two commands work as expected:
brew tap dbt-labs/dbt
brew unlink dbt
Then I run brew install dbt-labs/dbt/dbt#0.19.1
I get (I expect this) Warning: dbt-labs/dbt/dbt#0.19.1 0.19.1_1 is already installed, it's just not linked. To link this version, run: brew link dbt#0.19.1
Then I run brew link dbt#0.19.1 or brew link dbt-labs/dbt/dbt#0.19.1 and I get:
Error: Formulae found in multiple taps:
* dbt-labs/dbt/dbt#0.12.2-rc1
* fishtown-analytics/dbt/dbt#0.12.2-rc1
Please use the fully-qualified name (e.g. dbt-labs/dbt/dbt#0.12.2-rc1) to refer to the formula.
So I try brew link dbt-labs/dbt/dbt#0.12.2-rc1
Disclosure...I code dbt modules but I do not get too far into the installation since I rarely need to do it. Any help would be highly appreciated.
You might find this issue in the dbt-labs/dbt repo helpful.
TL;DR:
You may be running into issues due to the repo name change. It could help to do a full re-install, i.e.:
brew untap fishtown-analytics/dbt --force
brew tap dbt-labs/dbt
brew install dbt#x.y.z
You can then follow the instructions here as normal for managing several versions with homebrew.

Cannot install asdf erlang on MAC OSX Mojave

I am trying to install Erlang in a Mac OS system with Mojave on it. However the installation hangs for no apparent reason:
$ asdf install erlang 22.2.8
asdf_22.2.8 is not a kerl-managed Erlang/OTP installation
The asdf_22.2.8 build has been deleted
Extracting source code
Building Erlang/OTP 22.2.8 (asdf_22.2.8), please wait...
I know the issue is not the network, as I have downloaded everything and the step that hangs forever is the Building step.
I have removed and re-installed both asdf and Erlang from scratch as well, but it didn't fix the issue.
I believe I have all necessary dependencies as well, otherwise the re-installation would have failed.
What can I do to fix this?
Go to ~/.asdf/plugins/erlang/kerl-home/builds/asdf_22.2.8 and look at the otp_build_22.2.8.log file. It should tell you what's going on.
Solution
Thanks to the post by #legoscia I went to ~/.asdf/plugins/erlang/kerl-home/builds/asdf_22.2.8 and looked at the otp_build_22.2.8.log while it was still being built.
By checking this I was actually able to find out that I had a problem with my brew installation, which in turn meant I was using a very outdated version of XCode and XTools.
By forcing an upgrade on my machine (and as a consequence fixing my broken brew installation), I was then able to smoothly run and install asdf install erlang.
I know this is the solution, but I will give credit to #legoscia, as without him/her I would not have been able to fix my issue.

"AppleARMPMUCharger" no longer exports Battery Information/Diagnostics when run via idevicediagnostics.exe prior to iOS 12

Up until iOS 11, i've been using the idevice** binaries to extract information from iPhones ranging from models 6 to X via idevicediagnostics.exe on Windows OS via idevicediagnostics ioreg AppleARMPMUCharger.
However, with the release of iOS 12, everything stopped working. What once was a lively file (converted to JSON) i get to export from this command is now an empty xml document. Now i do this because of our Company's Business. We extract battery information as insurance, proof, and history that batteries are as good as they can be. Also to track the Battery Serial and SOH Value while at it.
I've downloaded several updated idevice** binaries and even updated iTunes and Apple drivers but as i'd expect, its broken now. Now, i am looking for alternative ways to do this, are there any other API out there that can do the same job as AppleARMPMUCharger once did? I'm thinking of working on a small iOS Application that will export the data from within the iPhone itself and send it to an FTP or REST API maybe? However, i do not know which registry or namespace to hook it up to.
It's worth noting that CoconutBattery - a MacOS Application that also reads battery information from iPhone still works as expected. Leaving me wonder, how they do it, or what API they are looking at.
Looking for positive responses, cheers.
PS: links routes to the actual files exported when the command is ran.
I had one similar problem which was solved finally by reinstalling the libmobiledevice. I found the instructions from this Github issue. I am posting those instructions here as well for convenience.
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies ideviceinstaller
brew uninstall --ignore-dependencies usbmuxd
sudo rm /var/db/lockdown/*
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install --HEAD ideviceinstaller
If you do not have brew installed in your machine, please follow the instruction from this website.
Hence, finally, the reinstallation of libmobiledevice solved the problem.
Can you try to get information using the AppleSmartBattery key instead? See libimobiledevice#823

How to install apg (password generator) on OSX?

I am unable to install apg via homebrew in OSX. I tried brew install apg but I got No available formula with the name "apg".
Tried looking around but no success so far.
The apg formula for homebrew has been removed because the upstream software doesn't seem to be maintained anymore. The home page of the apg software is not reachable and even on other OS, like Debian, the package will probably be discontinued soon (see the notice at the bottom of the description). That's the reason why a brew install apg is not working for you.
That being said, if you look closely at the discussion around the removal from homebrew, you'll find that someone is now maintaining an updated formula in its own homebrew tap. You can then install apg by first adding his tap:
brew tap jzaleski/homebrew-jzaleski
brew install apg

Error: homebrew/science was deprecated. What should I do?

I got the following error when I tried to brew tap homebrew/science: "Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated." HOWEVER, there are no explicit instructions on what to do. All it's formulae were migrated to ____?
I am not new to science, but I am quite new to homebrew.
What should I do?. I was going to use this to track the formulae for installation of opencv among other things. I don't understand why something like homebrew/science would be depreciated or no longer relevant.
A quick solution is to use these command instead:
brew tap brewsci/bio
brew tap brewsci/science
Please see this Github Issue for reference.
Most formulae were migrated to the core repository, so they will be available without "tapping science".
So, if you want package XYZ, just do:
brew search XYZ
and you should find it.
If you cannot find your package by brew search <package name>,
you can give it a try to get it directly from the homebrew core.
Example:
brew install homebrew/science/hdf5
failed because homebrew/science was deprecated.
Solution:
brew install homebrew/core/hdf5
worked!
Try to perform:
brew tap brewsci/science
Hope it helps

Resources