Avaya pbx + asterisk now

we have one avaya prologix pbx.we have 2 isdn pri e1 line .one is for incoming calls to avaya and one is for outgoing calls from avaya .now we want to integrate avaya outgoing to asterisk now+freepbx.my avaya is not supporing ip phone.

I want to route the avaya outgoing calls to freepbx and from freepbx we can route to sip or pri depends upon the situation.

The Question is Which trunk we will make from avaya to freepbx through pr1 e1 .
how to configure this in freepbx ?

In avaya i checked ,it is showing wink / access trunk like that.where is the access trunk in our asterisk…