[Asterisk-Dev] Make question

John Harragin jharragi at mw.k12.ny.us
Mon May 19 11:04:51 MST 2003


I am tinkering with a rebuild script for asterisk and have a couple of
questions.

I have been unloading modules, re-making zaptel then reloading modules
first, then making libpri and asterisk. I have assumed asterisk has
dependancy on zaptel. My question is this, can asterisk be made to be made
off /usr/src/zaptel (or does it need to be made against a loaded module)? If
so, any suggestions? I would like to minimize downtime by doing something
like (leaving out cds, clean option...):

make zaptel
make libpri ; make asterisk (using /usr/src/zaptel for deps)

# this next line may have to go after the - make install zaptel
make install libpri ; make install asterisk

# do some stuff to see how busy * is here before preceeding...
# stop asterisk here: asterisk -rx 'stop gracefully/now'

/sbin/modprobe -r all_the_zap_modules
make install zaptel
/sbin/modprobe all_the_zap_modules

# start asterisk back up... # If all went well I've down just a few seconds
asterisk

Thanks,

John


This e-mail was scanned and found clean by Monroe-Woodbury CSD Antivirus.




More information about the asterisk-dev mailing list