[Asterisk-Users] ast_sock_cmd: pipe commands to asterisk
Dinesh Nair
dinesh at alphaque.com
Thu Dec 22 22:31:18 MST 2005
On 12/23/05 03:01 Tzafrir Cohen said the following:
> example usage:
>
> echo -e "set verbose 3\nset debug 5" | ./ast_sock_cmd
>
> echo -e "restart now" | ./ast_sock_cmd
>
> I'd also be happy to know of existing alternatives. It looked strange I
> could not find such an existing tool to pipe text into a unix-domain
> socket.
how different is this from using the following,
asterisk -rx 'set verbose 3'
asterisk -rx 'restart now'
--
Regards, /\_/\ "All dogs go to heaven."
dinesh at alphaque.com (0 0) http://www.alphaque.com/
+==========================----oOO--(_)--OOo----==========================+
| for a in past present future; do |
| for b in clients employers associates relatives neighbours pets; do |
| echo "The opinions here in no way reflect the opinions of my $a $b." |
| done; done |
+=========================================================================+
More information about the asterisk-users
mailing list