Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
## How to build

1. Build FreeSWITCH and its dependencies
```
$ sudo apt-get update

```sh
$ sudo apt-get update
$ sudo apt-get install git
$ git clone https://github.com/signalwire/freeswitch
$ git clone https://github.com/signalwire/libks
Expand Down Expand Up @@ -57,7 +58,8 @@ $ cd ..
```

2. Build UniMRCP dependencies (APR, APR-Utils)
```

```sh
$ sudo apt-get install wget tar
$ wget https://www.unimrcp.org/project/component-view/unimrcp-deps-1-6-0-tar-gz/download -O unimrcp-deps-1.6.0.tar.gz
$ tar xvzf unimrcp-deps-1.6.0.tar.gz
Expand All @@ -66,27 +68,28 @@ $ cd unimrcp-deps-1.6.0
$ cd libs/apr
$ ./configure --prefix=/usr/local/apr
$ make
$ sudo make install
$ sudo make install
$ cd ..

$ cd apr-util
$ ./configure --prefix=/usr/local/apr
$ ./configure --prefix=/usr/local/apr --with-api=/usr/local/apr
$ make
$ sudo make install
$ cd ..

$ git clone https://github.com/unispeech/unimrcp.git
$ cd unimrcp
$ ./bootstrap
$ ./configure
$ ./configure --with-sofia-sip=/usr
$ make
$ sudo make install
$ cd ..

```

3. Build mod_unimrcp and install
```

```sh
$ git clone https://github.com/freeswitch/mod_unimrcp.git
$ cd mod_unimrcp
$ export PKG_CONFIG_PATH=/usr/local/freeswitch/lib/pkgconfig:/usr/local/unimrcp/lib/pkgconfig
Expand Down