Hi All, I am trying to run the asterisk CLI commands from php. Some thing like "asterisk -rx reload". But it is not working, where as when I try to run linux "ls" command it works fine.
below is sample php code which I am trying to run. $command = "sudo asterisk -rx reload"; $value1 = system($command,$retval1); $value2 = exec($command,$retval2); echo $value1; echo $value2; can any one suggest what might be the problem and possible solution to it. Any help is highly appreciated. Thanks.
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
