The following code is to execute asterisk commands through perl/cgi, but i am getting the following error for this program.
Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist
+?) Unable to connect to remote asterisk (does /var/run/asterisk.ctl e
And one more thing is if i am running the same program as perl file the asterisk commands are executing without any error.
print `asterisk -rx "extensions reload"`;
print `asterisk -rx "sip reload"`;
Can any one help me as soon as possible...
Thanks in advance.