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 | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend
ast_sock_cmd
Description: Binary data
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
