I have set DID numbers to all of my ZAP trunks and set inbound routes to use those DIDs but still no hope. The DID keeps getting set to “s” and going to default ring group. What am I doing wrong. I am kind of new at this.
Here is the info I got from the “asterisk -rv” command.
-- Starting simple switch on 'Zap/4-1'
-- Executing [s@from-zaptel:1] NoOp("Zap/4-1", "Entering from-zaptel with DID == ") in new stack
-- Executing [s@from-zaptel:2] Ringing("Zap/4-1", "") in new stack
-- Executing [s@from-zaptel:3] Set("Zap/4-1", "DID=s") in new stack
-- Executing [s@from-zaptel:4] NoOp("Zap/4-1", "DID is now s") in new stack
-- Executing [s@from-zaptel:5] GotoIf("Zap/4-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,8)
-- Executing [s@from-zaptel:8] NoOp("Zap/4-1", "Is a Zaptel Channel") in new stack
-- Executing [s@from-zaptel:9] Set("Zap/4-1", "CHAN=4-1") in new stack
-- Executing [s@from-zaptel:10] Set("Zap/4-1", "CHAN=4") in new stack
-- Executing [s@from-zaptel:11] Macro("Zap/4-1", "from-zaptel-4|s|1") in new stack
-- Executing [s@macro-from-zaptel-4:1] NoOp("Zap/4-1", "Entering macro-from-zaptel-4 with DID = s and setting to: 6238471290") in new stack
-- Executing [s@macro-from-zaptel-4:2] Set("Zap/4-1", "__FROM_DID=6238471290") in new stack
-- Executing [s@macro-from-zaptel-4:3] Goto("Zap/4-1", "from-trunk|6238471290|1") in new stack
-- Goto (from-trunk,6238471290,1)
== Channel ‘Zap/4-1’ jumping out of macro ‘from-zaptel-4’
– Hungup ‘Zap/4-1’
– Starting simple switch on ‘Zap/4-1’
– Executing [s@from-zaptel:1] NoOp(“Zap/4-1”, "Entering from-zaptel with DID == ") in new stack
– Executing [s@from-zaptel:2] Ringing(“Zap/4-1”, “”) in new stack
– Executing [s@from-zaptel:3] Set(“Zap/4-1”, “DID=s”) in new stack
– Executing [s@from-zaptel:4] NoOp(“Zap/4-1”, “DID is now s”) in new stack
– Executing [s@from-zaptel:5] GotoIf(“Zap/4-1”, “1?zapok:notzap”) in new stack
– Goto (from-zaptel,s,8)
– Executing [s@from-zaptel:8] NoOp(“Zap/4-1”, “Is a Zaptel Channel”) in new stack
– Executing [s@from-zaptel:9] Set(“Zap/4-1”, “CHAN=4-1”) in new stack
– Executing [s@from-zaptel:10] Set(“Zap/4-1”, “CHAN=4”) in new stack
– Executing [s@from-zaptel:11] Macro(“Zap/4-1”, “from-zaptel-4|s|1”) in new stack
– Executing [s@macro-from-zaptel-4:1] NoOp(“Zap/4-1”, “Entering macro-from-zaptel-4 with DID = s and setting to: 6238471290”) in new stack
– Executing [s@macro-from-zaptel-4:2] Set(“Zap/4-1”, “__FROM_DID=6238471290”) in new stack
– Executing [s@macro-from-zaptel-4:3] Goto(“Zap/4-1”, “from-trunk|6238471290|1”) in new stack
– Goto (from-trunk,6238471290,1)
== Channel ‘Zap/4-1’ jumping out of macro ‘from-zaptel-4’
– Hungup ‘Zap/4-1’