Note: Devices return an extra element called Action and indicates which DeviceActions should be performed.
Example: Get unread fax count with wait timeout
The following example queries the number of unread faxes available. If no unread faxes are available at the time this function is called, it will wait up to 120 seconds for a new fax to arrive. If a new fax arrives during the wait/timeout period, this function will return immediately allowing the application to retrieve the new fax the instant it arrives within the etherFAX network.