Is /usr/lib/asterisk/modules/chan_sip.so in the package for Asterisk 1.6.2.5 on Ubuntu 10.04 LTS (Lucid) customized (e.g., to the specifics of running on Ubuntu; customized based on what other packages are installed on Ubuntu, etc.)?
More specifically, I need to replace /usr/lib/asterisk/modules/chan_sip.so on the telephony machine (mentioned above - i.e. with Asterisk installed via the apt-get install asterisk package) with one that is patched to work with my router.
I created the patched chan_sip.so, by downloading the Asterisk 1.6.2.5 source tar file to a different development machine which is identical to my telephony server but with the exception that none of the asterisk or asterisk-related packages have been installed on that development machine. I applied the patch to chan_sip.c and I also added the ilibc codec on the development machine. I then compiled and installed Asterisk on the development machine thereby creating the patched chan_sip.so.
Can I just swap the standard /usr/lib/asterisk/modules/chan_sip.so file that was installed by the asterisk package on the telephony server with the one that I patched and manually compiled and installed on the development machine? In other words, is there anything specific to the chan_sip.so file in the asterisk package or is it changed in any way during install of other Asterisk-related packages?
Also, I would like to be able to use the ilibc codec. Does the Ubuntu asterisk package have the ilibc codec installed and active or do I need to copy over files from the development machine that I manually compiled and installed with the ilibc codec? Would I just need to copy over the codecs/codec_ilbc* files and codecs/ilbc directory from the development machine to somewhere on the telephony server?
Thanks