[asterisk-users] getting results messages from CLI commands via -rx

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Sep 20 06:25:06 CDT 2008


On Fri, Sep 19, 2008 at 12:54:58PM -0700, George Williams wrote:
> Hi,
> 
> I am issuing CLI commands via script, using the "asterisk -rx" method.
> 
> Its working great.  Now, I need to get the results of the command to look
> for error messages, etc.
> 
> I've tried setting several "-v" flags as well, but I only get the Asterisk
> startup text (version, license info, etc), not the results of the command
> itself.

Don't use v-s. They are global. It seems you didn't have the '-x'.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list