[asterisk-users] where to read stderr.out from an agi script

shawn bright nephish at gmail.com
Sat Jul 29 07:27:56 MST 2006


Yep, that worked, thanks a lot. Now i can at least see whats going wrong.
thanks again.

-shawn

On 7/29/06, Matt Florell <astmattf at gmail.com> wrote:
>
> Stop asterisk and run it from the command line directly(asterisk
> -vvvvvvvvgc).
>
> For some reason AGI scripts only output to the original Asterisk
> session, not remotely connected Asterisk sessions(asterisk -r)
>
> MATT---
>
>
> On 7/29/06, shawn bright <nephish at gmail.com> wrote:
> > Hello there all,
> > i am using an agi python script.
> > It is kinda from an example in the ATOF book ( O'Reilly)
> > it simply answers the phone, receives 5 DTMF digits,
> > and writes those digits to a text file.
> >
> >  however, it isn't working.
> > The script is in python, and i have stderr writing out some debug lines,
> > but i do not know where to read them.
> >
> > here is what i am getting in the /var/log/asterisk/messages
> >
> > Jul 29 06:02:05 WARNING[2863]: unable to spawn mp3player
> > Jul 29 06:02:05 NOTICE[2863]: registered database handle 'mysql1'
> > dsn->[MySQL-asterisk]
> > Jul 29 06:02:05 NOTICE[2863]: registered database handle 'mysql2'
> > dsn->[MySQL-asterisk]
> > Jul 29 06:02:05 NOTICE[2863]: res_odbc loaded.
> > Jul 29 06:02:05 NOTICE[2863]: Registered Config Engine odbc
> > Jul 29 06:02:05 NOTICE[2863]: res_config_odbc loaded.
> > Jul 29 06:02:05 WARNING[2863]: Firmware file
> > '/var/lib/asterisk/firmware/iax/iaxy.bin' fails checksum
> > Jul 29 06:02:05 WARNING[2863]: Unable to get our IP address, Skinny
> disabled
> > Jul 29 06:02:44 WARNING[2863]: Timeout, but no rule 't' in context
> > 'incoming'
> >
> > any tips would be appreciated greatly.
> > thanks!
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060729/6a3619c0/attachment.htm


More information about the asterisk-users mailing list