Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I add my custom module? #8

Open
umair-khokhar opened this issue Jan 19, 2018 · 5 comments
Open

How can I add my custom module? #8

umair-khokhar opened this issue Jan 19, 2018 · 5 comments

Comments

@umair-khokhar
Copy link

umair-khokhar commented Jan 19, 2018

Hi there,

Is it possible for me to include my custom module in this container? Where should I put the module code files?

@lylepratt
Copy link
Contributor

There's no "built-in" way to do this with any tooling already in this repo, however you could probably do it yourself. You would need to modify the appropriate config files as well as this script: https://github.com/BetterVoice/freeswitch-container/blob/master/build/install-deps.sh

What module are you wanting to add?

@thomasquintana
Copy link
Contributor

You can just create a container with freeswitch-container as your starting point. Everything should be located in /var/lib/freeswitch if I recall correctly. The directory structure should be the usual FS directory structure.

@umair-khokhar
Copy link
Author

@lylepratt apologies for late response. Thank you for the answer. I am developing a custom module that will help me put some info on the freeswitch console.

@thomasquintana this means I can put my custom module code in /var/lib/freeswitch and it will get compiled?

@thomasquintana
Copy link
Contributor

Ahh... I see what you're trying to do. I believe the source which you can use to compile your module is in /usr/src/freeswitch. Then, recompile and sudo make install should do it.

@umair-khokhar
Copy link
Author

@thomasquintana I tried doing it by mounting /usr/src/freeswitch to a local directory and the local directory remained empty. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants