A van driver has been stopped in Wiltshire while on his phone behind the wheel of a heavy vehicle with the door open.