On Sat, 2004-06-19 at 07:05, Sam Bingner wrote:
> It's exiting before the output finishes printing, it's a known bug and a
> timing issue.... There's a patch I put that's a hack to put in a timeout
> for exit, you should be able to find it on bugs.digium.com

Instead of timing the exit, why don't you just flush the STDOUT and
STDERR file descriptors? Seems this could be done before exit no matter
what the reason was.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Stephan Wik
> Sent: Saturday, June 19, 2004 1:23 AM
> To: [EMAIL PROTECTED]
> Subject: [Asterisk-Users] asterisk -rx not working well
> 
> 
> We're trying to use asterisk -r -x "sip show peers" to monitor sip 
> phone availability. Sometimes the command shows the correct output but 
> 9 times out of 10 all that is returned is:
> 
> Name/username    Host                 Mask             Port     Status
> 
> with no listing.
> 
> Anyone else see this behaviour?
> 
> Stephan
> 
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steven Critchfield <[EMAIL PROTECTED]>

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to