If you have a Qcc console then you have to remove the lines from that console first, under operator ,then lines not(extensions,lines).If you still you can't assign the lines to the hunt group of the VM(calling group i.e 770 or7929)thats means either the lines are assigned to another calling group or its still assigned to the QCC console.By the way by assigning the lines to the calling the VM will pick up immediately.
Good Luck.