Call with PSTN between two elastix server

Hi all,
I have two elastix server and create IAX2 trunk between tow servers.
My IAX2 trunks is up and each server’s extentions can be dial other extention in the elstix server.

I have DAHDI card in the Elastix server 1 and this server’s extentions can dial with PSTN lines.

So I need to dial from the server 2 extentions via server 1 DAHDI card.

please advice me.
many tanks

You just need to put a match pattern to go over the iax2 trunk. make sure the trunk context is from-internal on both sides and will work. Here is a good walk through of call breakout across iax2 trunks.