Voip +Asterix + KXT6161 + 10 ext

hi

can you tell me if it possible to run:

voip line(thinking about VONAGE)(on one of our bt lines) <->Asterix(with call logging) + 10 analog ext(hotel rooms)

this line(BT not yet VOIP) is connected to analog pbx panasonic kxt6161 so now guest from 10 rooms can call where ever they want using this line

i want to connect those 10 analog ext to asterix (run call logging )and change this line to voip so it will be cheaper and i can charge guest for calling

after connecting asterix and running voip is it posible to connect analog pbx so for example office people (analog pbx) can call guest rooms ??

regards

SIMON