• News
  • Idefisk
  • Tools
  • Tutorials
  • Forum
  • Reviews
  • VoIP Providers
  • Archives
  • Gallery
ZOIPER SIP softphone
Back to Tutorials

6.8. asterisk.conf

The file is located in the /etc/asterisk/ directory.

Asterisk.conf is a configuration file where the locations of different asterisk components are configured. (log files, configuration files, agi scripts etc.). Below you can see the paths for the installed components.



[directories]
astetcdir => /etc/asterisk
; All cofiguration files (*.conf) will be stored in the directory above (/etc/asterisk/).

astmoddir => /usr/lib/asterisk/modules
; astmoddir is pointing to the directory where the asterisk modules are located - dial applications (app_dial.so), channels (chan_iax2.so), codecs, codec formats, etc.

astvarlibdir => /var/lib/asterisk
; /var/lib/asterisk is a common Asterisk library directory. Inside you can find the Asterisk sounds (*.gsm), music on hold audio files, etc.

astagidir => /var/lib/asterisk/agi-bin
; In this directory all agi scripts are stored.

astspooldir => /var/spool/asterisk
; astspooldir is where all records are stored. When you have a voicemail message for example you can find it in /var/spool/asterisk/voicemail/, when you record calls with the Monitor command the files will be stored in /var/spool/asterisk/monitor and when you record a conference call the record is stored in the directory /var/spool/asterisk/meetme.

astrundir => /var/run
; This is the directory where asterisk will store its PID file, which identifies the running proces.

astlogdir => /var/log/asterisk
; In this directory you can find all log files which are created. You can change the log files by editing .


[files]
; Changing the following lines may compromise your security
; Asterisk.ctl is the pipe that is used to connect the remote CLI
; (asterisk -r) to Asterisk. Changing these settings change the
; permissions and ownership of this file.
; The file is created when Asterisk starts, in the "astrundir" above.

;astctlpermissions = 0660
;astctlowner = root
;astctlgroup = asterisk
;astctl = asterisk.ctl


 
User Comments
selva (SELVAGTI at YAHOO dot COM)
12 March 2008 14:51:10
how to set auth code when making outgoing call for each extension? can you help someone?
Snoopy (kalamboe at cec dot com dot zm)
27 October 2007 17:11:13
I am new to Asterisk.Can some out there help me configure my new AT530 ip phone. There too many fields and I just cant figure out how to set them up.
I have a budgetone 101 and itis working well.
Plse some one out there help.
amarildo DeSouza (adesouza at unicombroadband dot com)
03 October 2006 03:49:28
Hi there, please, someone out there....Im looking to help on configuring my asteriks sip server to register with a RNKTEL account, I have done all I new, and just did not work.
thanks,

ADeSouza
satish (satishm at idssoft dot com)
16 September 2006 19:27:32
how to configure h323 to sip. we able to connect the ip phones it is ringing but it was not answering.
felicity (felicity at saicom dot co dot za)
01 August 2006 15:55:25
I still can't find help in parking calls. Each time I receive parking calls I cant hear the person on the line.
Melvin Reyes (melvinr at gizpo dot com)
02 July 2006 01:58:03
Hi...Try ARI Asterisk Recording Intreface
http://www.littlejohnconsulting.com/
Jake (jakex3 at hotmail dot com)
26 January 2006 21:23:52
I'm having trouble accessing Voicemails through Apache, try as I might I can't figure out how to have all voicemails available to apache.

I remember changing (uncommenting) astctlperms.. but it solved nothing, can someone confirm for me that that works? Since its commented out by default..

I would need
astctlpermissions = 0644
dov (dovb at terra dot com dot br)
21 October 2005 21:21:52
at least on versions up to 1.0.9, directories don't work for everything (specially spool)
Evan Larsen (azn at istal dot com)
17 August 2005 21:06:04
good to know, thanks
 
Add Comment
Name:
Email:
Comment:
In order to prevent automatic posting on our website, we kindly request you to type in the number you see in the picture below.
Image Verification:
 

Latest Headlines:

  • T.38 faxing with Zoiper 2.15 is now easier than ever
    section: voip software
  • Asterisk 1.4.21 Released
    section: Asterisk
  • Asterisk 1.4.20 Released
    section: Asterisk
  • Asterisk 1.4.20-rc2 Released
    section: Asterisk
  • Asterisk 1.4.20-rc1 Now Available
    section: Asterisk
  • News Archives (older news)

Latest Tutorials:

  • VMAuthenticate (dialplan application)
    added 01/Mar/2008 15:57
  • Siptronic ST-530
    added 06/Nov/2007 17:57
  • Siemens C455 IP hardphone
    added 05/Nov/2007 10:24
  • Zoiper
    added 22/Oct/2007 17:53
  • Grandstream GXP-2020
    added 15/Oct/2007 18:17

Latest Comments:

  • I have download X-LITE but strangely , w...
    tutorial: X-Lite - SIP softphone
  • Hello i can receive a call from outside ...
    tutorial: X-Lite - SIP softphone
  • Hello, we are Howking Technology Co. Ltd...
    section: technology
  • msneyi açmak istiyorum...
    tutorial: Microsoft Windows Messenger 5.1
  • i just install X lit and i dont know how...
    tutorial: X-Lite - SIP softphone
 
contact us at: support@asteriskguru.com - asterisKGuru.com © all rights reserved   |   *asterisk is registered trademark of © Digium™