Code of the small PBX tutorial. launch/0 runs all its steps.
launch/0
Runs all the steps of the tutorial, checking the results.
Starts the PBX and the three phones. The messages the phones want to tell (NOTIFYs, calls received) are sent to the calling process.
Stops the services.
@spec launch() :: :ok
@spec start() :: :ok
@spec stop() :: :ok