<head></head><body>You have, by any chance, installed FS with packages and then switched to compiling from source?<div><div><br></div><div>My guess is that you copied the first release of you module to the dir where the FS from packages looks for and by restarting freeswitch&nbsp;you are in fact starting the compiled from source one..</div><br><div class="nylas-n1-signature">Ítalo Rossi<div>italo@freeswitch.org</div><div>IRC chat.freenode.net #freeswitch #freeswitch-dev</div><div>Bugs? https://freeswitch.org/jira</div><div>Docs?&nbsp;https://freeswitch.org/jira</div><div>Chat?&nbsp;https://hipchat.freeswitch.org/gUdAgy0m6</div><div><br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  On Mar 1 2016, at 12:44 pm, Chris Mandra &lt;mandra@gmail.com&gt; wrote:
  <br>
  <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) &nbsp;it still reports it successfully reloads&nbsp;</div>








<p><span><i></i></span><br></p>
<p><span><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049"><i>[</i><span><i></i></span></a></span></p>
<p><span><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049">10:33<span></span></a></span></p>
<p><span><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049"><i>]</i><span><i></i></span></a></span></p>
<p><span>freeswitch@internal&gt; reload mod_sc_dsp</span></p>
<p><span>+OK Reloading XML</span></p>
<p><span>+OK module unloaded</span></p>
<p><span>+OK module loaded</span></p>
<p>2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:978 Deleting Application 'test_dsp_run'</p><p><br></p><p>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><br></p><p>2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:1033 Deleting API Function 'uuid_test_dsp'</p><p><br></p><p>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><br></p><p>2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1876 Stopping: mod_test_dsp</p><p><br></p><p>2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1896 mod_test_dsp unloaded.</p><p><br></p><p>2016-03-01 15:33:05.511747 [INFO] mod_enum.c:876 ENUM Reloaded</p><p><br></p><p>2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1409 Successfully Loaded [mod_test_dsp]</p><p><br></p><p>2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:267 Adding Application 'test_dsp_run'</p><p><br></p><p>2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:313 Adding API Function 'uuid_test_dsp'</p><p><br></p><p>2016-03-01 15:33:05.511747 [INFO] switch_time.c:1191 Timezone reloaded 530 definitions</p><p><br></p><p>freeswitch@internal&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;freeswitch@internal&gt;</p><p><span></span></p><p><br></p>
<p><br></p>
<p><span><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050"><i>[</i><span><i></i></span></a></span></p>
<p><span><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050">10:33<span></span></a></span></p>
<p><span><a href="https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050"><i>]</i><span><i></i></span></a></span></p>
<p><span>how is that possible -what does it mean&nbsp;</span>if when i delete the shared objects it still reports loading?</p>







</div><div><br><div>On Tue, Mar 1, 2016 at 9:33 AM, Nathan Neulinger <span dir="ltr">&lt;<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a>&gt;</span> wrote:<br><blockquote 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><br>
On 03/01/2016 08:22 AM, Chris Mandra wrote:<br>
&gt; More grist for the mill:<br>
&gt; I'm able to unload the module, and freeswitch reports the module unloaded, but if I make changes to the module and make<br>
&gt; and make install and then load the module again it doesn't reflect the changes made,&nbsp; and resorts too old behavior.&nbsp; The<br>
&gt; only way to see the new behavior is to restart fs.&nbsp; it's like it's caching the module but it's not bc if you unload it<br>
&gt; and then exercise the API command free switch reports the command is not found.<br>
&gt;<br>
&gt; Is there something I need to configure to make this work maybe also the modules written in C++ if that matters. Thanks,<br>
&gt; it's really annoying to have to restart fs each time I want to see a change.<br>
&gt; Chris<br>
&gt;<br>
</span><span>&gt; On Monday, February 29, 2016, Chris Mandra &lt;<a href="mailto:mandra@gmail.com">mandra@gmail.com</a> &lt;mailto:<a href="mailto:mandra@gmail.com">mandra@gmail.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;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>
&gt;&nbsp; &nbsp; &nbsp;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>
&gt;&nbsp; &nbsp; &nbsp;to hear my changes either. Restarting freeSWITCH does allow me to hear my changes. Any ideas why this would be<br>
&gt;&nbsp; &nbsp; &nbsp;happening. I'm running 1.6<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;I know about the how the modules shutdown function is supposed to work<br>
&gt;&nbsp; &nbsp; &nbsp;(<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>
&gt;&nbsp; &nbsp; &nbsp;function must accomplish a complete reversion of any setup that happens in it's Load function for a reload to work<br>
&gt;&nbsp; &nbsp; &nbsp;properly.") and this used to work without issue, so I'm wondering what might be going on here.<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;Any suggestions appreciated,<br>
&gt;<br>
&gt;&nbsp; &nbsp; &nbsp;thanks, chris<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; mandra<br>
&gt; c:<a value="+14102585281">410.258.5281</a><br>
&gt;<br>
&gt;<br>
</span>&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; 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>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
--<br>
------------------------------------------------------------<br>
Nathan Neulinger&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:nneul@mst.edu">nneul@mst.edu</a><br>
Missouri S&amp;T Information Technology&nbsp; &nbsp; <a 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><div><br></div>-- <br><div>mandra<br>c:410.258.5281</div>
</div>
</blockquote></body>