Inbound Routes from PSTN not working

My inbound route does not seem to be working. I am running the FreePBX distro upgraded to 10.13.66-6. I have manually added “context=from-dahdi” to my chan_dahdi.conf file, but it did not help. Here is my call log:

-- Starting simple switch on 'DAHDI/1-1'
-- Executing [[email protected]:1] NoOp("DAHDI/1-1", "Entering from-dahdi with DID == ") in new stack
-- Executing [[email protected]:2] Ringing("DAHDI/1-1", "") in new stack
-- Executing [[email protected]:3] Set("DAHDI/1-1", "DID=s") in new stack
-- Executing [[email protected]:4] NoOp("DAHDI/1-1", "DID is now s") in new stack
-- Executing [[email protected]:5] GotoIf("DAHDI/1-1", "1?dahdiok:checkzap") in new stack
-- Goto (from-analog,s,9)
-- Executing [[email protected]:9] NoOp("DAHDI/1-1", "Is a DAHDi Channel") in new stack
-- Executing [[email protected]:10] Set("DAHDI/1-1", "CHAN=1-1") in new stack
-- Executing [[email protected]:11] Set("DAHDI/1-1", "CHAN=1") in new stack
-- Executing [[email protected]:12] Macro("DAHDI/1-1", "from-dahdi-1,s,1") in new stack

[2015-11-22 17:13:52] WARNING[23202][C-00000001]: app_macro.c:310 _macro_exec: No such context ‘macro-from-dahdi-1’ for macro ‘from-dahdi-1’. Was called by [email protected]

It seems to be stopping on the “from-dahdi-1” problem. Any idea how I can fix this???

Thanks.

Generally if you are using dahdi analog lines you will need to assign a “pseudo-did” to that channel so it knows where to route the call though your inbound routes.