Skip to main content
  • Products
    • Overview
    • Features
    • Screen Capture
    • Agent evaluation / score cards
    • Speech Analytics
    • Recording Announcement
    • Videos
    • Online demo
    • Quote
    • Download
  • Solutions
    • Businesses
    • Contact centers
    • Financial institutions
    • Healthcare
    • MiFID II compliance
    • Telecom service providers
    • Traders
  • Compatibility
    • AudioCodes
    • Avaya
    • BroadSoft
    • Cisco
    • Genband
    • IPC
    • Metaswitch
    • Oracle AcmePacket
    • SIPREC recording
    • Sonus
  • Documentation
    • User Guide
    • Administration Guide
    • Developer Guide
    • MiaRec v.3 (old) documentation
    • Resource library
    • Videos
  • Support
    • Submit a request
    • Check your existing requests
    • TeamViewer QuickSupport
  • Blog
  • Company
    • About MiaRec
    • Contact us
    • Our clients
    • Become a partner
    • News
    • Careers
    • Events

MiaRec SOAP API

  • MiaRec SOAP API Programmer's Guide
    • Gettings Started
      • Settings up the development environment
        • Obtaining the WSDL document and generating the stubs
      • Request and response framework
      • Learning from sample code
    • MiaRec Web Services
      • Intended Audience
      • Overview
    • Writing a Client Application
      • Setup
        • The HTTP header
        • The SOAP header
        • Setting the URL of the service to be accessed
      • Objects
        • RecordingFilter
          • RecordingFilterCustomParameter
      • Methods
        • getVersion
        • reloadConfig
        • recordingFilterLoad
        • recordingFilterLoadAll
        • recordingFilterSave
        • recordingFilterValidate
        • recordingFilterDelete
      • Exceptions
        • InvalidParameterException
        • InvalidSyntaxException
        • NotFoundException
    • Debugging
Home › MiaRec SOAP API Programmer's Guide › Writing a Client Application › Methods ›
 

recordingFilterDelete

The recordingFilterDelete method removes filter from MiaRec.ini configuration file.

 

Syntax (in C#)

bool recordingFilterDelete(
    string section, 
    string name
);

 

 

Parameters

Name of parameterTypeDescription
sectionstring

Section, from where to load filter. It can be one of following values:

  • OnCallStart
  • OnCallStop
namestringUnique name of the filter

 

 

Return Value

If the function succeds, the return boolean TRUE value.

If the function fails, then one of folloiwng SOAP Exceptions is thrown.

 

NotFoundExceptionInvalid section parameter or filter with such name doesn't exist
InvalidParameterExceptionName is invalid (empty or contains invalid character)

 

Remarks

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.

 

Example (in C#)

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)
}

 

 

See Also

  • Method recordingFilterLoadAll

 

‹ recordingFilterValidate up Exceptions ›
  • Printer-friendly version
  • Login to post comments
MiaRec, Inc. © 2020. All Rights Reserved. | Terms of Use | Privacy Statement | Cancellation Policy