AJAM is the manager interface (AMI) over HTTP.  You can manipulate configuration files via either.    To some extent it just depends on what you'd rather work with.  The following might be useful references.  Among other things you can see an implementation of a specific feature via both AMI (direct) and AJAM:
<br><br>&nbsp; <a href="http://www.the-asterisk-book.com/unstable/manager-interface-ajam.html">http://www.the-asterisk-book.com/unstable/manager-interface-ajam.html</a><br>&nbsp; <a href="http://www.the-asterisk-book.com/unstable/asterisk-manager-api.html">
http://www.the-asterisk-book.com/unstable/asterisk-manager-api.html</a><br><br>-jr<br><br><div class="gmail_quote">On Nov 7, 2007 10:00 AM,  &lt;<a href="mailto:asterisk-gui-request@lists.digium.com">asterisk-gui-request@lists.digium.com
</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">From: Makaru Kitae &lt;<a href="mailto:kmakaru@hotmail.com">kmakaru@hotmail.com
</a>&gt;<br>Subject: [asterisk-gui] Configuration API<br><br>Dear All,<br><br>My application has to manipulate asterisk configuration files, for example, create/edit users and extensions. I see two ways to do this: manager interface and AJAM. Which one should I use? I see 
users.conf example in AJAM. Does it support other files, for example, extensions.conf?<br><br></blockquote></div><br>-- <br>Josh Richards - Grover Beach, California US<br><a href="mailto:josh.t.richards@gmail.com">josh.t.richards@gmail.com
</a> (don&#39;t forget the middle &#39;t&#39; initial when writing)<br><a href="http://blog.joshrichards.org/">http://blog.joshrichards.org/</a><br>805/471-6923 (cell)<br><br>Geek Research (Technology Management Consulting) - 
<a href="http://www.geekresearch.com/">http://www.geekresearch.com/</a><br><br>Support These Nifty Causes: <a href="http://Kiva.org">http://Kiva.org</a> <a href="http://RoomToRead.org">http://RoomToRead.org</a>