New CLI
I set to only check Asterisk Phonebook which is the only result that showed my name on the debug and here is the CLI
Connected to Asterisk 1.4.21.2 currently running on tncomm (pid = 3216)
Verbosity is at least 8
-- Starting simple switch on 'Zap/1-1'
-- Executing [s@from-zaptel:1] NoOp("Zap/1-1", "Entering from-zaptel with DID == ") in new stack
-- Executing [s@from-zaptel:2] Ringing("Zap/1-1", "") in new stack
-- Executing [s@from-zaptel:3] Set("Zap/1-1", "DID=s") in new stack
-- Executing [s@from-zaptel:4] NoOp("Zap/1-1", "DID is now s") in new stack
-- Executing [s@from-zaptel:5] GotoIf("Zap/1-1", "1?zapok:notzap") in new stack
-- Goto (from-zaptel,s,8)
-- Executing [s@from-zaptel:8] NoOp("Zap/1-1", "Is a Zaptel Channel") in new stack
-- Executing [s@from-zaptel:9] Set("Zap/1-1", "CHAN=1-1") in new stack
-- Executing [s@from-zaptel:10] Set("Zap/1-1", "CHAN=1") in new stack
-- Executing [s@from-zaptel:11] Macro("Zap/1-1", "from-zaptel-1|s|1") in new stack
-- Executing [s@macro-from-zaptel-1:1] NoOp("Zap/1-1", "Entering macro-from-zaptel-1 with DID = s and setting to: 6156908650") in new stack
-- Executing [s@macro-from-zaptel-1:2] Set("Zap/1-1", "__FROM_DID=6156908650") in new stack
-- Executing [s@macro-from-zaptel-1:3] Goto("Zap/1-1", "from-trunk|6156908650|1") in new stack
-- Goto (from-trunk,6156908650,1)
== Channel 'Zap/1-1' jumping out of macro 'from-zaptel-1'
-- Executing [6156908650@from-trunk:1] Set("Zap/1-1", "__FROM_DID=6156908650") in new stack
-- Executing [6156908650@from-trunk:2] Gosub("Zap/1-1", "cidlookup|cidlookup_3|1") in new stack
-- Executing [cidlookup_3@cidlookup:1] Set("Zap/1-1", "CALLERID(name)=") in new stack
-- Executing [cidlookup_3@cidlookup:2] Return("Zap/1-1", "") in new stack
-- Executing [6156908650@from-trunk:3] Gosub("Zap/1-1", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("Zap/1-1", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("Zap/1-1", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Return("Zap/1-1", "") in new stack
-- Executing [6156908650@from-trunk:4] ExecIf("Zap/1-1", "1 |Set|CALLERID(name)=615xxxxxxx") in new stack
-- Executing [6156908650@from-trunk:5] SetMusicOnHold("Zap/1-1", "Trial") in new stack
-- Executing [6156908650@from-trunk:6] Set("Zap/1-1", "__MOHCLASS=Trial") in new stack
-- Executing [6156908650@from-trunk:7] Set("Zap/1-1", "FAX_RX=1100") in new stack
-- Executing [6156908650@from-trunk:8] Set("Zap/1-1", "
[email protected]") in new stack
-- Executing [6156908650@from-trunk:9] Answer("Zap/1-1", "") in new stack
-- Executing [6156908650@from-trunk:10] Wait("Zap/1-1", "3") in new stack
-- Executing [6156908650@from-trunk:11] Set("Zap/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [6156908650@from-trunk:12] SetCallerPres("Zap/1-1", "allowed_not_screened") in new stack
-- Executing [6156908650@from-trunk:13] Set("Zap/1-1", "__ALERT_INFO=info=<Bellcore-dr4>") in new stack
-- Executing [6156908650@from-trunk:14] Goto("Zap/1-1", "app-daynight|0|1") in new stack
It is showing that it is setting the name as the phone number.