Allow remote server to access AMI

I am attempting to allow server A to access the AMI of a remote server B. It has the right AMI password, username and port 5038 is forwarded. HOwever withing the asterisk logfiles of server B I am seeing

acl.c: Manager User ACL: Rejecting ‘XX.XXX.XXX.XXX’ due to a failure to pass ACL ‘(BASELINE)’
[2018-02-16 15:38:20] NOTICE[29526] manager.c: XX.XXX.XXX.XXX failed to pass IP ACL as ‘admin’
[2018-02-16 15:38:20] NOTICE[29526] manager.c: XX.XXX.XXX.XXX failed to authenticate as ‘admin’

XX.XXX.XXX.XXX being Server A

Do I need to access etc/asterisk/manager.conf and change the allow field? Thanks

you should create a stanza in manager_custom.conf that reflects your servers location and needs, the admin manager can only connect from localhost


No need to edit conf file(s):

1 Like

I ended up accessing etc/asterisk/manager.conf and added an allow=line where I put the WAN IP of the server along with the subnet.

I never realized that Asterisk Manager module was there!

Thank you both! It works great now.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.