Page 1 of 1

Connect attempt from 127.0.0.1 in asterisk CLI

PostPosted: Mon Jul 29, 2019 11:56 am
by rajivtech22
Installation Info
--------------------
ViciDial installation - by Scratch. | CentOS 7 | Asterisk 13.21.1 | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Hosted on Amazon AWS LightSail
Open Ports: 22,80,5060(TCP/UDP),10000-20000(UDP)
---------------------

Everything is installed correctly. No errors while installing. Manual dialing is working well.

Problem: In asterisk CLI. I can see an error "Connect attempt from '127.0.0.1' unable to authenticate" I checked manger.conf where password is same in default installation method (cron : 1234). I tried ADMIN_update_cron_pass.pl to update the password to default i.e "1234". Even after all the method i tried i get same error.

Image

Plese guide me how to fix this issue. Thanks

Manager.conf
cat /etc/asterisk/manager.conf
Code: Select all
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
timestampevents = yes

[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user,originate
write = system,call,log,verbose,command,agent,user,originate

[updatecron]
secret = 1234
read = command,reporting
write = command,reporting

eventfilter=Event: CoreShowChannel


[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user,dtmf
write = command

eventfilter=Event: Shutdown
eventfilter=Event: DTMFBegin
eventfilter=Event: DTMFEnd
eventfilter=Event: NewCallerid
eventfilter=Event: Newstate
eventfilter=Event: Hangup
eventfilter=!Event: HangupRequest


[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user,originate

[sipcron]
secret = 1234
read = call
write = command

eventfilter=Event: SIPInvite
eventfilter=Event: SIPResponse

Re: Connect attempt from 127.0.0.1 in asterisk CLI

PostPosted: Tue Jul 30, 2019 2:50 pm
by williamconley
Please include a link to the instruction set you used for installation. This way we can likely find the flaw in the set and (perhaps) others can benefit from your post besides just you.

Consider that 127.0.0.1 is also localhost. CentOS and OpenSuSE and Debian all treat these differently between various packages (localhost vs 127.0.0.1).

It may be that you need to include this IP or localhost in a place where the other presently resides.

Engineers. Dang 'em.

Re: Connect attempt from 127.0.0.1 in asterisk CLI

PostPosted: Wed Jul 31, 2019 9:41 am
by rajivtech22

Re: Connect attempt from 127.0.0.1 in asterisk CLI

PostPosted: Fri Aug 02, 2019 1:33 pm
by rajivtech22
^^^Bump Up