i have freepbx FreePBX 2.7.0.8
and my module callerid lookup sources doesn’t work
i have on Source: External CID Lookup
Source type: http
host: www.altshop.ro
Port:
Username:
Password:
Path: /freepbx_get_name.php
Query: ?nr=[NUMBER]
the cidlookup didn’t apear, i think that this not execute the lookup, but why ?
i check on inbound routes
and on all incoming any DID / any CID
on CID Lookup Source, the source is selected corectly
You need to look in the log for the start of the call when it enters the system.
This is a log from my system with caller id lookup:
-- Executing [040111111@from-sip-external:1] NoOp("SIP/5060-00031afb", "Received incoming SIP connection from unknown peer to 040111111") in new stack
-- Executing [040111111@from-sip-external:2] Set("SIP/5060-00031afb", "DID=040111111") in new stack
-- Executing [040111111@from-sip-external:3] Goto("SIP/5060-00031afb", "s|1") in new stack
-- Goto (from-sip-external,s,1)
-- Executing [s@from-sip-external:1] GotoIf("SIP/5060-00031afb", "1?checklang:noanonymous") in new stack
-- Goto (from-sip-external,s,2)
-- Executing [s@from-sip-external:2] GotoIf("SIP/5060-00031afb", "1?setlanguage:from-trunk|040111111|1") in new stack
-- Goto (from-sip-external,s,3)
-- Executing [s@from-sip-external:3] Set("SIP/5060-00031afb", "CHANNEL(language)=se") in new stack
-- Executing [s@from-sip-external:4] Goto("SIP/5060-00031afb", "from-trunk|040111111|1") in new stack
-- Goto (from-trunk,040111111,1)
-- Executing [040111111@from-trunk:1] Set("SIP/5060-00031afb", "__FROM_DID=040111111") in new stack
-- Executing [040111111@from-trunk:2] Gosub("SIP/5060-00031afb", "app-blacklist-check|s|1") in new stack
-- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/5060-00031afb", "") in new stack
-- Executing [s@app-blacklist-check:2] GotoIf("SIP/5060-00031afb", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:3] Set("SIP/5060-00031afb", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:4] Return("SIP/5060-00031afb", "") in new stack
-- Executing [040111111@from-trunk:3] Gosub("SIP/5060-00031afb", "cidlookup|cidlookup_2|1") in new stack
Note that the call enters the system in from-sip-external then goes to from-trunk where it goes to cidlookup.
[Feb 23 13:10:47] VERBOSE[11079] res_agi.c: dialparties.agi: Starting New Dialparties.agi
[Feb 23 13:10:47] VERBOSE[11079] res_agi.c: dialparties.agi: Caller ID name is ‘unknown’ number is ‘0748103104’
[Feb 23 13:10:47] VERBOSE[11079] res_agi.c: dialparties.agi: Methodology of ring is ‘ringall’
[Feb 23 13:10:43] VERBOSE[11079] pbx.c: – Executing [s@macro-user-callerid:18] Set(“SIP/GXW-PSTN-TRUNK-00000169”, “CALLERID(number)=0748103104”) in new stack
[Feb 23 13:10:43] VERBOSE[11079] pbx.c: – Executing [s@macro-user-callerid:19] Set(“SIP/GXW-PSTN-TRUNK-00000169”, “CALLERID(name)=”) in new stack
[Feb 23 13:10:43] VERBOSE[11079] pbx.c: – Executing [s@macro-user-callerid:20] NoOp(“SIP/GXW-PSTN-TRUNK-00000169”, “Using CallerID “” <0748103104>”) in new stack
[Feb 23 13:10:43] VERBOSE[11079] pbx.c: – Executing [4002@from-did-direct:3] GotoIf(“SIP/GXW-PSTN-TRUNK-00000169”, “0?skipdb”) in new stack
[Feb 23 13:10:43] VERBOSE[11079] pbx.c: – Executing [4002@from-did-direct:4] GotoIf(“SIP/GXW-PSTN-TRUNK-00000169”, “0?skipov”) in new stack
[Feb 23 13:10:43] VERBOSE[11079] pbx.c: – Executing [4002@from-did-direct:5] Set(“SIP/GXW-PSTN-TRUNK-00000169”, “__NODEST=”) in new stack