[asterisk-users] Faxing: Anyone have a compiled executable?
Steve Totaro
stotaro at first-notification.com
Sat Jan 16 12:32:59 CST 2010
On Sat, Jan 16, 2010 at 1:16 PM, Mr. James W. Laferriere <
babydr at baby-dragons.com> wrote:
> Hello Kevin & All ,
>
> On Sat, 16 Jan 2010, Kevin P. Fleming wrote:
> > Doug wrote:
> >> >>>app_fax.c from:
> >> >>>
> >> >>>
> https://agx-ast-addons.svn.sourceforge.net/svnroot/agx-ast-addons/trun
> >> >>>k/app-spandsp/
> >>
> >> Compiled OK:
> >> /usr/src/asterisk/app_fax# ls -lta app_fax.*
> >> -rwxr-xr-x 1 root root 28869 Jan 13 00:25 app_fax.so
> >> -rw-r--r-- 1 root root 25242 Jan 13 00:24 app_fax.c
> >>
> >> Copied to modules directory:
> >>
> >> cp -p app_fax.so /usr/lib/asterisk/modules/
> >>
> >> There it is:
> >>
> >> ls -lta /usr/lib/asterisk/modules/app_fax*
> >>
> >> -rwxr-xr-x 1 root root 28869 Jan 16 02:10
> >> /usr/lib/asterisk/modules/app_fax.so
> >>
> >> Added a specific line in /etc/asterisk/modules.conf:
> >>
> >> load => app_fax.so
> >>
> >> Rebooted. No module loaded:
> >>
> >> # lsmod | grep fax
> >> #
> >
> > app_fax is not a kernel module, it's an Asterisk module. 'lsmod' is
> > never going to show it.
>
> Kevin , Sometimes your about as helpful as passing wind .
>
> How about telling him howto determine if Asterisk has loaded the
> module
> successfully ?
>
> Maybe even a grep of /var/log/asterisk/debug or
> /var/log/asterisk/messages for app_fax . Would have helped him more than
> that
> comment . Sorry that reply just really rubbed me wrong .
>
> I've found a 'visual only' way of seeing loaded modules under
> Asterisk
> 1.4.21.2 ...
>
> module reload ? < Should show those modules available for reload ,
> So
> I expect they have been loaded successfully .
>
> Here's something that would be good a 'module show loaded' command
> showing the user the successfully loaded moduels !?
>
> Hth , JimL
> --
> +------------------------------------------------------------------+
> | James W. Laferriere | System Techniques | Give me VMS |
> | Network&System Engineer | 3237 Holden Road | Give me Linux |
> | babydr at baby-dragons.com | Fairbanks, AK. 99709 | only on AXP |
> +------------------------------------------------------------------+
>
> Try loading or reloading the module from the Asterisk CLI and see if it
complains. Then check /var/log/asterisk/full or whatever.
You could try module show like and hit tab, if app_fax.so is not listed, it
isn't loaded. Version 1.6, not sure if it works in 1.4.
Thanks,
Steve T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100116/88241a00/attachment.htm
More information about the asterisk-users
mailing list