Hello dear friends
I am new to Asterisk so i am following Asterisk tutorial .
So after when i download Asterisk and install it on Ubuntu server with following commands:
$ cd ~/src/asterisk-complete/asterisk/11
$ ./configure
Finally, compile and install Asterisk:
$ make
$ sudo make install
$ sudo make config
but i can see there are some errors
and then in the next step ,i have to set File Permissions with following command
$ sudo chown -R asteriskpbx:asteriskpbx /var/lib/asterisk/
$ sudo chown -R asteriskpbx:asteriskpbx /var/spool/asterisk/
$ sudo chown -R asteriskpbx:asteriskpbx /var/log/asterisk/
$ sudo chown -R asteriskpbx:asteriskpbx /var/run/asterisk/
but when i try these ,it shows there are not such direcotry or files
Please give me correct answer .
Thank you
Hi,
If these directories are missing, it means that you have not installed Asterisk correctly.
Your set of installation commands is definintely not complete. It looks like you have not even prepared your operating system for installation - you should install a number of packages (e.g. sqlite).
Here is the master page to Asterisk download and installation guide:
https://wiki.asterisk.org/wiki/display/AST/Installing+Asterisk+From+Source
Apart from that, what is the reason for using obsolete version (11)?
Why not to use the supported version (at least, 13)?
I am reading this book
http://asterisk-service.com/downloads/Asterisk-%20The%20Definitive%20Guide,%204th%20Edition.pdf
but not correctlying working
I have installed Ununtu server on Virtual machine and following the guide of the book
this book is not correct ?
The book is correct.
Could you provide the following outputs:
sudo ls -la /usr/sbin | grep asterisk
sudo ls -la /etc | grep asterisk
sudo ls -la /var/lib | grep asterisk
sudo ls -la /var/log | grep asterisk
They will show whether you have actually installed Asterisk at all…
Okay just a min i am testing it
Hi here is result from above commandsresult