in reply to how to run asterisk command through perl/cgi

This could also be a permission problem. Remember that CGIs usually run under a different, unprivileged user, typically nobody, wwwrun, or apache. asterisk complains only that it could not connect (to the unix domain socket / pipe /var/run/asterisk.ctl). It does <update>NOT</update> say that /var/run/asterisk.ctl does not exist, but it asks you to check that it exists because missing that pipe / socket seems to be a common error.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re: how to run asterisk command through perl/cgi

Replies are listed 'Best First'.
Re^2: how to run asterisk command through perl/cgi
by Anonymous Monk on Jul 22, 2009 at 18:38 UTC
    I am thinking your asterisk is not running. Try "home/operator# asterisk start", then run your perl script. :-) Iván Carrasco Quiroz.