Configure the external ip on asterisk

Good morning, I have a problem with my asterisk in which I cannot register in the trunk.

I have changed my internet provider and in the packages they continue to send the public ip of the old internet provider.

Where is the public ip configured in asterisk to try to change the configuration and check that everything works correctly?

thanks

In the relevant transport section in pjsip.conf (or for chan_sip, the general section in sip.conf). NB these files are managed by FreePBX and you should change them through the GUI, or, if using custom transports, for chan_pjsip, in the relevant custom .conf file.

For the GUI settings see:

https://wiki.freepbx.org/display/FPG/Asterisk+SIP+Settings+User+Guide#AsteriskSIPSettingsUserGuide-ExternalAddress

Can it be configured in any way so that when the internet provider is changed, the ip updates automatically? or do I need to come here to change it manually?

FreePBX does not have a native way to update this IP address automatically.

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