All applications bellow support trusted mode, i_customer = 1 should be supplied in that mode.


createVendorConnection()


This application is used to create a vendor connection.


Required parameters:

    • i_vendor - Integer.
    • name - String.
    • destination - String.


Optional parameters:


    • i_media_relay - Integer. See getSystemDictionary()
    • username - String.
    • password - String.
    • translation_rule - CLD translation rule. String.
    • cli_translation_rule - String.
    • i_media_relay_type - Integer. See getSystemDictionary()
    • capacity - Integer.
    • enforce_capacity - Boolean.
    • huntstop_scodes - String.
    • blocked - Boolean.
    • timeout_100 - Integer.
    • i_protocol - Integer. See getSystemDictionary()
    • qmon_acd_enabled - Boolean.

    • qmon_asr_enabled - Boolean.

    • qmon_stat_window - Integer.

    • qmon_acd_threshold - Integer.

    • qmon_asr_threshold - Double.

    • qmon_retry_interval - Integer.

    • qmon_retry_batch - Integer.

    • qmon_action - String. See getSystemDictionary()

    • qmon_notification_enabled - Boolean.

    • use_asserted_id - Boolean.

    • asserted_id_translation - String.

    • outbound_ip - String.

    • max_cps - Double.

    • ignore_lrn - Boolean.

    • single_outbound_port - Boolean.

    • outbound_proxy - String.

    • accept_redirects - Boolean.

    • redirect_depth_limit - Integer.

    • from_domain - String.

    • enable_diversion - Boolean.
    • diversion_translation - String.

Returns:


    • result - OK - String.
    • i_connection - ID of the newly created vendor connection. Integer.

    • XMLRPC fault in case of any error.


updateVendorConnection()


This application is used to update a vendor connection.


Required parameters:

  • i_connection - Integer. Required.

Optional parameters:
  • Any from createVendorConnection() except i_vendor.

Returns:

  • result - OK - String.
  • XMLRPC fault in case of any error.

deleteVendorConnection()


This application is used to remove a vendor connection.


Required parameters:

  • i_connection - Integer. Required.


Returns:

  • result - OK - String.
  • XMLRPC fault in case of any error.


getVendorConnectionInfo()


This application is used to get a vendor connection detail.


Parameters:
  • i_connection - Id of vendor connection. Integer. Required.


Returns:
  • result - OK - String.
  • vendor_connection - Structure with vendor connection's attributes.
  • XMLRPC fault in case of any error.



getVendorConnectionsList()


This application is used to list vendor connections.


Parameters:
  • i_vendor - Integer. Required.
  • name_pattern - Pattern to filter connections by name (SQL syntax for the LIKE operator is used). String. Optional.

Returns:
  • result - OK - String.
  • vendor_connections - Array of dictionaries.
  • XMLRPC fault in case of any error.