File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 33## How to build
44
551 . Build FreeSWITCH and its dependencies
6- ```
7- $ sudo apt-get update
6+
7+ ``` sh
8+ $ sudo apt-get update
89$ sudo apt-get install git
910$ git clone https://github.com/signalwire/freeswitch
1011$ git clone https://github.com/signalwire/libks
@@ -57,7 +58,8 @@ $ cd ..
5758```
5859
59602 . Build UniMRCP dependencies (APR, APR-Utils)
60- ```
61+
62+ ``` sh
6163$ sudo apt-get install wget tar
6264$ wget https://www.unimrcp.org/project/component-view/unimrcp-deps-1-6-0-tar-gz/download -O unimrcp-deps-1.6.0.tar.gz
6365$ tar xvzf unimrcp-deps-1.6.0.tar.gz
@@ -66,27 +68,28 @@ $ cd unimrcp-deps-1.6.0
6668$ cd libs/apr
6769$ ./configure --prefix=/usr/local/apr
6870$ make
69- $ sudo make install
71+ $ sudo make install
7072$ cd ..
7173
7274$ cd apr-util
73- $ ./configure --prefix=/usr/local/apr
75+ $ ./configure --prefix=/usr/local/apr --with-api=/usr/local/apr
7476$ make
7577$ sudo make install
7678$ cd ..
7779
7880$ git clone https://github.com/unispeech/unimrcp.git
7981$ cd unimrcp
8082$ ./bootstrap
81- $ ./configure
83+ $ ./configure --with-sofia-sip=/usr
8284$ make
8385$ sudo make install
8486$ cd ..
8587
8688```
8789
88903 . Build mod_unimrcp and install
89- ```
91+
92+ ``` sh
9093$ git clone https://github.com/freeswitch/mod_unimrcp.git
9194$ cd mod_unimrcp
9295$ export PKG_CONFIG_PATH=/usr/local/freeswitch/lib/pkgconfig:/usr/local/unimrcp/lib/pkgconfig
You can’t perform that action at this time.
0 commit comments