So I explained in an earlier blog entry how to compile freeswitch. But after you've done it the first time, how do you update it later? If ever you need to get help from the Freeswitch team they will require you to be on the latest git. The steps are similar but shorter.
cd /usr/local/src/freeswitch
git pull
This will bring down the latest git from the repository
make current
This will upgrade the freeswitch that is on your harddrive but will not touch the freeswitch instance currently running in memory. When it has completed the upgrade you can schedule a time to restart FreeSWITCH so that it begins to run the freshly compiled version.
You might get errors as I did - these were the errors I received:
You might get errors as I did - these were the errors I received:
make[5]: *** [mod_opal.lo] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_opal-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
In my case, I wasn't too concerned about the opal module as I don't actually need that functionality, so I just edited modules.conf again and commented out the opal module. If you can't comment out any modules you have an issue with then you might need to get help from the FreeSWITCH irc channel. After correcting errors, you can try to make again in the same way as before.
Once it has completed successfully you can choose your time to restart freeswitch.