[Freeswitch-users] module question

Nathan Neulinger nneul at mst.edu
Tue Mar 1 17:33:04 MSK 2016


Are you sure the 'make install' is replacing the path you think it is?

I'd suggest as a test explicitly removing the .so and make sure that a reload/load fails. Then try the make install.

-- Nathan

On 03/01/2016 08:22 AM, Chris Mandra wrote:
> 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 <mailto: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
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>

-- 
------------------------------------------------------------
Nathan Neulinger                       nneul at mst.edu
Missouri S&T Information Technology    (573) 612-1412
System Administrator - Architect



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