# Modifying config files

**URL:** <https://community.asterisk.org/t/modifying-config-files/89566>\
**Category:** Asterisk Support\
**Created:** [August 17, 2021, 9:14am UTC](https://community.asterisk.org/t/modifying-config-files/89566 "2021-08-17T09:14:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zrabid](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/zrabid/32/5250_2.png) [@zrabid](https://community.asterisk.org/u/zrabid)\
**Post date:** [August 17, 2021, 9:14am UTC](https://community.asterisk.org/t/modifying-config-files/89566/1 "2021-08-17T09:14:13Z")

</div>

Its very daunting to go and edit sip.conf/ extensions.conf file for trial and learning basis.

so did anyone ever build something like a php file that could modify the extensions.conf or sip.conf file? or is there any shortcut way without getting ssh into the server and using vim/nano bla bla bla?

---

<div class="post-metadata">

**Author:** ![david551](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@david551](https://community.asterisk.org/u/david551)\
**Post date:** [August 17, 2021, 10:11am UTC](https://community.asterisk.org/t/modifying-config-files/89566/2 "2021-08-17T10:11:40Z")

</div>

FreePBX does this, but it is not a general purpose dialplan editor, but rather edits it within very strict constraints and to implement a higher level abstraction.

The CLI can also be used to add or replace individual lines. I can’t remember if AMI can do the same.

You could arrange to access the file as a Windows share or via NFS.

---

<div class="post-metadata">

**Author:** ![zrabid](https://sea1.discourse-cdn.com/asterisk/user_avatar/community.asterisk.org/zrabid/32/5250_2.png) [@zrabid](https://community.asterisk.org/u/zrabid)\
**Post date:** [August 17, 2021, 11:15am UTC](https://community.asterisk.org/t/modifying-config-files/89566/3 "2021-08-17T11:15:35Z")

</div>

Got your point david. Thank you so much!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [September 16, 2021, 11:15am UTC](https://community.asterisk.org/t/modifying-config-files/89566/4 "2021-09-16T11:15:41Z")

</div>

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