[Freeswitch-users] module question

Chris Mandra mandra at gmail.com
Tue Mar 1 17:22:27 MSK 2016


More grist for the mill:
I'm able to unload the module, and freeswitch reports the module unloaded,
but if I make changes to the module and make and make install and then load
the module again it doesn't reflect the changes made,  and resorts too
old behavior.  The only way to see the new behavior is to restart fs.  it's
like it's caching the module but it's not bc if you unload it and then
exercise the API command free switch reports the command is not found.

Is there something I need to configure to make this work maybe also the
modules written in C++ if that matters. Thanks, it's really annoying to
have to restart fs each time I want to see a change.
Chris

On Monday, February 29, 2016, Chris Mandra <mandra at gmail.com> wrote:

> Hey guys - I've been working on a ladspa module and I thought that after I
> make a change to it and recompile I can just run reload and hear my
> changes, but it's not working, so I tried unload and reload and that's not
> allowing me to hear my changes either. Restarting freeSWITCH does allow me
> to hear my changes. Any ideas why this would be happening. I'm running 1.6
>
> I know about the how the modules shutdown function is supposed to work
> (
> https://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Reloading_Your_Module"N.B.
> your module's Shutdown function must accomplish a complete reversion of any
> setup that happens in it's Load function for a reload to work properly.")
> and this used to work without issue, so I'm wondering what might be going
> on here.
>
> Any suggestions appreciated,
>
> thanks, chris
>


-- 
mandra
c:410.258.5281
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160301/259af987/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list