<div dir="ltr">thanks for the reply Nathan - this is really weird:<div><br></div><div>after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads </div>
<p class=""><span class=""><i></i></span><br></p>
<p class=""><span class=""><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049"><i>[</i><span class=""><i></i></span></a></span></p>
<p class=""><span class=""><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049">10:33<span class=""></span></a></span></p>
<p class=""><span class=""><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049"><i>]</i><span class=""><i></i></span></a></span></p>
<p class=""><span class="">freeswitch@internal> reload mod_sc_dsp</span></p>
<p class=""><span class="">+OK Reloading XML</span></p>
<p class=""><span class="">+OK module unloaded</span></p>
<p class=""><span class="">+OK module loaded</span></p>
<p class="">2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:978 Deleting Application 'test_dsp_run'</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:980 Write lock interface 'test_dsp_run' to wait for existing references.</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:1033 Deleting API Function 'uuid_test_dsp'</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:1035 Write lock interface 'uuid_test_dsp' to wait for existing references.</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1876 Stopping: mod_test_dsp</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1896 mod_test_dsp unloaded.</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [INFO] mod_enum.c:876 ENUM Reloaded</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1409 Successfully Loaded [mod_test_dsp]</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:267 Adding Application 'test_dsp_run'</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:313 Adding API Function 'uuid_test_dsp'</p><p class=""><br></p><p class="">2016-03-01 15:33:05.511747 [INFO] switch_time.c:1191 Timezone reloaded 530 definitions</p><p class=""><br></p><p class="">freeswitch@internal> freeswitch@internal></p><p class=""><span class=""></span></p><p class=""><br></p>
<p class=""><br></p>
<p class=""><span class=""><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050"><i>[</i><span class=""><i></i></span></a></span></p>
<p class=""><span class=""><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050">10:33<span class=""></span></a></span></p>
<p class=""><span class=""><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050"><i>]</i><span class=""><i></i></span></a></span></p>
<p class=""><span class="">how is that possible -what does it mean </span>if when i delete the shared objects it still reports loading?</p>
</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 9:33 AM, Nathan Neulinger <span dir="ltr"><<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Are you sure the 'make install' is replacing the path you think it is?<br>
<br>
I'd suggest as a test explicitly removing the .so and make sure that a reload/load fails. Then try the make install.<br>
<br>
-- Nathan<br>
<span class=""><br>
On 03/01/2016 08:22 AM, Chris Mandra wrote:<br>
> More grist for the mill:<br>
> I'm able to unload the module, and freeswitch reports the module unloaded, but if I make changes to the module and make<br>
> and make install and then load the module again it doesn't reflect the changes made, and resorts too old behavior. The<br>
> 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<br>
> and then exercise the API command free switch reports the command is not found.<br>
><br>
> Is there something I need to configure to make this work maybe also the modules written in C++ if that matters. Thanks,<br>
> it's really annoying to have to restart fs each time I want to see a change.<br>
> Chris<br>
><br>
</span><span class="">> On Monday, February 29, 2016, Chris Mandra <<a href="mailto:mandra@gmail.com">mandra@gmail.com</a> <mailto:<a href="mailto:mandra@gmail.com">mandra@gmail.com</a>>> wrote:<br>
><br>
> 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<br>
> just run reload and hear my changes, but it's not working, so I tried unload and reload and that's not allowing me<br>
> to hear my changes either. Restarting freeSWITCH does allow me to hear my changes. Any ideas why this would be<br>
> happening. I'm running 1.6<br>
><br>
> I know about the how the modules shutdown function is supposed to work<br>
> (<a href="https://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Reloading_Your_Module" rel="noreferrer" target="_blank">https://wiki.freeswitch.org/wiki/Authoring_Freeswitch_Modules#Reloading_Your_Module</a>"N.B. your module's Shutdown<br>
> function must accomplish a complete reversion of any setup that happens in it's Load function for a reload to work<br>
> properly.") and this used to work without issue, so I'm wondering what might be going on here.<br>
><br>
> Any suggestions appreciated,<br>
><br>
> thanks, chris<br>
><br>
><br>
><br>
> --<br>
> mandra<br>
> c:<a href="tel:410.258.5281" value="+14102585281">410.258.5281</a><br>
><br>
><br>
</span>> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
--<br>
------------------------------------------------------------<br>
Nathan Neulinger <a href="mailto:nneul@mst.edu">nneul@mst.edu</a><br>
Missouri S&T Information Technology <a href="tel:%28573%29%20612-1412" value="+15736121412">(573) 612-1412</a><br>
System Administrator - Architect<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">mandra<br>c:410.258.5281</div>
</div>