[asterisk-users] asterisk fax problem

Oguzhan Kayhan
Tue, 11 Jan 2011 08:38:00 -0000

On Tuesday, January 11, 2011 10:14:28 am Oguzhan Kayhan
wrote:
> Hello,
> I have asterisk 1.6.2.9-2
> I tried to install fax utility as it is shown on pdf documents on asterisk
> site.
>
> I downloaded Opteron compiled res_fax and res_fax_digium files and copied
> to /usr/lib/asterisk/modules/ where default modules directory is.
> I created a free fax license and created license file on asterisk server
> too.
>
> WHen i run asterisk it crashed.
> I noticed that if res_fax.so file is in directory (even with _digium file
> or not) i got error
> already have an application
> 'RECEIVE Fax'   and 'SEND Fax'
> If i remove res_fax.so file from directory asterisk loads but
> i got the following error msgs on debug
> [Jan 11 09:07:03] WARNING[11898]: loader.c:435 load_dynamic_module: Error
> loading module 'res_fax_digium':
> /usr/lib/asterisk/modules/res_fax_digium.so: undefined symbol:
> ast_fax_tech_register
> [Jan 11 09:07:03] WARNING[11898]: loader.c:801 load_resource: Module
> 'res_fax_digium' could not be loaded.
>
> Cam sonebody help me about what is going on :)
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
An update

I didnt restart asterisk after copying res_fax and res_fax_digium files.
Instead i just did module load res_fax
I got following msg.
[Jan 11 09:35:22] NOTICE[12269]: res_fax.c:2526 load_module: Generic FAX
application module version 1.6.2.0_1.2.1, Copyright (C) 2008-2009 Digium, Inc.
[Jan 11 09:35:22] NOTICE[12269]: res_fax.c:2529 load_module: This module is
supplied under a commercial license granted by Digium, Inc.
[Jan 11 09:35:22] NOTICE[12269]: res_fax.c:2530 load_module: Please see the
full license text supplied by the accompanying
[Jan 11 09:35:22] NOTICE[12269]: res_fax.c:2531 load_module:
"register"
utility, or ask for a copy from Digium.
[Jan 11 09:35:22] NOTICE[12269]: res_fax.c:2290 set_config: Configuration file
'res_fax.conf' not found, using default options.
[Jan 11 09:35:22] WARNING[12269]: pbx.c:5085 ast_register_application2:
Already have an application 'SendFAX'
[Jan 11 09:35:22] WARNING[12269]: res_fax.c:2548 load_module: failed to
register 'SendFAX'.

asterisk*CLI> module load res_fax_digium
Loaded res_fax_digium
[Jan 11 09:35:28] NOTICE[12269]: res_fax_digium.c:2495 load_module: Digium FAX
technology module version 1.6.2.0_1.2.1, Copyright (C) 2008-2009 Digium, Inc.
[Jan 11 09:35:28] NOTICE[12269]: res_fax_digium.c:2498 load_module: This
module is supplied under a commercial license granted by Digium, Inc.
[Jan 11 09:35:28] NOTICE[12269]: res_fax_digium.c:2499 load_module: Please see
the full license text supplied by the accompanying
[Jan 11 09:35:28] NOTICE[12269]: res_fax_digium.c:2500 load_module:
"register"
utility, or ask for a copy from Digium.
[Jan 11 09:35:28] NOTICE[12269]: res_fax_digium.c:2503 load_module: This
product includes software developed by the OpenSSL Project
[Jan 11 09:35:28] NOTICE[12269]: res_fax_digium.c:2504 load_module: for use in
the OpenSSL Toolkit. (http://www.openssl.org/)
[Jan 11 09:35:28] NOTICE[12269]: res_fax_digium.c:2505 load_module: Copyright
(C) 1998-2008 The OpenSSL Project

  == Adding single Free FAX For Asterisk license



But if i restart asterisk, it hangs again. I remove res_FAx.so and it can be
started again.
But now i can not load res_Fax_digium module.


then i ran following command :