Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@xivo-maitre:~# git -c http.sslVerify=false clone https://github.com/sboily/xivo-res-watchdog-asterisk.git
- Cloning into 'xivo-res-watchdog-asterisk'...
- remote: Counting objects: 46, done.
- remote: Total 46 (delta 0), reused 0 (delta 0), pack-reused 46
- Unpacking objects: 100% (46/46), done.
- root@xivo-maitre:~# cd xivo-res-watchdog-asterisk/
- root@xivo-maitre:~/xivo-res-watchdog-asterisk# make
- cc -O2 -fstrict-aliasing -Wall -Wextra -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Wshadow -Winit-self -Wstrict-aliasing -D_GNU_SOURCE -DPIC -fPIC -pthread -DAST_MODULE=\"res_watchdog\" -c -o res_watchdog.o res_watchdog.c
- cc -o res_watchdog.so res_watchdog.o -shared -fPIC -pthread -lpthread -Xlinker -x
- root@xivo-maitre:~/xivo-res-watchdog-asterisk# make install
- install -d /usr/lib/asterisk/modules
- install -m 755 res_watchdog.so /usr/lib/asterisk/modules
- install -d /etc/asterisk
- install -m 644 configs/watchdog.conf.sample /etc/asterisk/watchdog.conf
- root@xivo-maitre:~/xivo-res-watchdog-asterisk# /etc/init.d/asterisk restart
- Stopping Asterisk PBX: asterisk.
- Starting Asterisk PBX: asterisk.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement