Curl Function

Ok guys, I’m at a bit of a loss. All of my PBX’s have Curl installed and they all have the function available. However I have one box that is a hosted box that has curl installed but curl is “unregistered”.

The box is Ubuntu running kernel 2.6.24-23
I’m running asterisk 1.4.26
I’m doing a CNAM lookup using CURL and this is the CLI error I get ast_func_read: Function CURL not registered. and when I run core show function CURL its says “No function by that name registered”.

I’ve been reading and it looks like I have to recompile it with curl enabled. However I installed asterisk from the ubuntu repositories. apt-get install ubuntu. Now I’ve downloaded the tar ball from for 1.4.26 but I’m not sure if I should compile off of that. I’m really not sure what to do at this point because this is a production box, I can’t afford to screw it up.

I did upgrade asterisk from the ubuntu repository. apt-get upgrade asterisk. However it made no change and I can’t restart asterisk until tonight when everyone is off.

Any help would be appreciated.