Tieing trunk to a inbound route

We have two analogue pots line with no DID and no CID.
and we want route any incoming on one line to IVR and on second line any incoming call to be routed to a particular extension ,
we are running freepbx 2.10 with asterisk 10.

Use Zap DID module to assign pseudo DID to DAHDI channel. Then you can use inbound route module with pseudo DID.

Its working the way desired ,
after making analogue port context to from-zaptel