I got this same error when I was using BAT to "Insert UDP Specific Details" with "Override Options" selected. My UDP template had line1 & line2 configured with line templates. My CSV input file had fields for both line1 and line2, but only some of the devices in the CSV had values in the line2 fields (i.e. some phones had two lines while others had one line).
When the batch job ran I got a, "A device_template patternusage can only be associated with device of typeclass template", error for every phone in my CSV file that had blank line2 fields.
To get around the problem I ended up creating two CSV files. One file containing the 2-line phones and the other containing the 1-line phones. In the second file I removed all of the line2 fields (e.g. 'Directory Number 2", "Line Text Label 2", etc...)
I'm not able to access my old voice mail messages all of a sudden. The recording says something like 'the message is currently not available'. This has never happened before in all the years I have been using this system. I have t...