Ok got the HG to work. However in the vector, when I press the option for the virtual ext. it loops the call in the vector. See below it's option 6, line 11. When you press 6 it loops back to step 5. If I insert another "regular" ext. instead of 4000, it works fine.
Number: 5 Name: TesT
Multimedia? n Attendant Vectoring? n Meet-me Conf? n Lock? n
Basic? y EAS? n G3V4 Enhanced? y ANI/II-Digits? y ASAI Routing? n
Prompting? y LAI? n G3V4 Adv Route? y CINFO? y BSR? n Holidays? y
Variables? n 3.0 Enhanced? n
01 wait-time 0 secs hearing ringback
02 goto step 18 if ani in table 11
03 goto step 23 if time-of-day is all 17:00 to all 06:00
04 goto step 23 if time-of-day is fri 17:00 to mon 06:00
05 collect 1 digits after announcement 3511
06 route-to number 3600 with cov n if digit = 1
07 route-to number 91xxxxxxxxx with cov n if digit = 2
08 route-to number 91xxxxxxxxx with cov n if digit = 3
09 route-to number 91xxxxxxxxx with cov n if digit = 4
10 route-to number 91 xxxxxxxxx with cov n if digit = 5
11 route-to number 4000 with cov n if digit = 6
12 route-to number 91xxxxxxxxx with cov n if digit = 7
13 route-to number 5555 with cov n if digit = 8
14 route-to number 7777 with cov n if digit = 9
15
16 goto step 5 if unconditionally
17
18 stop
19
20
21
22
23 stop