No Script Configured for URL 'AGI://localhost/xxx.agi'

Getting the below error when trying to initiate call.

AGI Rx << VERBOSE “No script configured for URL ‘AGI://localhost/xxx.agi’ (script ‘xxx.agi’)” 1

Can anyone help me to resolve this error.

Thanks

Remove AGI line from the dialplan.