Originate Function Call Problem

Gertrudis's picture

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

Connect attempt from 127.0.0.1 unable to authenticate

the ip where asterisk is on is: 10.0.1.3
All setting are default for asterisk and the Originate function:
$strHost = "10.0.1.3";
$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:

manager_additional.conf
manager_custom.conf

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.


__________________


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Check that manager.conf

mickecarlsson's picture

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

[admin]
secret = amp111
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user

Add originate:

[admin]
secret = amp111
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user,originate
write = system,call,log,verbose,command,agent,user,originate

Then reload asterisk


__________________

Mikael Carlsson
(I am off-line, tinkering with my Chevy and my radios, don't know when I will be back)


Thanks a lot Mike

Gertrudis's picture

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