I know we can change the the AMI settings from Advanced Settings and override it. But if we want do this from file, what file we have to change??? or we have to change it from DB?
amportal.conf worked for old versions, but changing the ASTMANAGERPORT in this files, didn’t helped in version 15.
amportal.conf doesn’t do anything any more. It’s generated by FreePBX for legacy apps that parse that file for info, but is not read by FreePBX to do anything.
You can edit the file /etc/asterisk/manager.conf to change the AMI port and reload/restart asterisk. Then update Advanced Settings to match.