[asterisk-users] How to see STDERR message?
Matt Florell
astmattf at gmail.com
Thu Jan 7 02:47:10 CST 2010
Hello,
STDERR goes to the original Asterisk process only, not any "asterisk -r"
connections that you may use. If you launch Asterisk in a "screen" like we
do, then you can see it and log it in context with when the output is
happening. We find it very useful to do it this way.
MATT---
On 1/7/10, Zhang Shukun <bitzsk at gmail.com> wrote:
>
> Thank you for you reply?
>
> is that mean STDERR couldn't show under Asterisk CLI mode?
>
> it's only saved to some file?
>
> 2010/1/7 Steve Edwards <asterisk.org at sedwards.com>:
>
> > On Thu, 7 Jan 2010, Zhang Shukun wrote:
> >
> >> i use agi to send message back to Asterisk by STDERR, but why i could't
> >> see the message in asterisk CLI?
> >
> > Output to STDERR does nothing for me either.
> >
> > I prefer to use syslog() to log the messages via syslogd.
> >
> > --
> > Thanks in advance,
> > -------------------------------------------------------------------------
> > Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867
> PST
> > Newline Fax: +1-760-731-3000
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
>
>
> --
> Best regards,
> Sucan
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.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/20100107/6eb6a7a3/attachment.htm
More information about the asterisk-users
mailing list