How to edit wanpipe1.conf?

To edit the wanpipe*.conf files in /etc/wanpipe/ and have the changes stick through a restart simply do the following.

  1. Edit /etc/wanpipe/global.conf and comment every line by placing a “#” in front of each line.
  2. Edit /etc/wanpipe/wanpipe*.conf files and make the changes you would like to do.
  3. Run “amportal stop”
  4. Run “wanrouter start”
  5. Run “amportal start”

You can now check /etc/wanpipe/wanpipe*.conf and the files will not have been overwritten as they previously were.

If you would like to make changs from the FreePBX webUI then simply reverse the producure in step #1 above and follow steps 2-5, then make the changes you wish in the webUI then follow steps 1-5 again.

If there is any questions please make a ticket at support.sangoma.com referencing this post.