File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 3
3
## How to build
4
4
5
5
1 . Build FreeSWITCH and its dependencies
6
- ```
7
- $ sudo apt-get update
6
+
7
+ ``` sh
8
+ $ sudo apt-get update
8
9
$ sudo apt-get install git
9
10
$ git clone https://github.com/signalwire/freeswitch
10
11
$ git clone https://github.com/signalwire/libks
@@ -57,7 +58,8 @@ $ cd ..
57
58
```
58
59
59
60
2 . Build UniMRCP dependencies (APR, APR-Utils)
60
- ```
61
+
62
+ ``` sh
61
63
$ sudo apt-get install wget tar
62
64
$ wget https://www.unimrcp.org/project/component-view/unimrcp-deps-1-6-0-tar-gz/download -O unimrcp-deps-1.6.0.tar.gz
63
65
$ tar xvzf unimrcp-deps-1.6.0.tar.gz
@@ -66,27 +68,28 @@ $ cd unimrcp-deps-1.6.0
66
68
$ cd libs/apr
67
69
$ ./configure --prefix=/usr/local/apr
68
70
$ make
69
- $ sudo make install
71
+ $ sudo make install
70
72
$ cd ..
71
73
72
74
$ cd apr-util
73
- $ ./configure --prefix=/usr/local/apr
75
+ $ ./configure --prefix=/usr/local/apr --with-api=/usr/local/apr
74
76
$ make
75
77
$ sudo make install
76
78
$ cd ..
77
79
78
80
$ git clone https://github.com/unispeech/unimrcp.git
79
81
$ cd unimrcp
80
82
$ ./bootstrap
81
- $ ./configure
83
+ $ ./configure --with-sofia-sip=/usr
82
84
$ make
83
85
$ sudo make install
84
86
$ cd ..
85
87
86
88
```
87
89
88
90
3 . Build mod_unimrcp and install
89
- ```
91
+
92
+ ``` sh
90
93
$ git clone https://github.com/freeswitch/mod_unimrcp.git
91
94
$ cd mod_unimrcp
92
95
$ 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