Thank you for your reply. I tried it, but it did not help Serge
From: "Robert Hajime Lanning" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] Problems with AGI scripts in Perl and Java Date: Sat, 11 Oct 2003 10:37:33 -0700 (PDT)
Try putting at the top of the Perl script:
$| = 1; select((select(STDERR),$| = 1)[0]);
This removes buffering.
<quote who="Serge Mankovski">
> Hi
> what can be wrong with * that console does not show any stderr text
> printed
> from agi script?
> I am starting with asterisk -vvvvvvvvvvvvvvvvvvvvvvvvrc
> VERBOSE command does show text on console but printing of STDERR does not
>
> I tried it from Perl and from Java and in both cases almost the same
> result,
> except in Java more things do not work.
>
> In Java for, for example, SAY DIGITS 123 78# would attempt to say "one",
> but
> would not finish and there is not attempt even to say "two". In Perl,
> however ,SAY DIGITS work correctly
>
> Thanks
> Serge
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-- END OF LINE _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
