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 <[email protected]> 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 <[email protected]>:
>
> > 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       [email protected]      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
>
_______________________________________________
-- 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

Reply via email to