Device Event

Fired for every dial device when the ListDevices method is called.

Syntax

netdial.on('Device', [callback])

Callback

The 'callback' is called when the 'Device' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.deviceName
e.deviceType

Remarks

DeviceName provides the name of the device, and DeviceType provides the corresponding device type (e.g. 'modem').

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Node.js Edition - Version 20.0 [Build 8307]