[Asterisk-Users] AGI perl problem

Tzafrir Cohen tzafrir at cohens.org.il
Mon Aug 8 14:01:15 MST 2005


On Mon, Aug 08, 2005 at 03:50:02PM -0500, Eric Wieling aka ManxPower wrote:
> Anish Basu wrote:
> >Hi,
> >
> >For some reason, my AGI perl scripts cannot write to the CLI console using
> >standard error.  I ran the agi-test.agi test script that came with asterisk
> >and verified that the problem was not with the code.  Asterisk is always
> >started with 4 or more v's, yet this the CLI output does not show up.  Have
> >there been any major changes to AGI in the cvs-head?  I am using Asterisk
> >CVS-D2005.08.05.
> 
> This is a known problem.  Asterisk will only send STDERR from AGI 
> scripts to the actual console Asterisk is running on.  You have to 
> switch to the actual console Asterisk is running on (tty9 I think) or 
> start asterisk in the foreground with "asterisk -cvvv".
> 
> It's a minor issue for most people.

And if you run with no "default terminal"?

Any simple way around this in logger.conf (you can always tail -f the
log file)

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list