Which telephony gateway required to integerate with pbx?

can any one please specify the details to implement voice . Actually we want to integerate our pbx with openfire but dont know how to do this.