[Asterisk-Users] Problems with AGI scripts in Perl and Java

Serge Mankovski dorjegonpo at hotmail.com
Sat Oct 11 14:47:44 MST 2003


Thank you for your reply. I tried it, but it did not help
Serge


>From: "Robert Hajime Lanning" <lanning+asterisk at monsoonwind.com>
>Reply-To: asterisk-users at lists.digium.com
>To: asterisk-users at lists.digium.com
>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
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
>--
>END OF LINE
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>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




More information about the asterisk-users mailing list