I’m having trouble with my asterisk config files generated by FreePBX. I have 5 IAX trunks set up (both incoming and outgoing) and something somewhere is appending details to the config that I haven’t set in the GUI, but only if they have a certain name. For example, if I make a trunk called TRUNK_TEST, the following appears in my iax_additional.conf:
[OUT_TEST]
host=provider ip address
username=userid
secret=password
type=peer
context=from-trunk-iax2-OUT_TEST
[IN_TEST]
secret=password
type=user
context=from-trunk
(n.b.: I left the peer details as the default).
This is what I would expect to happen. If however I change the names of the incoming/outgoing trunks to ones that I previously had set in my system (e.g. IN_phonenumber) then my parameters in my trunk settings are ignored and replaced with seemingly global values. E.g.:
[IN_01753279927]
secret=[redacted]
type=user
context=from-trunk
requirecalltoken=no
[OUT_01753279927]
host=iax-lb.gradwell.net
username=[redacted]
secret=[redacted]
type=peer
The redacted usernames and passwords above ARE settings I previously used - a password change was enforced and now I am unable to change my passwords for my trunks in the web GUI.
Any ideas what’s overriding this?