Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. root@xivo-maitre:~# git -c http.sslVerify=false clone https://github.com/sboily/xivo-res-watchdog-asterisk.git
  2. Cloning into 'xivo-res-watchdog-asterisk'...
  3. remote: Counting objects: 46, done.
  4. remote: Total 46 (delta 0), reused 0 (delta 0), pack-reused 46
  5. Unpacking objects: 100% (46/46), done.
  6.  
  7. root@xivo-maitre:~# cd xivo-res-watchdog-asterisk/
  8.  
  9. root@xivo-maitre:~/xivo-res-watchdog-asterisk# make
  10. 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
  11. cc -o res_watchdog.so res_watchdog.o -shared -fPIC -pthread -lpthread -Xlinker -x
  12.  
  13. root@xivo-maitre:~/xivo-res-watchdog-asterisk# make install
  14. install -d /usr/lib/asterisk/modules
  15. install -m 755 res_watchdog.so /usr/lib/asterisk/modules
  16. install -d /etc/asterisk
  17. install -m 644 configs/watchdog.conf.sample /etc/asterisk/watchdog.conf
  18. root@xivo-maitre:~/xivo-res-watchdog-asterisk# /etc/init.d/asterisk restart
  19. Stopping Asterisk PBX: asterisk.
  20. Starting Asterisk PBX: asterisk.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement