Page 1 of 1

LINEERR_NODEVICE script error (cause)

Posted: Wed Oct 14, 2009 5:43 pm
by bwm
I came across this error while debugging sound() and phonesound() scripts. To make a long story short, the error was caused by my using Windows XP builtin remote desktop to get to the machine hosting the modem and selecting the option to bring the sound to my remote machine. When I did this, sound() worked fine, but phonesound() failed with error messages and would not play over my modem to the caller. The sound delivered over the modem was just a series of clicks. Disconnecting from remote desktop session does not eliminate the problem (a machine reboot, modem power cycle does).

Using remote desktop without bringing sound to my remote machine works fine.

Other error tracks when this occured were:

---------------
Script error window:

Window Title: Problem
Window contents:

Script problem in "ActionName": Could not play sound over phone because Could not get device id: The device was
removed, or the device class is not recognized (LINEERR_NODEVICE)

----------------
Activity Log:
10/14/2009 07:08:07 PM - Could not get volume
10/14/2009 07:08:07 PM - Could not get volume
10/14/2009 07:08:07 PM - (Repeat(s) of previous message suppressed)
10/14/2009 07:08:12 PM - TfxLineCallback: Could not get device id: The device was removed, or the device class is not recognized (LINEERR_NODEVICE)
(Exception)
10/14/2009 07:08:12 PM - Script problem in "ActionName": Could not play sound over phone because Could not get device

id: The device was removed, or the device class is not recognized (LINEERR_NODEVICE) phonesound(AnnounceOutWindow); [line 51, column 3]
10/14/2009 07:08:12 PM - Script has ended, but call is still connected -- disconnecting
10/14/2009 07:08:12 PM - Could not get volume
10/14/2009 07:08:12 PM - Could not get volume
10/14/2009 07:08:14 PM - (Repeat(s) of previous message suppressed)

--------------
Modem log: Nothing unusual