Any way to query the contact manager or phonebook over CLI?

Thanks @lgaetz - Just done a check with the ‘test’ option

Debug is on and set at level: 1
The Original Number: 0739---0843
The Scheme: mobiles
Scheme Type: SINGLEFECTA
Debugging Enabled, will not stop after first result

Scheme Asked is: mobiles
The DID is: 5555555555
The CNUM is: 0739---0843
The CNAME is: CID Superfecta!

Starting scheme mobiles
 Executing Superfecta Cache
Searching Superfecta Cache ...
'Unknown'
result  took 0.0017 seconds.

 Executing Asterisk Phonebook
Searching Asterisk Phonebook ...
'Williams'
result  took 0.0751 seconds.

 Executing FreePBX Contactmanager
'Unknown '
result  took 0.0478 seconds.

 Executing Abandon lookup
Setting CNAM to:Unknown UK Mobile ...
'Unknown UK Mobile'
result  took 0.0004 seconds.

Converting result to UTF-8
Post CID retrieval processing
 Executing Superfecta Cache
CNAM already cached, skipping write.
Done
This scheme would set the caller id to: Unknown

Returned Result would be:Unknown
result took 0.12761116027832 seconds

I’m aware it’s the cache that’s setting the status to unknown, here, but I’m just pointing out that the contact manager search isn’t working.