[Asterisk-Users] AGI perl problem

Eric Wieling aka ManxPower eric at fnords.org
Mon Aug 8 14:12:50 MST 2005


Tzafrir Cohen wrote:
> 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)
> 

logger.conf worked for me for everything EXCEPT AGI scripts that print 
to STDERR.

-- 
Eric Wieling * BTEL Consulting * 504-210-3699 x2120



More information about the asterisk-users mailing list