Reload Admin FOP2

Dear FOP2 Team,

Is there any other way to reload FOP2 without login to the admin menu / fop2 / admin ?

I want to perform the function of Actions " FOP2 reload and reload Asterisk " by using CURL / API " ?

I 've made ​​the interface , to add groups , templates and user assing & button .


Thanks

Comments

  • service fop2 reload

    In the server command line.

    Also, the fop2 manager source is available for you to find out how does it signal the reload:

    if ($astman) {
    $res = $astman->UserEvent('Reload',array('Channel'=>'ZAP/1'));
    unset($_SESSION[MYAP]);
    }
  • OK Thanks Its working!
Sign In or Register to comment.