Re: [asterisk-users] How to see STDERR message?

2010-01-07 Thread Matt Florell
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  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 :
>
> > 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   sedwa...@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
>
___
-- 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

Re: [asterisk-users] How to see STDERR message?

2010-01-07 Thread Zhang Shukun
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 :
> 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       sedwa...@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


Re: [asterisk-users] How to see STDERR message?

2010-01-06 Thread Steve Edwards
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   sedwa...@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


[asterisk-users] How to see STDERR message?

2010-01-06 Thread Zhang Shukun
hi,

i use agi to send message back to Asterisk by STDERR, but why i
could't see the message in asterisk CLI?

i start asterisk use " asterisk -vc" in order to see all message.

Thanks

-- 
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