VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
markmorreny at gmail.com Guest
|
Posted: Sun Aug 09, 2009 11:05 am Post subject: [Freeswitch-users] Scheduler in module |
|
|
Hi,
I would like to collect some data in my module which would listen to the event socket and then a scheduler would kick off every so often to clean up the data.
Does anyone know what is the best way to implement a scheduler in a mod?
Best Regards,
Mark |
|
Back to top |
|
|
moises.silva at gmail.com Guest
|
Posted: Sun Aug 09, 2009 11:11 am Post subject: [Freeswitch-users] Scheduler in module |
|
|
On Sun, Aug 9, 2009 at 11:57 AM, mark morreny <markmorreny@gmail.com (markmorreny@gmail.com)> wrote:
Quote: | Hi,
I would like to collect some data in my module which would listen to the event socket and then a scheduler would kick off every so often to clean up the data.
Does anyone know what is the best way to implement a scheduler in a mod?
Best Regards,
Mark
|
Just use the API that the FreeSWITCH core already has for you. Check src/include/switch_scheduler.h for details, the comments in there should be enough for you to learn to use it. If not, you can ask here more specific questions.
--
Moises Silva
Software Developer
Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada
t. 1 905 474 1990 x 128 | e. moy@sangoma.com (moy@sangoma.com) |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|