public function do_ldap_sync($NAME, $BOOLEAN)
    {
        $SEARCH = ['name' => $NAME, 'sync' => $BOOLEAN];
        // Search the CUCM for all phones
        $BASETIME = $this->microtimeTicks();
        $RETURN = $this->SOAPCLIENT->doLdapSync($SEARCH);
        $DIFFTIME = $this->microtimeTicks() - $BASETIME;
        // log our soap call
        $this->log_soap_call('doLdapSync', $DIFFTIME, $SEARCH, $RETURN);

        if (!is_object($RETURN)) {
            throw new \Exception('SOAP reply is not an object');
        } else {
            return $RETURN;
        }
    }
public function do_ldap_sync($NAME, $BOOLEAN)
    {
        $SEARCH = ['name' => $NAME, 'sync' => $BOOLEAN];
        // Search the CUCM for all phones
        $BASETIME = $this->microtimeTicks();
        $RETURN = $this->SOAPCLIENT->doLdapSync($SEARCH);
        $DIFFTIME = $this->microtimeTicks() - $BASETIME;
        // log our soap call
        $this->log_soap_call('doLdapSync', $DIFFTIME, $SEARCH, $RETURN);

        if (!is_object($RETURN)) {
            throw new \Exception('SOAP reply is not an object');
        } else {
            return $RETURN;
        }
    }
public function do_ldap_sync ( $ NAME , $ BOOLEAN ) { $ SEARCH = [ 'name' => $ NAME , 'sync' => $ BOOLEAN ] ; // Search the CUCM for all phones $ BASETIME = $ this -> microtimeTicks ( ) ; $ RETURN = $ this -> SOAPCLIENT -> doLdapSync ( $ SEARCH ) ; $ DIFFTIME = $ this -> microtimeTicks ( ) - $ BASETIME ; // log our soap call $ this -> log_soap_call ( 'doLdapSync' , $ DIFFTIME , $ SEARCH , $ RETURN ) ; if ( ! is_object ( $ RETURN ) ) { throw new \ Exception ( 'SOAP reply is not an object' ) ; } else { return $ RETURN ; } }
Kick off LDAP Sync Process in CUCM - Name of LDAP Dirctory and true to start or false to stop.
Kick off LDAP Sync Process in CUCM - Name of LDAP Dirctory and true to start or false to stop .