Updating Asterisk Modules with out updating the entire installation

Dear all,
i am currently running on Asterisk 13.12.1 and i wanted to update to the latest update of 13.
The reason is that i require a specific functionality mentioned here made available on a later update than the one i am on now that allows CHANNEL(callid) to return the call identifier in the dial plan.


I was wondering if i could simply overwrite /usr/lib/asterisk/modules/func_channel.so with a newer version of it as i don’t want to risk updating the entire system and having config files over written etc. (build it on a similar spec system and copy it over).

You can apply the patch to the source code of Asterisk 13.12.1, configured as per your binary installation, and then just install that module. Otherwise you are going to have to carefully look at he source code to be sure that it doesn’t use any structure that have changed…

I don’t think an end user forum can really advise you on whether such a hack is safe. The general advice would be not to do it.

1 Like