How to define an Asterisk module by function name

Asterisk has a nice function PITCH_SHIFT, which can modify caller’s/callee’s voice. Let’s imagine, we have a system without autoloaded modules, and we need to find which module provides this function.

1. Go to the astmoddir (I have a Debian system):

cd /usr/lib/asterisk/modules

2. Find.

root@voiprouter1:/usr/lib/asterisk/modules# grep PITCH *
Binary file matches

3. We can also find the dependencies:

root@voiprouter1:/usr/lib/asterisk/modules# ldd => (0xb776e000) => /lib/i386-linux-gnu/i686/cmov/ (0xb7747000) => /lib/i386-linux-gnu/i686/cmov/ (0xb75e4000)
/lib/ (0xb776f000)

4. That’s it! Thanks to meral.

0 Responses to “How to define an Asterisk module by function name”

Comments are currently closed.