Michael Iedema
2006-May-08 04:47 UTC
[Asterisk-Users] app_wakeme.c (Wake-up Call Manager) v0.1.0 released
Greetings, I'm releasing my first attempt at Asterisk development in hopes of gathering a bit of feedback. It's just a wake-up call manager but, seeing as the only one I was able to find was a php-agi script, perhaps an actual app will be useful to someone. Anyway, here's the details. Features: * User can set / cancel wake-up calls for their extension * Option to snooze is presented during the actual wake-up call * Month / Year / Leap-Year changes are accounted for Todo: * Account for time-zone differences between caller and PBX * Account for daylight savings time changes * Abstract / redo the prompting to account for word order differences in different languages * Implement both new and old loaders...currently we're developing for trunk only !! As the last point implies, this first version is only intended for users of trunk Ok, enough show. The code is available from our freshly installed, still not perfect, website at: https://tk-labor.dyndns.org:8443/pub/?q=node/1 --Michael I.
Mimmus
2006-May-08 05:23 UTC
[Asterisk-Users] app_wakeme.c (Wake-up Call Manager) v0.1.0 released
Any help? # gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -DZAPTEL_OPTIMIZATIONS -fomit-frame-pointer -fPIC -c -o app_wakeme.o app_wakeme.c app_wakeme.c: In function `app_exec': app_wakeme.c:101: error: dereferencing pointer to incomplete type app_wakeme.c:101: error: dereferencing pointer to incomplete type app_wakeme.c:101: error: dereferencing pointer to incomplete type app_wakeme.c:104: warning: passing arg 3 of `scandir' from incompatible pointer type app_wakeme.c: In function `unload_module': app_wakeme.c:399: error: dereferencing pointer to incomplete type app_wakeme.c:399: error: dereferencing pointer to incomplete type app_wakeme.c: At top level: app_wakeme.c:418: error: conflicting types for 'description' ../include/asterisk/module.h:75: error: previous declaration of 'description' was here app_wakeme.c:418: error: conflicting types for 'description' ../include/asterisk/module.h:75: error: previous declaration of 'description' was here app_wakeme.c:423: error: conflicting types for 'key' ../include/asterisk/module.h:92: error: previous declaration of 'key' was here app_wakeme.c:423: error: conflicting types for 'key' ../include/asterisk/module.h:92: error: previous declaration of 'key' was here app_wakeme.c: In function `_build_callfile': app_wakeme.c:438: warning: function returns address of local variable app_wakeme.c: In function `_file_filter': app_wakeme.c:459: warning: return makes integer from pointer without a cast app_wakeme.c: At top level: app_wakeme.c:462: warning: type defaults to `int' in declaration of `STD_MOD1' app_wakeme.c:462: warning: data definition has no type or storage class app_wakeme.c:64: warning: '_has_wakeup' declared `static' but never defined make[1]: *** [app_wakeme.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk-1.2.7.1/apps' make: *** [subdirs] Error 1
AR Tarzi
2006-May-09 22:49 UTC
[Asterisk-Users] app_wakeme.c (Wake-up Call Manager) v0.1.0 released
For a linux newb who needs to wake up ? How does one do this ? Copy/create a app_wakeme.c in the source directory then compile asterisk ? How do I call it in dialplan ? ----- Original Message ----- From: "Michael Iedema" <mriedema@gmail.com> To: "Asterisk Users" <asterisk-users@lists.digium.com> Sent: Monday, May 08, 2006 14:47 Subject: [Asterisk-Users] app_wakeme.c (Wake-up Call Manager) v0.1.0 released Greetings, I'm releasing my first attempt at Asterisk development in hopes of gathering a bit of feedback. It's just a wake-up call manager but, seeing as the only one I was able to find was a php-agi script, perhaps an actual app will be useful to someone. Anyway, here's the details. Features: * User can set / cancel wake-up calls for their extension * Option to snooze is presented during the actual wake-up call * Month / Year / Leap-Year changes are accounted for Todo: * Account for time-zone differences between caller and PBX * Account for daylight savings time changes * Abstract / redo the prompting to account for word order differences in different languages * Implement both new and old loaders...currently we're developing for trunk only !! As the last point implies, this first version is only intended for users of trunk Ok, enough show. The code is available from our freshly installed, still not perfect, website at: https://tk-labor.dyndns.org:8443/pub/?q=node/1 --Michael I. _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users