Hi Kevin, I need I little bit of help again. 

I have installed in my PC for testing the last available version  of asterisk 
for testings. And I am using easyeclipse with cdt plugin to create a C project 
and compile the app_skel.c source file from the asterisk-1.4.18.1.  (GCC 4.1.3) 

I noticed some compilation problems:
- load_module and unload_module can't be static.
- AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Skeleton (sample) Application") 
at the bottom need to be commented. error:  ‘AST_MODULE’ doesn't be declared 
here (not a function). 

This is rare, because if do Ctrl + Click over AST_MODULE_INFO_STANDARD, the 
eclipse brings me to module.h file where is the #define clause.

Making the necessary changes it compile but when I try to load the module in 
the CLI it returns this message

[Mar 28 18:03:47] WARNING[18665]: loader.c:376 load_dynamic_module: Module 
'app_skel.so' did not register itself during load
[Mar 28 18:03:47] WARNING[18665]: loader.c:649 load_resource: Module 
'app_skel.so' could not be loaded.

Any Ideas?

best regards.
---- Mensaje original ----
De: Kevin P. Fleming <[EMAIL PROTECTED]>
Para: Asterisk Users Mailing List - Non-Commercial Discussion 
<[email protected]>
Enviado: martes 25 de marzo de 2008, 13:59:13
Asunto: Re: [asterisk-users] Application registration on Asterisk 1.4 and 1.6?

jonas boering wrote:

> Hi Kevin I've just arrived from my holidays I have reviewed my emails
> and saw that for some reason most part of my last message appears to be
> cut off.
> 
> Continuing with the previous discussion, can you provide an example
> skeleton code of how the new registration way works on asterisk 1.4 and 1.6?

Of course... it's already present in the tree, amazingly it is even
called 'app_skel.c'.

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users






      Tarjeta de crédito Yahoo! de Banco Supervielle.
Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. 
www.tuprimeratarjeta.com.ar 
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to