ChannelMediaGateway
Summary
Represents a Media Gateway Channel Adapter object.
- Methods
- Properties
Structure
- class ChannelMediaGateway
- check_status() str
Checks the status of the device and returns it.
- Returns
Device's status.
- Return type
- export_configuration(path: str, name: str) bool
Attempts to export a device's configuration to a file.
- get_wakeup_line_status() str
Gets the wakeup line status of the device.
- Returns
Device's wakeup line status.
- Return type
- import_configuration(conf_file: str) bool
Attempts to import configuration from a file to the device.
- port_enable(numPort: uint16, enableDisable: bool) bool
Attempts to set a specific's port state to enabled or disabled.
- port_master_slave(selected_port: int32, slave_master: int32) bool
Attempts to connect a slave_master to a specific port.
- reset_to_default() bool
Attempts to reset the device to default.
- Returns
True
if operation was successful (device reset to default),False
otherwise.- Return type
- restart_device() bool
Attempts to restart the device.
- Returns
True
if operation was successful (device restarted),False
otherwise.- Return type