probably your asterisk binary is not within $PATH variable. Try 'whereis asterisk'. System will show you full path to binary. It's probably something like /usr/bin/asterisk, or maybe /usr/sbin/asterisk. Anyway- you should use 'sudo $fullpath_to_asterisk_binary -r', or write needed directory to $PATH environment variable, and use 'sudo asterisk -r'.
Hi, I am trying to install Asterisk 1.4 on Centos 4.8, basically following the steps in the O'Reilly book. If I go to /etc/rc.d/init.d/asterisk status, it returns "asterisk (pid12730) is running...", but I cannot execute "asterisk -r" anywhere. All that ever returns is a "bash: asterisk: command not found" Am I doing something wrong?
This is a strange request, I think - trying to scale down my hardware at home, I've removed my VoIP server (TrixBox). I'm now thinking this may have been a mistake, as I seem to be having difficulty in connecting my FXO to my VoIP hardware. This may even be impossible, I'm not sure.
...
Comments