Struggling a bit with this, trying to get the cidlookup working. After trawling here and the net I'm still at a loss. I am running freeswitch 1.10 and ubuntu 9 and fusuionpbx 4.4.11. Have enabled the cidlookup in the dial plan and moved it up to position 099 for good measure but no results back at all, the debug logs don't seem to give much away, I have seen some different sql for the lua so copied that and restarted - no joy, ensured the number matches the contact created in the contacts module, before i start hacking the script with debug outputs does anyone have any pointers?