<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.2666" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial size=2>I'm stuck writing a
Web GUI because nothing out there is exactly what I need. I'm not writing
something as extensive as what _is_ out there, but just something that allows
users to change where their calls are forwarded and other small things like
that.</FONT></SPAN></DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial size=2>What I wanted to
know is what is recommended by those you successfully wrote their own UI
:</FONT></SPAN></DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial size=2>1) Modifying the
config directly in the Asterisk RealTime DB and and use Asterisk
Realtime? This seems like the obvious choice, but I have a bad feeling
about this method...especially with respect to future changes I would make to my
UI or that the Asterisk dev team would make to their own tables /
code</FONT></SPAN></DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial size=2>2) Using custom
tables I make up myself, and querying that DB with the MySQL
command directly in the .conf files (or Realtime asterisk for that
matter)(<A
href="http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+MYSQL">http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+MYSQL</A>)
?</FONT></SPAN></DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial size=2>Any input is
appreciated...I really don't want to start on the wrong foot. Option 2
looks better (less dependent on Asterisk not changing from version to
version) but I feel it'll make a mess out of the code. While Option 1
looks like it'll be messy because I have to adapt to the Realtime DB
format in my PHP code, but at least the Asterisk code will be
clean.</FONT></SPAN></DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial size=2>Really, opinons
based on anecdotes would help me.</FONT></SPAN></DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2>Mike</FONT></SPAN></DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=078074315-14062006><FONT face=Arial
size=2></FONT></SPAN> </DIV></BODY></HTML>