The recordingFilterDelete method removes filter from MiaRec.ini configuration file.
bool recordingFilterDelete( string section, string name );
Name of parameter | Type | Description |
section | string | Section, from where to load filter. It can be one of following values:
|
name | string | Unique name of the filter |
If the function succeds, the return boolean TRUE value.
If the function fails, then one of folloiwng SOAP Exceptions is thrown.
NotFoundException | Invalid section parameter or filter with such name doesn't exist |
InvalidParameterException | Name is invalid (empty or contains invalid character) |
This method removes a recording filter from MiaRec.ini configuration file.
Method reloadConfig should be executed to apply changes to running MiaRec application.
Otherwise changes will be reloaded only when MiaRec is restarted.
try { service.recordingFilterDelete("OnCallStart", "filter1-"); } catch (FaultException<MiaRec::InvalidParameterException> ex) { Console.WriteLine("Failed: " + ex.Detail.Description); } catch (FaultException<MiaRec::NotFoundException> ex) { Console.WriteLine("Failed: " + ex.Detail.Description); } catch (Exception ex) { Console.WriteLine(ex.Message) }