<!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.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=419584121-02062006><FONT face=Arial color=#0000ff
size=2>Bruce,</FONT></SPAN></DIV>
<DIV><SPAN class=419584121-02062006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419584121-02062006><FONT face=Arial color=#0000ff size=2>But,
if you have three servers that function the same, don't you have to check the
file out three times and check it back in three times?</FONT></SPAN></DIV>
<DIV><SPAN class=419584121-02062006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=419584121-02062006><FONT face=Arial color=#0000ff
size=2>Doug.</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Bruce Reeves
[mailto:asterisk@nortex-networks.com]<BR><B>Sent:</B> Friday, June 02, 2006
3:34 PM<BR><B>To:</B> Asterisk Users Mailing List - Non-Commercial
Discussion<BR><B>Subject:</B> Re: [Asterisk-Users] Config Revision
Control<BR><BR></FONT></DIV>I use subversion on a central server and then
store each server that is different. The purpose behind it for me was 2 fold,
first I have a backup of my configs centeralized and I can roll-back any
changes. Second, I can checkout a servers files on a different machine to edit
them if I want and check them back when finished. What I meant by file-level
is if I edit sip.conf and check it in then the whole svn goes to a new
version, not just that file. We use a M$ product that has version control at
the file level, so for each file in the library there is a version history.
<BR><BR>
<DIV><SPAN class=gmail_quote>On 6/2/06, <B class=gmail_sendername>Douglas
Garstang</B> <<A
href="mailto:dgarstang@oneeighty.com">dgarstang@oneeighty.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Bruce,</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Do you run a subversion
client on every Asterisk box, and get the files directly, or do run the
subversion client on a single central server, and distrubute them from
there?</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Doug.</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid">
<DIV dir=ltr align=left><FONT face=Tahoma size=2></FONT></DIV>
<DIV><SPAN class=q><FONT face=Tahoma size=2>-----Original
Message-----<BR><B>From:</B> Bruce Reeves [mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:asterisk@nortex-networks.com"
target=_blank>asterisk@nortex-networks.com</A>]<BR><B>Sent:</B> Friday,
June 02, 2006 3:03 PM<BR><B>To:</B> Asterisk Users Mailing List -
Non-Commercial Discussion<BR></FONT></SPAN></DIV>
<DIV><SPAN class=q><FONT face=Tahoma size=2><B>Subject:</B> Re:
[Asterisk-Users] Config Revision Control<BR><BR></FONT></SPAN></DIV>
<DIV></DIV></BLOCKQUOTE></DIV>
<DIV><SPAN class=q>I setup a subversion server and a trunk for my different
server configs. You might look at that, it does not appear to keep file
level versions, but it works great here.<BR><BR><BR><BR></SPAN></DIV>
<DIV>
<DIV></DIV>
<DIV><SPAN class=q><SPAN class=gmail_quote>On 6/2/06, <B
class=gmail_sendername>Douglas Garstang</B> <<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:dgarstang@oneeighty.com"
target=_blank>dgarstang@oneeighty.com</A>> wrote:</SPAN> </SPAN></DIV>
<DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"></BLOCKQUOTE></DIV>
<DIV><SPAN class=q>
<DIV>
<DIV text="#000000" bgcolor="#ffffff">
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Has anyone got any neat
solutions for Asterisk .conf file revision control?</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>We have multiple Asterisk
boxes here, that we'd like to maintain a _mostly_ common set of conf files
on. They aren't all the same though. There's subtle differences. For
example, in sip.conf, iax.conf etc, the bindaddr setting is different.
Dundi.conf is very different between each system.</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>At the moment I have a file
tree on a separate server, and I use the m4 processor to replace certain
unique sections of the files. I have a bunch of scripts to build sip.conf
etc and then rsync the files out to the servers. It works, mostly, but it
isn't elegant.</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>I'd like to revision
control all this. I don't know how it could be done with revision control
though. As I said, not all the files are the same. I don't know if we'd run
a version control client on each Asterisk box, or if we'd run it centrally,
and then use rsync again, to copy the files out.</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>Doug.</FONT></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV></DIV></DIV><BR></SPAN></DIV>
<DIV><SPAN
class=q>_______________________________________________<BR>--Bandwidth and
Colocation provided by <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://Easynews.com" target=_blank>Easynews.com</A> --
<BR><BR>Asterisk-Users mailing list<BR>To UNSUBSCRIBE or update options
visit:<BR> <A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR><BR><BR></SPAN></DIV>
<DIV></DIV><BR><BR clear=all><BR>-- <BR>Bruce<BR>Nortex Networks
</DIV></DIV><BR>_______________________________________________<BR>--Bandwidth
and Colocation provided by <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://Easynews.com" target=_blank>Easynews.com</A> --
<BR><BR>Asterisk-Users mailing list<BR>To UNSUBSCRIBE or update options
visit:<BR> <A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.digium.com/mailman/listinfo/asterisk-users"
target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A><BR><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Bruce<BR>Nortex Networks </BLOCKQUOTE></BODY></HTML>