[asterisk-users] installing * from source

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Jul 8 04:45:10 CDT 2007


On Sun, Jul 08, 2007 at 11:16:09AM +0300, Dovid B wrote:

> I was actually thinking of creating a script that you download and it preps 
> your system for an asterisk install and it does everything for you. It can 
> also have an option to run as a cron job and update nightly. The issue is 
> that you cant just update some ones phone system if they are using it. So 
> you would need like and email or sms sent to the user telling him to run the 
> update script. What do others think of this idea ?

How can you test the new version beforehand to know that it works well?

Solution: prepare a package of Asterisk in your own repository. Build it
on one system when the a new version is released. Test it. Update the
repository after you've done testing.

Updating a system nightly from a repository is a ewll-known problem with
many solid solutions for various requirements. E.g: cron-apt on Debian.


A such a script (in the pkg-voip repository)

  svn update
  
  # if there is a new version: update debian/changelog, and:
  debian/rules get-orig-source
  svn-buildpackage -rfakeroot -uc -us --svn-lintian

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list