Note: if you use CHAN_SIP extensions or if you use PJSIP and you do not set Max Contacts to something greater than 1, there are zero issues with any of these commands to my knowledge.
--edge version of the Endpoint module (18.104.22.168) works for everything except removing an existing config via
fwconsole for pjsip endpoints with max endpoints set greater than 1.
The command changed from
fwconsole epm to
fwconsole endpoint but works.
Adding the mapping, does not create the file. it is the same as adding the device in the GUI and choosing only the “Save” option.
Note, it does show green, even though there is no configuration file.
Using the rebuild command from fwconsole generates the file, but as the root user. This will cause the web GUI to blow up if you try to rebuild it form there in the future.
If you tell it to rebuild the file as the asterisk user, it does create it correctly.
This is the only bit that is a problem still. When you use the remove command, it does remove the mapping, but it does not delete the config file.
In the web interface, there is a similar issue with this. If you choose delete frorm the main list of endpoints, it will only delete the mapping, but not the config file.
If you instead go into the extension mapping, there is a Delete and remove config option instead.
This is the only official in way to move a config file with either the GUI or
fwconsole right now.