Reload Admin FOP2

  1. 9 years ago

    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

  2. admin

    26 Aug 2015 Administrator

    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]['needsreload']);
    }

  3. OK Thanks Its working!

or Sign Up to reply!