I’ve run into an issue where I want to pull CNAM info from my CRM platform. However, I’m running into an issue where if the CRM comes back as blank, because the customer isn’t in the database, the FreePBX install doesn’t revert back to the initial CNAM given by the trunk.
Is there a way I can bring that information back?
I’m doing the CRM lookup with Caller ID Lookup Sources (https)
If the CNUM is in the CRM database it comes back with our name for the customer.
11818 [2026-05-01 14:22:39] VERBOSE[2074666][C-00000f40] pbx.c: Executing [cidlookup_1@cidlookup:1] Set("PJSIP/callcentric-00006e33", "CURLOPT(httptimeout)=7") in new stack
11819 [2026-05-01 14:22:39] VERBOSE[2074666][C-00000f40] pbx.c: Executing [cidlookup_1@cidlookup:2] Set("PJSIP/callcentric-00006e33", "CALLERID(name)=CALLER%20WIRELESS") in new stack
11820 [2026-05-01 14:22:39] VERBOSE[2074666][C-00000f40] pbx.c: Executing [cidlookup_1@cidlookup:3] Set("PJSIP/callcentric-00006e33", "CALLERID(name)=CALLER%20WIRELESS") in new stack
11821 [2026-05-01 14:22:39] VERBOSE[2074666][C-00000f40] pbx.c: Executing [cidlookup_1@cidlookup:4] Set("PJSIP/callcentric-00006e33", "CALLERID(name)=Jane Doe") in new stack
11822 [2026-05-01 14:22:39] VERBOSE[2074666][C-00000f40] pbx.c: Executing [cidlookup_1@cidlookup:5] Return("PJSIP/callcentric-00006e33", "") in new stack
If the CNUM is NOT in the CRM database it comes back as blank (Says unknown in the logs) even though the trunk provided a CNAM from the carrier.
13627 [2026-05-01 13:38:03] VERBOSE[2064917][C-00000f39] pbx.c: Executing [cidlookup_1@cidlookup:1] Set("PJSIP/callcentric-00006e18", "CURLOPT(httptimeout)=7") in new stack
13628 [2026-05-01 13:38:03] VERBOSE[2064917][C-00000f39] pbx.c: Executing [cidlookup_1@cidlookup:2] Set("PJSIP/callcentric-00006e18", "CALLERID(name)=JOHN%20DOE") in new stack
13629 [2026-05-01 13:38:03] VERBOSE[2064917][C-00000f39] pbx.c: Executing [cidlookup_1@cidlookup:3] Set("PJSIP/callcentric-00006e18", "CALLERID(name)=JOHN%20DOE") in new stack
13630 [2026-05-01 13:38:03] VERBOSE[2064917][C-00000f39] pbx.c: Executing [cidlookup_1@cidlookup:4] Set("PJSIP/callcentric-00006e18", "CALLERID(name)=") in new stack
13631 [2026-05-01 13:38:03] VERBOSE[2064917][C-00000f39] pbx.c: Executing [cidlookup_1@cidlookup:5] Return("PJSIP/callcentric-00006e18", "") in new stack`
Thank you!