Asterisk Realtime and DID

I have a production database which has my all production extensions and It has also have a E1 card that will send calls to the TDM networks. My problem is that I have setup another asterisk server and wanted to forward all calls coming from the new server to the production server. When I dialled the DID it will lookup on the new server and the new server forwards the call to our production system. The problem is the I cannot find the peers stored on my new server. The configuration for the new server is asterisk realtime.I use mysql database for this one. Below is my diagram

DID number assigned in my new server --> production system–> TDM -->Handset.

Please help

Best REgards,
newbie_aste