DID Inbound Routing

Hi I recently installed freepbx and asterisk successfully. I am having problem with inbound routing using DID since I have 2 pstn lines. I have set ZAP Channel DID and Inbound routes but all asterisk is not answering the call. What I get in the CLI is:

– Executing [[email protected]:1] NoOp(“Zap/13-1”, "Entering from-zaptel with DID == ") in new stack
– Executing [[email protected]:2] Ringing(“Zap/13-1”, “”) in new stack
– Executing [[email protected]:3] Set(“Zap/13-1”, “DID=s”) in new stack
– Executing [[email protected]:4] NoOp(“Zap/13-1”, “DID is now s”) in new stack
== Spawn extension (from-zaptel, s, 5) exited non-zero on ‘Zap/13-1’
– Hungup ‘Zap/13-1’
– Starting simple switch on ‘Zap/13-1’
– Executing [[email protected]:1] NoOp(“Zap/13-1”, "Entering from-zaptel with DID == ") in new stack
– Executing [[email protected]:2] Ringing(“Zap/13-1”, “”) in new stack
– Executing [[email protected]:3] Set(“Zap/13-1”, “DID=s”) in new stack
– Executing [[email protected]:4] NoOp(“Zap/13-1”, “DID is now s”) in new stack
== Spawn extension (from-zaptel, s, 5) exited non-zero on ‘Zap/13-1’

Also in my zapata-channels.conf I changed the context from “from-pstn” to “from-zaptel”

It is working if I just set it to “anycid/anydid”. Also is there a way for me to bring back the zap channel routing. As far as I can remember it was available in the previous version of freepbx. I have also followed all the guides in the forums but it does not work.