[Asterisk-Users] ast_sock_cmd: pipe commands to asterisk

Dinesh Nair dinesh at alphaque.com
Fri Dec 23 05:15:31 MST 2005


On 12/23/05 20:02 Tzafrir Cohen said the following:
> Because you have to invoke asterisk twice. You can't pipe standard input
> into 'asterisk -r' .

well, the extra debugging and verbose levels can be given through use of 
multiple -d and -v switches to the asterisk -rx call.

> And because you have to invoke asterisk just for writing to a socket. 
> (The asterisk daemon will do its own sanity cheks later, no need to do
> them in the client).

perhaps, but it does seem like overkill if the asterisk server isnt 
overloaded already.

-- 
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