AGI NOT INSTALLED notification

I am upgrading from asterisk 1.2 to asterisk 1.4. I copied the configuration files from the asterisk folder, and i can register on the server.
BUT, when i try to call, i got the error that ‘/var/lib/asterisk/agi-bin/dialparties.agi’ wasn’t in the folder. So i copied the file from the 1.2 server. Now i get the error: k

-- Executing [s@macro-dial:1] AGI("SIP/510-103e91a0", "dialparties.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi dialparties.agi: Asterisk::AGI NOT INSTALLED - see documentation

What can i do now? I don’t find much things on google about this subject…