Originate Function Call Problem

I’ve been using the Originate to try to make a web call:
but the error:

Connect attempt from unable to authenticate

the ip where asterisk is on is:
All setting are default for asterisk and the Originate function:
$strHost = “”;
$strUser = “admin”;
$strSecret = “amp111”;
$strChannel = “SIP/300”;
$strContext = “from-internal”;

I check on manager.conf and admin and Secret are ok.

but the two file that the asterisk is checking(it says found)but are empty:


I’m missing something on this 2 files or i have to make other setting.

Asterisk and freepbx are working OK and I can make phone call from Lite Phone and Hard phone too.

Thanks in advance.

Check that manager.conf contains the word originate
This is the “standard” manager.conf:

secret = amp111
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

Add originate:

secret = amp111
read = system,call,log,verbose,command,agent,user,originate
write = system,call,log,verbose,command,agent,user,originate

Then reload asterisk

It Work excellent, But it is only one user doesn’t matter how many station do I have?