Because I have the following in /etc/asterisk/asterisk.conf

[options]
verbose = 20     ; Verbosity level for logging (-v)


asterisk will not fork a thread.
 
So I have this pseudo diff into /etc/init.d/asterisk script at line 107
 
 
    if [ -r /etc/asterisk/extensions.conf ]
    then
-    asterisk -p
+    asterisk -p &
    fi
 
 
Note that all I added to this line was the &.
 
Hope this helps.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mathias WOLFF
Sent: Monday, December 18, 2006 2:36 PM
To: [EMAIL PROTECTED]
Subject: Re: [Astlinux-users] mini-httpd


Hi Tony,
 
I have tried to modify without any success. Please, could you describe in
details what i have to modify ?
 
Regards
 
Mathias
 
Date: Fri, 8 Dec 2006 12:37:14 -0600
From: "Tony Plack" <[EMAIL PROTECTED]>
Subject: Re: [Astlinux-users] mini-httpd
To: "'Discussion of AstLinux - Asterisk on Compact Flash'"
        <[EMAIL PROTECTED]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"

Mathias,
Check to see if the init script is finishing.

My problem was that I had verbosity in the asterisk.conf file set.  If this
is set, then the asterisk program will not fork a new thread and will hang
the init script.

I have forced the /etc/init.d/asterisk script to fork with a & after the
asterisk command, that solved the problem for me.

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to