Dear<div>it's the default setting of asterisk.conf, your config is not complete.</div><div>-f in the ps output, shows your asterisk have been run in fork mode, disable it.</div><div> </div><div><div>[directories](!) ; remove the (!) to enable this</div>
<div>astetcdir => /etc/asterisk</div><div>astmoddir => /usr/lib/asterisk/modules</div><div>astvarlibdir => /var/lib/asterisk</div><div>astdbdir => /var/lib/asterisk</div><div>astkeydir => /var/lib/asterisk</div>
<div>astdatadir => /var/lib/asterisk</div><div>astagidir => /var/lib/asterisk/agi-bin</div><div>astspooldir => /var/spool/asterisk</div><div>astrundir => /var/run/asterisk</div><div>astlogdir => /var/log/asterisk</div>
<div><br></div><div>[options]</div><div>;verbose = 3</div><div>;debug = 3</div><div>;alwaysfork = yes ; same as -F at startup</div><div>;nofork = yes ; same as -f at startup</div><div>;quiet = yes ; same as -q at startup</div>
<div>;timestamp = yes ; same as -T at startup</div><div>;execincludes = yes ; support #exec in config files</div><div>;console = yes ; Run as console (same as -c at startup)</div><div>;highpriority = yes ; Run realtime priority (same as -p at startup)</div>
<div>;initcrypto = yes ; Initialize crypto keys (same as -i at startup)</div><div>;nocolor = yes ; Disable console colors</div><div>;dontwarn = yes ; Disable some warnings</div><div>;dumpcore = yes ; Dump core on crash (same as -g at startup)</div>
<div>;languageprefix = yes ; Use the new sound prefix path syntax</div><div>;internal_timing = yes</div><div>;systemname = my_system_name ; prefix uniqueid with a system name for global uniqueness issues</div><div>;autosystemname = yes ; automatically set systemname to hostname - uses 'localhost' on failure, or systemname if set</div>
<div>;maxcalls = 10 ; Maximum amount of calls allowed</div><div>;maxload = 0.9 ; Asterisk stops accepting new calls if the load average exceed this limit</div><div>;maxfiles = 1000 ; Maximum amount of openfiles</div><div>
;minmemfree = 1 ; in MBs, Asterisk stops accepting new calls if the amount of free memory falls below this watermark</div><div>;cache_record_files = yes ; Cache recorded sound files to another directory during recording</div>
<div>;record_cache_dir = /tmp ; Specify cache directory (used in conjunction with cache_record_files)</div><div>;transmit_silence_during_record = yes ; Transmit SLINEAR silence while a channel is being recorded</div><div>
;transmit_silence = yes ; Transmit silence while a channel is in a waiting state, a recording only state, or when DTMF is</div><div> ; being generated. Note that the silence internally is generated in raw signed linear format.</div>
<div> ; This means that it must be transcoded into the native format of the channel before it can be sent</div><div> ; to the device. It is for this reason that this is optional, as it may result in requiring a</div>
<div> ; temporary codec translation path for a channel that may not otherwise require one.</div><div>;transcode_via_sln = yes ; Build transcode paths via SLINEAR, instead of directly</div><div>;sendfullybooted = yes ; Send the FullyBooted AMI event on AMI login and when all modules are finished loading</div>
<div>;runuser = asterisk ; The user to run as</div><div>;rungroup = asterisk ; The group to run as</div><div>;lightbackground = yes ; If your terminal is set for a light-colored background</div><div>documentation_language = en_US ; Set the Language you want Documentation displayed in. Value is in the same format as locale names</div>
<div>;hideconnect = yes ; Hide messages displayed when a remote console connects and disconnects</div><div><br></div><div>; Changing the following lines may compromise your security.</div><div>;[files]</div><div>;astctlpermissions = 0660</div>
<div>;astctlowner = root</div><div>;astctlgroup = apache</div><div>;astctl = asterisk.ctl</div><div><br></div><div>[compat]</div><div>pbx_realtime=1.6</div><div>res_agi=1.6</div><div>app_set=1.6</div><div><br><div class="gmail_quote">
On Sat, Jan 29, 2011 at 4:32 PM, Gilles <span dir="ltr"><<a href="mailto:codecomplete@free.fr">codecomplete@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Sat, 29 Jan 2011 15:47:53 +0330, Pezhman Lali <<a href="mailto:lopl@lopl.net">lopl@lopl.net</a>><br>
wrote:<br>
<div class="im">>check your /etc/asterisk/asterisk.conf and post it here<br>
<br>
</div>Here goes:<br>
<br>
root:/var/tmp> cat /etc/asterisk/asterisk.conf<br>
[directories]<br>
astetcdir => /etc/asterisk<br>
astmoddir => /usr/lib/asterisk/modules<br>
astvarlibdir => /var/lib/asterisk<br>
astagidir => /usr/share/asterisk/agi-bin<br>
astspooldir => /var/spool/asterisk<br>
astlogdir => /var/log/asterisk<br>
<div><div></div><div class="h5"><br>
Thank you.<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div></div>