And I want to stress, that I delete the file from disc unload the module, reload <span></span>the module and it says it loads, so this doesn't make sense to me…<br><br>On Friday, March 4, 2016, Chris Mandra <<a href="mailto:mandra@gmail.com">mandra@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nevermind.<br>It's still not working.<div><br></div><div>Couple of questions:</div><div>I'm writing this I'm c++. Could that be causing problems?</div>Here's my makefile. Is anything obvs causing trouble here:<div><br></div><div>BASE=../../../..</div><div>include $(BASE)/build/modmake.rules</div><div>LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive</div><div>LOCAL_LDFLAGS+=-lboost_program_options</div><div>strategy.o: strategy.cpp</div><div>ladspa_strategy.o: ladspa_strategy.cpp</div><div>dsp_strategy.o: dsp_strategy.cpp</div><div>param_strategy.o: param_strategy.cpp</div><div>load.o: load.cpp</div><div>tokenizer.o: tokenizer.cpp</div><div>validators.o: validators.cpp</div><div>LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o</div><div>local_depend: $(LOCAL_OBJS)</div><div><br></div><div>Thanks, Chris<span></span></div><div><br></div><div><br></div><div><br></div><div>On Friday, March 4, 2016, Chris Mandra <<a href="javascript:_e(%7B%7D,'cvml','mandra@gmail.com');" target="_blank">mandra@gmail.com</a>> wrote:<br></div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">So here's another wrinkle. I've removed my module from the system, recreated it fresh with a new filename (and internal names where apropos) and it's reloading is working properly now. Same code. How is this possible? <div>Thanks, </div><div>Chris<br><br>On Thursday, March 3, 2016, Chris Mandra <<a>mandra@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does that make anything come to mind?<br><br>On Wednesday, March 2, 2016, Chris Mandra <<a>mandra@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">1.6</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <span dir="ltr"><<a>krice@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">What version of FreeSWITCH are you building this against? <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <a>freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a>freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Chris Mandra<br><b>Sent:</b> Wednesday, March 2, 2016 10:37 AM<span><br><b>To:</b> FreeSWITCH Users Help <<a>freeswitch-users@lists.freeswitch.org</a>><br></span><b>Subject:</b> [Freeswitch-users] module question<u></u><u></u></span></p><div><div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I unload, wipe the file reload and it says it's reloaded <br>This makes no sense<br>On Wednesday, March 2, 2016, Nathan Neulinger <<a>nneul@mst.edu</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal">I think he said earlier that if he shuts down completely, it works fine, but he's wanting to be able to reload on the<br>fly to test new changes.<br><br>-- Nathan<br><br>On 03/02/2016 08:59 AM, Ken Rice wrote:<br>> Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually<br>> unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone,<br>> and restarting FreeSWITCH completely.<br>><br>> *From:*<a>freeswitch-users-bounces@lists.freeswitch.org</a> [<a>mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] *On Behalf<br>> Of *Chris Mandra<br>> *Sent:* Wednesday, March 2, 2016 8:30 AM<br>> *To:* FreeSWITCH Users Help <<a>freeswitch-users@lists.freeswitch.org</a>><br>> *Subject:* Re: [Freeswitch-users] module question<br>><br>> No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?<br>><br>> On Wednesday, March 2, 2016, Nathan Neulinger <<a>nneul@mst.edu <mailto:nneul@mst.edu</a>>> wrote:<br>><br>> Is there any chance you are running freeswitch chroot'd?<br>><br>> On 03/02/2016 06:14 AM, Chris Mandra wrote:<br>> > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting<br>> and how<br>> > it doesn't make any sense.<br>> ><br>> > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so<br>> ><br>> > however that file doesn’t even exist<br>> ><br>> > and yet it still says it’s loading it<br>> ><br>> > how is that possible?<br>> ><br>> ><br>> > On Wednesday, March 2, 2016, Steven Ayre <<a>steveayre@gmail.com <javascript:;</a>> <<a>mailto:steveayre@gmail.com<br></a>> <javascript:;>>> wrote:<br>> ><br>> > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command...<br>> it'll show<br>> > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way.<br>> ><br>> > On 2 March 2016 at 02:52, Chris Mandra <<a>mandra@gmail.com <javascript:;</a>><br>> <javascript:_e(%7B%7D,'cvml','<a>mandra@gmail.com</a> <javascript:;>');>> wrote:<br>> ><br>> > Any other ideas?<br>> ><br>> ><br>> > On Tuesday, March 1, 2016, Chris Mandra <<a>mandra@gmail.com <javascript:;</a>><br>> <javascript:_e(%7B%7D,'cvml','<a>mandra@gmail.com</a> <javascript:;>');>> wrote:<br>> ><br>> > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the<br>> issue.<br>> > This is baffling. I've tried it in more one machine, same result.<br>> ><br>> > On Tuesday, March 1, 2016, Chris Mandra <<a>mandra@gmail.com <javascript:;</a>>> wrote:<br>> ><br>> > So, FS is reporting<br>> ><br>> > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so<br>> ><br>> > however that file doesn’t even exist<br>> ><br>> > and yet it still says it’s loading it<br>> ><br>> > how is that possible?<br>> ><br>> ><br>> > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <<a>nneul@mst.edu <javascript:;</a>>> wrote:<br>> ><br>> ><br>> ><br>> > On 03/01/2016 09:41 AM, Chris Mandra wrote:<br>> > > thanks for the reply Nathan - this is really weird:<br>> > ><br>> > > after i remove the .so files (and make sure they're gone from my disk) it still reports it<br>> successfully reloads<br>> > ><br>> ><br>> > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it<br>> loaded. It's<br>> > likely pulling it in<br>> > from a different location.<br>> ><br>> > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the<br>> > strace and look for what<br>> > file/path it searched/etc.<br>> ><br>> > -- Nathan<br>> ><br>> > ------------------------------------------------------------<br>> > Nathan Neulinger <a>nneul@mst.edu</a> <javascript:;><br>> > Missouri S&T Information Technology <a href="tel:%28573%29%20612-1412" value="+15736121412" target="_blank">(573) 612-1412</a> <<a href="tel:%28573%29%20612-1412" target="_blank">tel:%28573%29%20612-1412</a>><br>> > System Administrator - Architect<br>> ><br>> > _________________________________________________________________________<br>> > Professional FreeSWITCH Consulting Services:<br>> > <a>consulting@freeswitch.org</a> <javascript:;><br>> > <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>> ><br>> > Official FreeSWITCH Sites<br>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>> > <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>> ><br>> > FreeSWITCH-users mailing list<br>> > <a>FreeSWITCH-users@lists.freeswitch.org</a> <javascript:;><br>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>> ><br>> ><br>> ><br>> ><br>> > --<br>> > mandra<br>> > c:<a href="tel:410.258.5281" value="+14102585281" target="_blank">410.258.5281</a> <<a href="tel:410.258.5281" target="_blank">tel:410.258.5281</a>><br>> ><br>> ><br>> ><br>> > --<br>> > mandra<br>> > c:<a href="tel:410.258.5281" value="+14102585281" target="_blank">410.258.5281</a> <<a href="tel:410.258.5281" target="_blank">tel:410.258.5281</a>><br>> ><br>> ><br>> ><br>> > --<br>> > mandra<br>> > c:<a href="tel:410.258.5281" value="+14102585281" target="_blank">410.258.5281</a> <<a href="tel:410.258.5281" target="_blank">tel:410.258.5281</a>><br>> ><br>> > _________________________________________________________________________<br>> > Professional FreeSWITCH Consulting Services:<br>> > <a>consulting@freeswitch.org</a> <javascript:;> <javascript:_e(%7B%7D,'cvml','<a>consulting@freeswitch.org</a> <javascript:;>');><br>> > <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>> ><br>> > Official FreeSWITCH Sites<br>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>> > <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>> ><br>> > FreeSWITCH-users mailing list<br>> > <a>FreeSWITCH-users@lists.freeswitch.org</a> <javascript:;><br>> <javascript:_e(%7B%7D,'cvml','<a>FreeSWITCH-users@lists.freeswitch.org</a> <javascript:;>');><br>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>> ><br>> ><br>> ><br>> ><br>> > --<br>> > mandra<br>> > c:<a href="tel:410.258.5281" value="+14102585281" target="_blank">410.258.5281</a><br>> ><br>> ><br>> > _________________________________________________________________________<br>> > Professional FreeSWITCH Consulting Services:<br>> > <a>consulting@freeswitch.org</a> <javascript:;><br>> > <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>> ><br>> > Official FreeSWITCH Sites<br>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>> > <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>> ><br>> > FreeSWITCH-users mailing list<br>> > <a>FreeSWITCH-users@lists.freeswitch.org</a> <javascript:;><br>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>> ><br>><br>> --<br>> ------------------------------------------------------------<br>> Nathan Neulinger <a>nneul@mst.edu</a> <javascript:;><br>> Missouri S&T Information Technology <a href="tel:%28573%29%20612-1412" value="+15736121412" target="_blank">(573) 612-1412</a><br>> System Administrator - Architect<br>><br>> _________________________________________________________________________<br>> Professional FreeSWITCH Consulting Services:<br>> <a>consulting@freeswitch.org</a> <javascript:;><br>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>><br>> Official FreeSWITCH Sites<br>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>><br>> FreeSWITCH-users mailing list<br>> <a>FreeSWITCH-users@lists.freeswitch.org</a> <javascript:;><br>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>><br>><br>><br>> --<br>> mandra<br>> c:<a href="tel:410.258.5281" value="+14102585281" target="_blank">410.258.5281</a><br>><br>><br>><br>> _________________________________________________________________________<br>> Professional FreeSWITCH Consulting Services:<br>> <a>consulting@freeswitch.org</a><br>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>><br>> Official FreeSWITCH Sites<br>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>><br>> FreeSWITCH-users mailing list<br>> <a>FreeSWITCH-users@lists.freeswitch.org</a><br>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>><br><br>--<br>------------------------------------------------------------<br>Nathan Neulinger <a>nneul@mst.edu</a><br>Missouri S&T Information Technology <a href="tel:%28573%29%20612-1412" value="+15736121412" target="_blank">(573) 612-1412</a><br>System Administrator - Architect<br><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a>consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a>FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></blockquote><p class="MsoNormal"><br><br>-- <br>mandra<br>c:<a href="tel:410.258.5281" value="+14102585281" target="_blank">410.258.5281</a><u></u><u></u></p></div></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>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>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>mandra<br>c:410.258.5281</div>
</div>
</blockquote><br><br>-- <br>mandra<br>c:410.258.5281<br>
</blockquote></div><br><br>-- <br>mandra<br>c:410.258.5281<br>
</blockquote></div></div><br><br>-- <br>mandra<br>c:410.258.5281<br>
</blockquote><br><br>-- <br>mandra<br>c:410.258.5281<br>