On May 15, 2005, at 7:34 pm, Joseph wrote:

I would like to compile an additional application to asterisk:
NVBackgroundDetect to detect incoming faxes.

Hi,

Is this necessary for all Asterisk installations to detect incoming faxes, or just for some FXO (??) cards?
Is there a good reason this shouldn't be part of all Asterisk installs?


The instructions are very straight forward (if I was using CVS):

(1) Drop the code in your /usr/src/asterisk/apps directory (two files:
NVBackgroundDetect.c and
NVFaxDetect.c
(2) Edit the Makefile in the apps directory. Add the following line:
    APPS+=app_nv_backgrounddetect.so
(3) Go to /usr/src/asterisk and run "make", then run "make install"

Though, I'm not sure who to do it with an ebuild; I would like to stay
with Gentoo ebuild version but I need to compile-in the
NVBackgroundDetect.

What is the best way of doing it?

It's pretty easy to do in the ebuild; I'm no ebuild expert, but I dare say it wouldn't take me more than 30 or 45 minutes (stop laughing!) to work out where to add the couple of extra lines required.


In the first instance you should copy the original Asterisk ebuild into /usr/local/portage/category/asterisk and get it working there. If you want to stay with the Gentoo ebuild version you should file a feature request with your patches at bug.gentoo.org. If NVBackgroundDetect is not suitable for all Asterisk installations then a local USE flag would be appropriate.

Stroller

--
gentoo-user@gentoo.org mailing list



Reply via email to