Help configuring max E1/T1 machine with open pbx

Dear sir / Madam
i have a max E1/T1 machine bought from net2phone, i will like to configure it work with free pbx
i want to use it for inbound DID numbers from didlogic
can someone please help me on how to go forward