Asterisk to Avaya BCM450

Hello, I have been reading for a few weeks trying to get asterisk to avaya bcm calling working, i have it working by asterisk going to the bcm IVR and then selecting extension, I would like to be able to do direct ext dialing

also looking for assistance with allowing asterisk to use the avaya bcm450 PRI line

let me know what info you need, many thanks in advance

BCM450 with one SIP license
FreePBX 12.0.76.2