[Asterisk-Users] ast_sock_cmd: pipe commands to asterisk
Tzafrir Cohen
tzafrir at cohens.org.il
Thu Dec 22 13:21:45 MST 2005
On Thu, Dec 22, 2005 at 09:01:04PM +0200, Tzafrir Cohen wrote:
> If you need to pipe commands to Asterisk without resorting to the
> manager interface (e.g: requiring a specific user, hard-wiring password
> or other authentication messure. After all: you're root of the machine
> and know better than that lousy Asterisk process), you may want to use
> the following.
>
> It is a simple C program to pipe commands to asterisk.ctl . It was
> written to help me and thus hardwires the path I use
> (/var/run/asterisk/asterisk.ctl ) , but I'd welcome any fixes for that.
Or a simpler and aslightly more capable perl script. Attached.
--
Tzafrir Cohen | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849755 | | friend
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ast_sock_cmd
Type: application/octet-stream
Size: 13527 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20051222/bf803c5e/ast_sock_cmd.obj
More information about the asterisk-users
mailing list