[Asterisk-bsd] Asterisk 1.6.2.13 port

Ian FREISLICH ianf at clue.co.za
Wed Oct 13 05:36:25 CDT 2010


Florian Smeets wrote:
> On 13.10.10 12:04, Ian FREISLICH wrote:
> > "Ian FREISLICH" wrote:
> >> I also noticed that the rc.d script, or asterisk itself messes the
> >> tty when its started.  No characters are echoed after the script
> >> is run.  Blindly typing 'reset' fixes the terminal after starting
> >> asterisk.
> > 
> > Ahh, I see what it's doing now...
> > 
> > It changed the text colour so I couldn't see it against my backround colour
.
> > 
> 
> Can you try changing the rc script by adding a -n to the line in
> asterisk_shutdown? It should look like this after the change.
> 
> /usr/local/sbin/asterisk -nqrx 'core stop now'
> 
> Does that prevent your console from becoming unreadable?
> 
> If that does not help you could try to add command_args="-n"

Adding '-n' to the stop in the rc script and adding

asterisk_flags="-n"

to /etc/rc.conf fixes this.

Ian

-- 
Ian Freislich



More information about the Asterisk-BSD mailing list