Baf modules

Each Userapp can constist of several modules. These modules have a certain filesystem layout and thus they hook into the apps system.

Modules can be cross compiled via the baf tool, they can also be downloaded and installed from our webserver.

Free modules to be downloaded

baf is the tool to list, search or download modules.

baf help module

shows the module specific commands.

 

To list all available modules you can use:

baf module list

To install a module you can use:

baf module install asterisk-bin

 

Asterisk-Bin

Precompiled Asterisk (currently Version 1.8.3).

T38modem

T38modem Binary. It connects via SIP to either asterisk or isgw and provides a modem interface, which can be used by applications like efax or hylafax.

efax

efax binaries. A very simple fax sender and receiver tool.

hylafax

Hylafax libs and binaries. A very advanced Faxserver.

Create your own module

baf provides the complete cross compile toolchain to compile your own program for your userapp.

The path of the gcc toolchain can be found in the baf installation directory:

INSTALLPREFIX is by default /usr/local/share

The gcc compiler tools are prefixed with

for example gcc and ar are then:

make sure to have $(INSTALLPREFIX/baf/toolchain/bin) in your path:

 

Hello World binary for berofix

Let's say you want to compile hello-world for berofix, you can do:

Now you can check the type of your newly created binary:

It should print out something like:

This program can now be copied to berofix and can be executed there. It can also be put into an apps "bin" directory, be packaged and later be executed in the berofix system.

If you need scheduled remote assistance, you can request our on-demand support services: https://www.beronet.com/support