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
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@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
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@gmail.com <mailto:mandra@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@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
thanks for the reply Nathan - this is really weird: after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads *[* <https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049> 10:33 <https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049> *]* <https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049> freeswitch@internal> reload mod_sc_dsp +OK Reloading XML +OK module unloaded +OK module loaded 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:978 Deleting Application 'test_dsp_run' 2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:980 Write lock interface 'test_dsp_run' to wait for existing references. 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:1033 Deleting API Function 'uuid_test_dsp' 2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:1035 Write lock interface 'uuid_test_dsp' to wait for existing references. 2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1876 Stopping: mod_test_dsp 2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1896 mod_test_dsp unloaded. 2016-03-01 15:33:05.511747 [INFO] mod_enum.c:876 ENUM Reloaded 2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1409 Successfully Loaded [mod_test_dsp] 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:267 Adding Application 'test_dsp_run' 2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:313 Adding API Function 'uuid_test_dsp' 2016-03-01 15:33:05.511747 [INFO] switch_time.c:1191 Timezone reloaded 530 definitions freeswitch@internal> freeswitch@internal> *[* <https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050> 10:33 <https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050> *]* <https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050> how is that possible -what does it mean if when i delete the shared objects it still reports loading? On Tue, Mar 1, 2016 at 9:33 AM, Nathan Neulinger <nneul@mst.edu> wrote:
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@gmail.com <mailto: mandra@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@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
On 03/01/2016 09:41 AM, Chris Mandra wrote:
thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location. Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc. -- Nathan ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
So, FS is reporting reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so however that file doesn’t even exist and yet it still says it’s loading it how is that possible? On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote:
thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result. On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com> wrote:
So, FS is reporting
reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:_e(%7B%7D,'cvml','nneul@mst.edu');>> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote:
thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:_e(%7B%7D,'cvml','nneul@mst.edu');> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
Any other ideas? On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com> wrote:
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result.
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
So, FS is reporting
reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote:
thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com> wrote:
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com> wrote:
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result.
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com> wrote:
So, FS is reporting
reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote:
thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how it doesn't make any sense. Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so however that file doesn’t even exist and yet it still says it’s loading it how is that possible? On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com> wrote:
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way.
On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result.
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com> wrote:
So, FS is reporting
reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote:
thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
Is there any chance you are running freeswitch chroot'd? On 03/02/2016 06:14 AM, Chris Mandra wrote:
Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how it doesn't make any sense.
Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com>> wrote:
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way.
On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result.
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com> wrote:
So, FS is reporting
reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote: > thanks for the reply Nathan - this is really weird: > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads >
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote:
Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how it doesn't make any sense.
Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;>>> wrote:
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way.
On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote:
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote:
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result.
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote:
So, FS is reporting
reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger < nneul@mst.edu <javascript:;>> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote: > thanks for the reply Nathan - this is really weird: > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads >
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------
Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412
<tel:%28573%29%20612-1412>
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;>
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');>
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@lists.freeswitch.org <javascript:;>
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;>');>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
Next thing I'd try would be the strace while doing the reload to see if maybe it is loading from a different path - i.e. maybe it never closed the handle to the .so or something. -- Nathan On 03/02/2016 08:29 AM, Chris Mandra wrote:
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;>>> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul@mst.edu <javascript:;> > Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');> > 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@lists.freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;>');> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org >
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
Assuming the name of your module is mod_test_dsp.so I would, as root, do a “find / -name mod_test_dsp.so -print” and see if there is more than one file in the filesystem somewhere. If there is more than one then delete all of them but the path you expect. Perhaps it is loading from LD_PATH somehow but I still do not see how lsof of the PID could show a file that does not exist unless it is chroot’ed. Strace or gdb may be the last resort to figure it out.
On Mar 2, 2016, at 8:29 AM, Chris Mandra <mandra@gmail.com> wrote:
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu> wrote: Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote:
Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how it doesn't make any sense.
Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com>> wrote:
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way.
On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result.
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com> wrote:
So, FS is reporting
reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote: > thanks for the reply Nathan - this is really weird: > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads >
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Chris Mandra Sent: Wednesday, March 2, 2016 8:30 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] module question No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> > wrote: Is there any chance you are running freeswitch chroot'd? On 03/02/2016 06:14 AM, Chris Mandra wrote:
Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how it doesn't make any sense.
Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;> >> wrote:
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way.
On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;> ');>> wrote:
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;> ');>> wrote:
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result.
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> > wrote:
So, FS is reporting
reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;> > wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote: > thanks for the reply Nathan - this is really weird: > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads >
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;> ');> 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@lists.freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;> ');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- mandra c:410.258.5281
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 fly to test new changes. -- Nathan On 03/02/2016 08:59 AM, Ken Rice wrote:
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 8:30 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] module question
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;>>> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul@mst.edu <javascript:;> > Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');> > 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@lists.freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;>');> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org >
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <javascript:_e(%7B%7D,'cvml','nneul@mst.edu');>> wrote:
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote:
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 8:30 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] module question
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto: nneul@mst.edu>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;>>> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra < mandra@gmail.com <javascript:;>> wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > >
> Nathan Neulinger nneul@mst.edu <javascript:;> > Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412>
> System Administrator - Architect > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;>
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');>
> 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@lists.freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org
<javascript:;>');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
What version of FreeSWITCH are you building this against? From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Chris Mandra Sent: Wednesday, March 2, 2016 10:37 AM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] module question I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <javascript:_e(%7B%7D,'cvml','nneul@mst.edu');> > wrote: 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 fly to test new changes. -- Nathan On 03/02/2016 08:59 AM, Ken Rice wrote:
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 8:30 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org> > *Subject:* Re: [Freeswitch-users] module question
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu%20%3cmailto:nneul@mst.edu> <mailto:nneul@mst.edu>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com%20%3cjavascript:;> <javascript:;> <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com%0b> <javascript:;>>> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com%20%3cjavascript:;> <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com%20%3cjavascript:;> <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com%20%3cjavascript:;> <javascript:;>> wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu%20%3cjavascript:;> <javascript:;>> wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> <javascript:;> > Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;> > 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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;> <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');> > 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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <javascript:;> <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;>');> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;> > 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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org >
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;> 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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- mandra c:410.258.5281
1.6 On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org> wrote:
What version of FreeSWITCH are you building this against?
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 10:37 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] module question
I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu> wrote:
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote:
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org <freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 8:30 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] module question
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <steveayre@gmail.com%0b>> <javascript:;>>> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > >
> Nathan Neulinger nneul@mst.edu <javascript:;> > Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412 <%28573%29%20612-1412>>
> System Administrator - Architect > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;>
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');>
> 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@lists.freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org
<javascript:;>');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
Does that make anything come to mind? On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com> wrote:
1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org <javascript:_e(%7B%7D,'cvml','krice@freeswitch.org');>> wrote:
What version of FreeSWITCH are you building this against?
*From:* freeswitch-users-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');> [mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');>] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 10:37 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users@lists.freeswitch.org');>> *Subject:* [Freeswitch-users] module question
I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu> wrote:
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote:
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');> [mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');>] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 8:30 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','freeswitch-users@lists.freeswitch.org');>> *Subject:* Re: [Freeswitch-users] module question
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu <javascript:_e(%7B%7D,'cvml','nneul@mst.edu+%5Cx3cmailto:nneul@mst.edu');>>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:; <javascript:_e(%7B%7D,'cvml','steveayre@gmail.com+%5Cx3cjavascript:;');>> <mailto:steveayre@gmail.com <javascript:_e(%7B%7D,'cvml','steveayre@gmail.com%5Cx0b');>> <javascript:;>>> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:; <javascript:_e(%7B%7D,'cvml','mandra@gmail.com+%5Cx3cjavascript:;');>> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');> <javascript:;>');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:; <javascript:_e(%7B%7D,'cvml','mandra@gmail.com+%5Cx3cjavascript:;');>> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');> <javascript:;>');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:; <javascript:_e(%7B%7D,'cvml','mandra@gmail.com+%5Cx3cjavascript:;');>>> wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:; <javascript:_e(%7B%7D,'cvml','nneul@mst.edu+%5Cx3cjavascript:;');>>> wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > >
> Nathan Neulinger nneul@mst.edu
<javascript:_e(%7B%7D,'cvml','nneul@mst.edu');> <javascript:;>
> Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412 <%28573%29%20612-1412>>
> System Administrator - Architect > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> <javascript:;>
> 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@lists.freeswitch.org
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> <javascript:;>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> <javascript:;> <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> <javascript:;>');>
> 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@lists.freeswitch.org
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> <javascript:;>
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> <javascript:;>');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> <javascript:;>
> 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@lists.freeswitch.org
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> <javascript:;>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu
<javascript:_e(%7B%7D,'cvml','nneul@mst.edu');> <javascript:;>
Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> <javascript:;>
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@lists.freeswitch.org
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> <javascript:;>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@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@mst.edu <javascript:_e(%7B%7D,'cvml','nneul@mst.edu');> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
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? Thanks, Chris On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com> wrote:
Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org> wrote:
What version of FreeSWITCH are you building this against?
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 10:37 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] module question
I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu> wrote:
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote:
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 8:30 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] module question
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;>>> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > >
> Nathan Neulinger nneul@mst.edu
<javascript:;>
> Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412 <%28573%29%20612-1412>>
> System Administrator - Architect > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>
> > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;>
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');>
> 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@lists.freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','
FreeSWITCH-users@lists.freeswitch.org <javascript:;>');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
Nevermind. It's still not working. Couple of questions: I'm writing this I'm c++. Could that be causing problems? Here's my makefile. Is anything obvs causing trouble here: BASE=../../../.. include $(BASE)/build/modmake.rules LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive LOCAL_LDFLAGS+=-lboost_program_options strategy.o: strategy.cpp ladspa_strategy.o: ladspa_strategy.cpp dsp_strategy.o: dsp_strategy.cpp param_strategy.o: param_strategy.cpp load.o: load.cpp tokenizer.o: tokenizer.cpp validators.o: validators.cpp LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o local_depend: $(LOCAL_OBJS) Thanks, Chris On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com> wrote:
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? Thanks, Chris
On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com> wrote:
1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org> wrote:
What version of FreeSWITCH are you building this against?
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 10:37 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] module question
I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu> wrote:
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote:
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 8:30 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] module question
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;>>> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > >
> Nathan Neulinger nneul@mst.edu
<javascript:;>
> Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412 <%28573%29%20612-1412>>
> System Administrator - Architect > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting
Services:
> consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281
<410.258.5281>>
> > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;>
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');>
> 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@lists.freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','
FreeSWITCH-users@lists.freeswitch.org <javascript:;>');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so this doesn't make sense to me… On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com> wrote:
Nevermind. It's still not working.
Couple of questions: I'm writing this I'm c++. Could that be causing problems? Here's my makefile. Is anything obvs causing trouble here:
BASE=../../../.. include $(BASE)/build/modmake.rules LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive LOCAL_LDFLAGS+=-lboost_program_options strategy.o: strategy.cpp ladspa_strategy.o: ladspa_strategy.cpp dsp_strategy.o: dsp_strategy.cpp param_strategy.o: param_strategy.cpp load.o: load.cpp tokenizer.o: tokenizer.cpp validators.o: validators.cpp LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o local_depend: $(LOCAL_OBJS)
Thanks, Chris
On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
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? Thanks, Chris
On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com> wrote:
Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com> wrote:
1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org> wrote:
What version of FreeSWITCH are you building this against?
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 10:37 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] module question
I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu> wrote:
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote:
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org [ mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 8:30 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] module question
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote: > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how > it doesn't make any sense. > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;>>> wrote: > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Any other ideas? > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. > This is baffling. I've tried it in more one machine, same result. > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote: > > So, FS is reporting > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > however that file doesn’t even exist > > and yet it still says it’s loading it > > how is that possible? > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > thanks for the reply Nathan - this is really weird: > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's > likely pulling it in > from a different location. > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > strace and look for what > file/path it searched/etc. > > -- Nathan > >
> Nathan Neulinger nneul@mst.edu
<javascript:;>
> Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412 <%28573%29%20612-1412>>
> System Administrator - Architect > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting
Services:
> consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281
<410.258.5281>>
> > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;>
<javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');>
> 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@lists.freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','
FreeSWITCH-users@lists.freeswitch.org <javascript:;>');>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 > > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
If you do the lsof before and then after the unload, does the lsof still show the same filename as opened? -- Nathan On 03/04/2016 07:53 AM, Chris Mandra wrote:
And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so this doesn't make sense to me…
On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com>> wrote:
Nevermind. It's still not working.
Couple of questions: I'm writing this I'm c++. Could that be causing problems? Here's my makefile. Is anything obvs causing trouble here:
BASE=../../../.. include $(BASE)/build/modmake.rules LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive LOCAL_LDFLAGS+=-lboost_program_options strategy.o: strategy.cpp ladspa_strategy.o: ladspa_strategy.cpp dsp_strategy.o: dsp_strategy.cpp param_strategy.o: param_strategy.cpp load.o: load.cpp tokenizer.o: tokenizer.cpp validators.o: validators.cpp LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o local_depend: $(LOCAL_OBJS)
Thanks, Chris
On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
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? Thanks, Chris
On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com> wrote:
Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com> wrote:
1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org> wrote:
What version of FreeSWITCH are you building this against? ____
__ __
__ __
__ __
__ __
__ __
*From:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 10:37 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] module question____
__ __
I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu> wrote:____
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote: > Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually > unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, > and restarting FreeSWITCH completely. > > *From:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf > Of *Chris Mandra > *Sent:* Wednesday, March 2, 2016 8:30 AM > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> > *Subject:* Re: [Freeswitch-users] module question > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote: > > Is there any chance you are running freeswitch chroot'd? > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting > and how > > it doesn't make any sense. > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn’t even exist > > > > and yet it still says it’s loading it > > > > how is that possible? > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com > <javascript:;>>> wrote: > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... > it'll show > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > > > Any other ideas? > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote: > > > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the > issue. > > This is baffling. I've tried it in more one machine, same result. > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote: > > > > So, FS is reporting > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn’t even exist > > > > and yet it still says it’s loading it > > > > how is that possible? > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > thanks for the reply Nathan - this is really weird: > > > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it > successfully reloads > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it > loaded. It's > > likely pulling it in > > from a different location. > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > > strace and look for what > > file/path it searched/etc. > > > > -- Nathan > > > > ------------------------------------------------------------ > > Nathan Neulinger nneul@mst.edu <javascript:;> > > Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org <javascript:;> > > 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@lists.freeswitch.org <javascript:;> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281> > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281> > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281> > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');> > > 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@lists.freeswitch.org <javascript:;> > <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;>');> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org <javascript:;> > > 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@lists.freeswitch.org <javascript:;> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > > > -- > ------------------------------------------------------------ > Nathan Neulinger nneul@mst.edu <javascript:;> > Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org <javascript:;> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org____
-- mandra c:410.258.5281 <tel:410.258.5281>____
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so after freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so both the same after loading and unloading On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger <nneul@mst.edu> wrote:
If you do the lsof before and then after the unload, does the lsof still show the same filename as opened?
-- Nathan
On 03/04/2016 07:53 AM, Chris Mandra wrote:
And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so this doesn't make sense to me…
On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <mailto: mandra@gmail.com>> wrote:
Nevermind. It's still not working.
Couple of questions: I'm writing this I'm c++. Could that be causing problems? Here's my makefile. Is anything obvs causing trouble here:
BASE=../../../.. include $(BASE)/build/modmake.rules LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive LOCAL_LDFLAGS+=-lboost_program_options strategy.o: strategy.cpp ladspa_strategy.o: ladspa_strategy.cpp dsp_strategy.o: dsp_strategy.cpp param_strategy.o: param_strategy.cpp load.o: load.cpp tokenizer.o: tokenizer.cpp validators.o: validators.cpp LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o local_depend: $(LOCAL_OBJS)
Thanks, Chris
On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
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? Thanks, Chris
On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com> wrote:
Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com> wrote:
1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice < krice@freeswitch.org> wrote:
What version of FreeSWITCH are you building this against? ____
__ __
__ __
__ __
__ __
__ __
*From:*freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 10:37 AM *To:* FreeSWITCH Users Help < freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] module question____
__ __
I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger < nneul@mst.edu> wrote:____
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote: > Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually > unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, > and restarting FreeSWITCH completely. > > *From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf > Of *Chris Mandra > *Sent:* Wednesday, March 2, 2016 8:30 AM > *To:* FreeSWITCH Users Help < freeswitch-users@lists.freeswitch.org> > *Subject:* Re: [Freeswitch-users] module question > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote: > > Is there any chance you are running freeswitch chroot'd? > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting > and how > > it doesn't make any sense. > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn’t even exist > > > > and yet it still says it’s loading it > > > > how is that possible? > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com > <javascript:;>>> wrote: > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... > it'll show > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> > <javascript:_e(%7B%7D,'cvml',' mandra@gmail.com <javascript:;>');>> wrote: > > > > Any other ideas? > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> > <javascript:_e(%7B%7D,'cvml',' mandra@gmail.com <javascript:;>');>> wrote: > > > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the > issue. > > This is baffling. I've tried it in more one machine, same result. > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote: > > > > So, FS is reporting > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn’t even exist > > > > and yet it still says it’s loading it > > > > how is that possible? > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > thanks for the reply Nathan - this is really weird: > > > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it > successfully reloads > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it > loaded. It's > > likely pulling it in > > from a different location. > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > > strace and look for what > > file/path it searched/etc. > > > > -- Nathan > > > >
> > Nathan Neulinger
nneul@mst.edu <javascript:;>
> > Missouri S&T
Information Technology (573) 612-1412
<tel:%28573%29%20612-1412>
<tel:%28573%29%20612-1412>
> > System
Administrator - Architect
> > > >
_________________________________________________________________________
> > Professional
FreeSWITCH Consulting Services:
> > consulting@freeswitch.org
<javascript:;>
> > 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@lists.freeswitch.org
<javascript:;>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:
410.258.5281> <tel:410.258.5281>
> > > > > > > > -- > > mandra > > c:410.258.5281 <tel:
410.258.5281> <tel:410.258.5281>
> > > > > > > > -- > > mandra > > c:410.258.5281 <tel:
410.258.5281> <tel:410.258.5281>
> > > >
_________________________________________________________________________
> > Professional FreeSWITCH
Consulting Services:
> > consulting@freeswitch.org
<javascript:;>
<javascript:_e(%7B%7D,'cvml','
consulting@freeswitch.org <javascript:;>');>
> > 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@lists.freeswitch.org
<javascript:;>
> <javascript:_e(%7B%7D,'cvml','
FreeSWITCH-users@lists.freeswitch.org <javascript:;>');>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> > > > > > >
_________________________________________________________________________
> > Professional FreeSWITCH Consulting
Services:
> > consulting@freeswitch.org
<javascript:;>
> > 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@lists.freeswitch.org
<javascript:;>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org > > > > -- >
------------------------------------------------------------
> Nathan Neulinger nneul@mst.edu
<javascript:;>
> Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412>
> System Administrator - Architect > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting
Services:
> consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org
<javascript:;>
>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@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@lists.freeswitch.org >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
--
------------------------------------------------------------
Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412>
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281 <tel:410.258.5281>____
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both? Am I the only one running into this sort of thing? thanks for all your help, chris On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra <mandra@gmail.com> wrote:
freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so
after
freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so
both the same after loading and unloading
On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger <nneul@mst.edu> wrote:
If you do the lsof before and then after the unload, does the lsof still show the same filename as opened?
-- Nathan
On 03/04/2016 07:53 AM, Chris Mandra wrote:
And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so this doesn't make sense to me…
On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <mailto: mandra@gmail.com>> wrote:
Nevermind. It's still not working.
Couple of questions: I'm writing this I'm c++. Could that be causing problems? Here's my makefile. Is anything obvs causing trouble here:
BASE=../../../.. include $(BASE)/build/modmake.rules LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive LOCAL_LDFLAGS+=-lboost_program_options strategy.o: strategy.cpp ladspa_strategy.o: ladspa_strategy.cpp dsp_strategy.o: dsp_strategy.cpp param_strategy.o: param_strategy.cpp load.o: load.cpp tokenizer.o: tokenizer.cpp validators.o: validators.cpp LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o local_depend: $(LOCAL_OBJS)
Thanks, Chris
On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
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? Thanks, Chris
On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com> wrote:
Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com> wrote:
1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice < krice@freeswitch.org> wrote:
What version of FreeSWITCH are you building this against? ____
__ __
__ __
__ __
__ __
__ __
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 10:37 AM *To:* FreeSWITCH Users Help < freeswitch-users@lists.freeswitch.org> *Subject:* [Freeswitch-users] module question____
__ __
I unload, wipe the file reload and it says it's reloaded This makes no sense On Wednesday, March 2, 2016, Nathan Neulinger < nneul@mst.edu> wrote:____
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote: > Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually > unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, > and restarting FreeSWITCH completely. > > *From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf > Of *Chris Mandra > *Sent:* Wednesday, March 2, 2016 8:30 AM > *To:* FreeSWITCH Users Help < freeswitch-users@lists.freeswitch.org> > *Subject:* Re: [Freeswitch-users] module question > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote: > > Is there any chance you are running freeswitch chroot'd? > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting > and how > > it doesn't make any sense. > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn’t even exist > > > > and yet it still says it’s loading it > > > > how is that possible? > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com > <javascript:;>>> wrote: > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... > it'll show > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way. > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> > <javascript:_e(%7B%7D,'cvml',' mandra@gmail.com <javascript:;>');>> wrote: > > > > Any other ideas? > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> > <javascript:_e(%7B%7D,'cvml',' mandra@gmail.com <javascript:;>');>> wrote: > > > > Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the > issue. > > This is baffling. I've tried it in more one machine, same result. > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote: > > > > So, FS is reporting > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > however that file doesn’t even exist > > > > and yet it still says it’s loading it > > > > how is that possible? > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote: > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > thanks for the reply Nathan - this is really weird: > > > > > > after i remove the .so files (and make sure they're gone from my disk) it still reports it > successfully reloads > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it > loaded. It's > > likely pulling it in > > from a different location. > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the > > strace and look for what > > file/path it searched/etc. > > > > -- Nathan > > > >
> > Nathan Neulinger
nneul@mst.edu <javascript:;>
> > Missouri S&T
Information Technology (573) 612-1412
<tel:%28573%29%20612-1412>
<tel:%28573%29%20612-1412>
> > System
Administrator - Architect
> > > >
_________________________________________________________________________
> > Professional
FreeSWITCH Consulting Services:
> > consulting@freeswitch.org
<javascript:;>
> > 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@lists.freeswitch.org
<javascript:;>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:
410.258.5281> <tel:410.258.5281>
> > > > > > > > -- > > mandra > > c:410.258.5281 <tel:
410.258.5281> <tel:410.258.5281>
> > > > > > > > -- > > mandra > > c:410.258.5281 <tel:
410.258.5281> <tel:410.258.5281>
> > > >
_________________________________________________________________________
> > Professional FreeSWITCH
Consulting Services:
> > consulting@freeswitch.org
<javascript:;>
<javascript:_e(%7B%7D,'cvml','
consulting@freeswitch.org <javascript:;>');>
> > 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@lists.freeswitch.org
<javascript:;>
> <javascript:_e(%7B%7D,'cvml','
FreeSWITCH-users@lists.freeswitch.org <javascript:;>');>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> > > > > > >
_________________________________________________________________________
> > Professional FreeSWITCH Consulting
Services:
> > consulting@freeswitch.org
<javascript:;>
> > 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@lists.freeswitch.org
<javascript:;>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org > > > > -- >
------------------------------------------------------------
> Nathan Neulinger nneul@mst.edu
<javascript:;>
> Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412>
> System Administrator - Architect > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting
Services:
> consulting@freeswitch.org <javascript:;> > 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@lists.freeswitch.org
<javascript:;>
>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@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@lists.freeswitch.org >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
--
------------------------------------------------------------
Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573)
612-1412 <tel:%28573%29%20612-1412>
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281 <tel:410.258.5281>____
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
-- mandra c:410.258.5281
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
-- mandra c:410.258.5281
I certainly don't see it with other modules on my system. Are you able to test it with other modules on yours? i.e. try unloading something like mod_opus (unless you are using it). And see if the same behavior exists. If it doesn't, problem is specific to the module being unloaded. -- Nathan On 03/04/2016 12:10 PM, Chris Mandra wrote:
It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both?
Am I the only one running into this sort of thing?
thanks for all your help, chris
On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com>> wrote:
freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so
after
freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so
both the same after loading and unloading
On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
If you do the lsof before and then after the unload, does the lsof still show the same filename as opened?
-- Nathan
On 03/04/2016 07:53 AM, Chris Mandra wrote: > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > this doesn't make sense to me… > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>> wrote: > > Nevermind. > It's still not working. > > Couple of questions: > I'm writing this I'm c++. Could that be causing problems? > Here's my makefile. Is anything obvs causing trouble here: > > BASE=../../../.. > include $(BASE)/build/modmake.rules > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > LOCAL_LDFLAGS+=-lboost_program_options > strategy.o: strategy.cpp > ladspa_strategy.o: ladspa_strategy.cpp > dsp_strategy.o: dsp_strategy.cpp > param_strategy.o: param_strategy.cpp > load.o: load.cpp > tokenizer.o: tokenizer.cpp > validators.o: validators.cpp > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > local_depend: $(LOCAL_OBJS) > > Thanks, Chris > > > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com>');>> wrote: > > 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? > Thanks, > Chris > > On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com>> wrote: > > Does that make anything come to mind? > > On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com>> wrote: > > 1.6 > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org <mailto:krice@freeswitch.org>> wrote: > > What version of FreeSWITCH are you building this against? ____ > > __ __ > > __ __ > > __ __ > > __ __ > > __ __ > > *From:*freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf Of *Chris Mandra > *Sent:* Wednesday, March 2, 2016 10:37 AM > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>> > *Subject:* [Freeswitch-users] module question____ > > __ __ > > I unload, wipe the file reload and it says it's reloaded > This makes no sense > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:____ > > 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 > fly to test new changes. > > -- Nathan > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > Have you completely shut FreeSwitch down? There is a chance when you unload a module, that > module doesn’t actually > > unload, its still loaded, just deactivated. You can easily verify this by making sure the .so > for the module is gone, > > and restarting FreeSWITCH completely. > > > > *From:*freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf > > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>> > > *Subject:* Re: [Freeswitch-users] module question > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>>> wrote: > > > > Is there any chance you are running freeswitch chroot'd? > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > Thank you for writing Stephen, I've already tried that, and that's how I know it's > reporting what it's reporting > > and how > > > it doesn't make any sense. > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn’t even exist > > > > > > and yet it still says it’s loading it > > > > > > how is that possible? > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com> <javascript:;> > <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com> > > <javascript:;>>> wrote: > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | > grep mod_' command... > > it'll show > > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading > from a different path that way. > > > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;> > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;>');>> wrote: > > > > > > Any other ideas? > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;> > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;>');>> wrote: > > > > > > Thanks for your responses so far guys. Italo, its only built from source > so I don't think that's the > > issue. > > > This is baffling. I've tried it in more one machine, same result. > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;>> > wrote: > > > > > > So, FS is reporting > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn’t even exist > > > > > > and yet it still says it’s loading it > > > > > > how is that possible? > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> > <javascript:;>> wrote: > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > after i remove the .so files (and make sure they're gone from my > disk) it still reports it > > successfully reloads > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to > the .so file that it > > loaded. It's > > > likely pulling it in > > > from a different location. > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then > issue the reload, then kill the > > > strace and look for what > > > file/path it searched/etc. > > > > > > -- Nathan > > > > > > ------------------------------------------------------------ > > > Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> <javascript:;> > > > Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> > <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > > System Administrator - Architect > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;> > > >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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <javascript:;> > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > >http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;> > <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;>');> > > >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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <javascript:;> > > <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <javascript:;>');> > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > >http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;> > > >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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <javascript:;> > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > >http://www.freeswitch.org > > > > > > > -- > > ------------------------------------------------------------ > > Nathan Neulingernneul@mst.edu <mailto:nneul@mst.edu> <javascript:;> > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;> > >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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <javascript:;> > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >http://www.freeswitch.org > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > >consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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 Neulingernneul@mst.edu <mailto:nneul@mst.edu> > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: >consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org____ > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>____ > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
Hi Nathan - this is a module I'm working on, that's why it's not on your system. I know the problem is specific to my module, I'm trying to figure out why. freeswitch reports module unloaded, but lsof reports that fs is still talking to it, meaning freeswitch still reports it as open file. chris On Fri, Mar 4, 2016 at 1:15 PM, Nathan Neulinger <nneul@mst.edu> wrote:
I certainly don't see it with other modules on my system.
Are you able to test it with other modules on yours? i.e. try unloading something like mod_opus (unless you are using it). And see if the same behavior exists. If it doesn't, problem is specific to the module being unloaded.
-- Nathan
On 03/04/2016 12:10 PM, Chris Mandra wrote:
It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both?
Am I the only one running into this sort of thing?
thanks for all your help, chris
On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra <mandra@gmail.com <mailto: mandra@gmail.com>> wrote:
freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so
after
freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so
both the same after loading and unloading
On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
If you do the lsof before and then after the unload, does the lsof still show the same filename as opened?
-- Nathan
On 03/04/2016 07:53 AM, Chris Mandra wrote: > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > this doesn't make sense to me… > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto: mandra@gmail.com>>> wrote: > > Nevermind. > It's still not working. > > Couple of questions: > I'm writing this I'm c++. Could that be causing problems? > Here's my makefile. Is anything obvs causing trouble here: > > BASE=../../../.. > include $(BASE)/build/modmake.rules > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > LOCAL_LDFLAGS+=-lboost_program_options > strategy.o: strategy.cpp > ladspa_strategy.o: ladspa_strategy.cpp > dsp_strategy.o: dsp_strategy.cpp > param_strategy.o: param_strategy.cpp > load.o: load.cpp > tokenizer.o: tokenizer.cpp > validators.o: validators.cpp > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > local_depend: $(LOCAL_OBJS) > > Thanks, Chris > > > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com>');>> wrote: > > 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? > Thanks, > Chris > > On Thursday, March 3, 2016, Chris Mandra < mandra@gmail.com <mailto:mandra@gmail.com>> wrote: > > Does that make anything come to mind? > > On Wednesday, March 2, 2016, Chris Mandra < mandra@gmail.com <mailto:mandra@gmail.com>> wrote: > > 1.6 > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice < krice@freeswitch.org <mailto:krice@freeswitch.org>> wrote: > > What version of FreeSWITCH are you building this against? ____ > > __ __ > > __ __ > > __ __ > > __ __ > > __ __ > > *From:* freeswitch-users-bounces@lists.freeswitch.org <mailto: freeswitch-users-bounces@lists.freeswitch.org> > [mailto: freeswitch-users-bounces@lists.freeswitch.org <mailto: freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf Of *Chris Mandra > *Sent:* Wednesday, March 2, 2016 10:37 AM > *To:* FreeSWITCH Users Help < freeswitch-users@lists.freeswitch.org <mailto: freeswitch-users@lists.freeswitch.org>> > *Subject:* [Freeswitch-users] module question____ > > __ __ > > I unload, wipe the file reload and it says it's reloaded > This makes no sense > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:____ > > 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 > fly to test new changes. > > -- Nathan > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > Have you completely shut FreeSwitch down? There is a chance when you unload a module, that > module doesn’t actually > > unload, its still loaded, just deactivated. You can easily verify this by making sure the .so > for the module is gone, > > and restarting FreeSWITCH completely. > > > > *From:* freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > [mailto: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf > > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > *To:* FreeSWITCH Users Help < freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>> > > *Subject:* Re: [Freeswitch-users] module question > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto: nneul@mst.edu>>> wrote: > > > > Is there any chance you are running freeswitch chroot'd? > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > Thank you for writing Stephen, I've already tried that, and that's how I know it's > reporting what it's reporting > > and how > > > it doesn't make any sense. > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn’t even exist > > > > > > and yet it still says it’s loading it > > > > > > how is that possible? > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com> <javascript:;> > <mailto:steveayre@gmail.com <mailto: steveayre@gmail.com> > > <javascript:;>>> wrote: > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | > grep mod_' command... > > it'll show > > > you a list of the modules FreeSWITCH currently has loaded. See if it's loading > from a different path that way. > > > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;> > > <javascript:_e(%7B%7D,'cvml',' mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;>');>> wrote: > > > > > > Any other ideas? > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;> > > <javascript:_e(%7B%7D,'cvml',' mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;>');>> wrote: > > > > > > Thanks for your responses so far guys. Italo, its only built from source > so I don't think that's the > > issue. > > > This is baffling. I've tried it in more one machine, same result. > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <javascript:;>> > wrote: > > > > > > So, FS is reporting > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > however that file doesn’t even exist > > > > > > and yet it still says it’s loading it > > > > > > how is that possible? > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> > <javascript:;>> wrote: > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > after i remove the .so files (and make sure they're gone from my > disk) it still reports it > > successfully reloads > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to > the .so file that it > > loaded. It's > > > likely pulling it in > > > from a different location. > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then > issue the reload, then kill the > > > strace and look for what > > > file/path it searched/etc. > > > > > > -- Nathan > > > > > > ------------------------------------------------------------ > > > Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> <javascript:;> > > > Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> > <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > > System Administrator - Architect > > > > > > >
> > >
Professional FreeSWITCH Consulting Services:
> > >consulting@freeswitch.org
<mailto:consulting@freeswitch.org> <javascript:;>
> > >
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@lists.freeswitch.org <mailto: FreeSWITCH-users@lists.freeswitch.org> <javascript:;>
> > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > >http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:
410.258.5281 <tel:410.258.5281> <tel:410.258.5281
<tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281
<tel:410.258.5281> <tel:410.258.5281
<tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281
<tel:410.258.5281> <tel:410.258.5281
<tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>> > > > > > >
_________________________________________________________________________
> > > Professional
FreeSWITCH Consulting Services:
> > >consulting@freeswitch.org
<mailto:consulting@freeswitch.org> <javascript:;>
> <javascript:_e(%7B%7D,'cvml','
consulting@freeswitch.org <mailto:consulting@freeswitch.org> <javascript:;>');>
> > >
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@lists.freeswitch.org <mailto: FreeSWITCH-users@lists.freeswitch.org> <javascript:;>
> > <javascript:_e(%7B%7D,'cvml','
FreeSWITCH-users@lists.freeswitch.org <mailto: FreeSWITCH-users@lists.freeswitch.org> <javascript:;>');>
> > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > >http://www.freeswitch.org > > > > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 <tel:
410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>
> > > > > > > > >
_________________________________________________________________________
> > > Professional FreeSWITCH
Consulting Services:
> > >consulting@freeswitch.org
<mailto:consulting@freeswitch.org> <javascript:;>
> > >
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@lists.freeswitch.org <mailto: FreeSWITCH-users@lists.freeswitch.org> <javascript:;>
> > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > >http://www.freeswitch.org > > > > > > > -- > >
------------------------------------------------------------
> > Nathan Neulingernneul@mst.edu
<mailto:nneul@mst.edu> <javascript:;>
> > Missouri S&T Information
Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412>
> > System Administrator - Architect > > > >
_________________________________________________________________________
> > Professional FreeSWITCH
Consulting Services:
> >consulting@freeswitch.org <mailto:
consulting@freeswitch.org> <javascript:;>
> >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@lists.freeswitch.org <mailto: FreeSWITCH-users@lists.freeswitch.org> <javascript:;>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> >http://www.freeswitch.org > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281>
<tel:410.258.5281 <tel:410.258.5281>>
> > > > > > > >
_________________________________________________________________________
> > Professional FreeSWITCH Consulting
Services:
> >consulting@freeswitch.org <mailto:
consulting@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@lists.freeswitch.org <mailto: FreeSWITCH-users@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 Neulingernneul@mst.edu <mailto:
nneul@mst.edu>
> Missouri S&T Information Technology(573)
612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412>
> System Administrator - Architect > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting
Services:
>consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>
>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org____ > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> <tel:
410.258.5281 <tel:410.258.5281>>____
> > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting
Services:
> consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > >
_________________________________________________________________________
> Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412
<tel:%28573%29%20612-1412>
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
No, what I mean was I don't see the symptom unloading various modules on my system. You should try the same (modules OTHER than yours) to see if the symtom is general or specific to your code. -- Nathan On 03/04/2016 01:01 PM, Chris Mandra wrote:
Hi Nathan - this is a module I'm working on, that's why it's not on your system. I know the problem is specific to my module, I'm trying to figure out why. freeswitch reports module unloaded, but lsof reports that fs is still talking to it, meaning freeswitch still reports it as open file.
chris
On Fri, Mar 4, 2016 at 1:15 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
I certainly don't see it with other modules on my system.
Are you able to test it with other modules on yours? i.e. try unloading something like mod_opus (unless you are using it). And see if the same behavior exists. If it doesn't, problem is specific to the module being unloaded.
-- Nathan
On 03/04/2016 12:10 PM, Chris Mandra wrote: > It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both? > > Am I the only one running into this sort of thing? > > thanks for all your help, > chris > > On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>> wrote: > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > after > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > both the same after loading and unloading > > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>>> wrote: > > If you do the lsof before and then after the unload, does the lsof still show the same filename as opened? > > -- Nathan > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > > this doesn't make sense to me… > > > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <mailto:mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>>> wrote: > > > > Nevermind. > > It's still not working. > > > > Couple of questions: > > I'm writing this I'm c++. Could that be causing problems? > > Here's my makefile. Is anything obvs causing trouble here: > > > > BASE=../../../.. > > include $(BASE)/build/modmake.rules > > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > > LOCAL_LDFLAGS+=-lboost_program_options > > strategy.o: strategy.cpp > > ladspa_strategy.o: ladspa_strategy.cpp > > dsp_strategy.o: dsp_strategy.cpp > > param_strategy.o: param_strategy.cpp > > load.o: load.cpp > > tokenizer.o: tokenizer.cpp > > validators.o: validators.cpp > > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > > local_depend: $(LOCAL_OBJS) > > > > Thanks, Chris > > > > > > > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com> > <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>');>> wrote: > > > > 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? > > Thanks, > > Chris > > > > On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>> wrote: > > > > Does that make anything come to mind? > > > > On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>> wrote: > > > > 1.6 > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org <mailto:krice@freeswitch.org> <mailto:krice@freeswitch.org <mailto:krice@freeswitch.org>>> wrote: > > > > What version of FreeSWITCH are you building this against? ____ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > *From:*freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> <mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> > > [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> <mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>>] *On Behalf > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 10:37 AM > > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org> <mailto:freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>>> > > *Subject:* [Freeswitch-users] module question____ > > > > __ __ > > > > I unload, wipe the file reload and it says it's reloaded > > This makes no sense > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>>> > wrote:____ > > > > 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 > > fly to test new changes. > > > > -- Nathan > > > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > > Have you completely shut FreeSwitch down? There is a chance when you unload a > module, that > > module doesn’t actually > > > unload, its still loaded, just deactivated. You can easily verify this by making > sure the .so > > for the module is gone, > > > and restarting FreeSWITCH completely. > > > > > > *From:*freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > <mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> > > [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > <mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>>] *On Behalf > > > Of *Chris Mandra > > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org> > <mailto:freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>>> > > > *Subject:* Re: [Freeswitch-users] module question > > > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> > <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> <mailto:nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>>>> wrote: > > > > > > Is there any chance you are running freeswitch chroot'd? > > > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > > Thank you for writing Stephen, I've already tried that, and that's how I > know it's > > reporting what it's reporting > > > and how > > > > it doesn't make any sense. > > > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com> > <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com>> <javascript:;> > > <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com> <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com>> > > > <javascript:;>>> wrote: > > > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the > 'lsof -p $PID | > > grep mod_' command... > > > it'll show > > > > you a list of the modules FreeSWITCH currently has loaded. See if it's > loading > > from a different path that way. > > > > > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> > <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> > <javascript:;>');>> wrote: > > > > > > > > Any other ideas? > > > > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> > <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> > <javascript:;>');>> wrote: > > > > > > > > Thanks for your responses so far guys. Italo, its only built > from source > > so I don't think that's the > > > issue. > > > > This is baffling. I've tried it in more one machine, same result. > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> > <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <javascript:;>> > > wrote: > > > > > > > > So, FS is reporting > > > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > <nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> > > <javascript:;>> wrote: > > > > > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > > > after i remove the .so files (and make sure they're > gone from my > > disk) it still reports it > > > successfully reloads > > > > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for > the path to > > the .so file that it > > > loaded. It's > > > > likely pulling it in > > > > from a different location. > > > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > PID_OF_FREESWITCH', then > > issue the reload, then kill the > > > > strace and look for what > > > > file/path it searched/etc. > > > > > > > > -- Nathan > > > > > > > > > ------------------------------------------------------------ > > > > Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> > <javascript:;> > > > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> > <tel:%28573%29%20612-1412> > > <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > > > System Administrator - Architect > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> <javascript:;> > > > >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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> > <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> > <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> > <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> <javascript:;> > > <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> <javascript:;>');> > > > >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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;>');> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> <javascript:;> > > > >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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > >http://www.freeswitch.org > > > > > > > > > > -- > > > ------------------------------------------------------------ > > > Nathan Neulingernneul@mst.edu <mailto:Neulingernneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> <javascript:;> > > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > > System Administrator - Architect > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> <javascript:;> > > >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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;> > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > >http://www.freeswitch.org > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@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 Neulingernneul@mst.edu <mailto:Neulingernneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > >consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >http://www.freeswitch.org____ > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>____ > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > >http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@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@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > System Administrator - Architect > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>> >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >http://www.freeswitch.org > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > > > > > -- > mandra > c:410.258.5281 <tel:410.258.5281> > > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281 <tel:410.258.5281>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
Hi guys. After much slething I figured it out: this line: std::string const& s = po::validators::get_single_string(values); this is something from boost::program_options it throws an exception if it is false and for some reason if that line is in my code, even if it's not invoked, causes the library to not unload. Do you know why this might be? Is there some flag I should throw in my makefile to allow the boost library to be used in a way that's more compatible with free switch? Thanks, Chris On Friday, March 4, 2016, Nathan Neulinger <nneul@mst.edu> wrote:
No, what I mean was I don't see the symptom unloading various modules on my system. You should try the same (modules OTHER than yours) to see if the symtom is general or specific to your code.
-- Nathan
On 03/04/2016 01:01 PM, Chris Mandra wrote:
Hi Nathan - this is a module I'm working on, that's why it's not on your system. I know the problem is specific to my module, I'm trying to figure out why. freeswitch reports module unloaded, but lsof reports that fs is still talking to it, meaning freeswitch still reports it as open file.
chris
On Fri, Mar 4, 2016 at 1:15 PM, Nathan Neulinger <nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>>> wrote:
I certainly don't see it with other modules on my system.
Are you able to test it with other modules on yours? i.e. try unloading something like mod_opus (unless you are using it). And see if the same behavior exists. If it doesn't, problem is specific to the module being unloaded.
-- Nathan
On 03/04/2016 12:10 PM, Chris Mandra wrote: > It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both? > > Am I the only one running into this sort of thing? > > thanks for all your help, > chris > > On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra <mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> <mailto: mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>>>> wrote: > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > after > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > both the same after loading and unloading > > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger < nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>> <mailto:nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>>>> wrote: > > If you do the lsof before and then after the unload, does the lsof still show the same filename as opened? > > -- Nathan > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > > this doesn't make sense to me… > > > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> <mailto: mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>>> <mailto:mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> <mailto:mandra@gmail.com <javascript:;> <mailto: mandra@gmail.com <javascript:;>>>>> wrote: > > > > Nevermind. > > It's still not working. > > > > Couple of questions: > > I'm writing this I'm c++. Could that be causing problems? > > Here's my makefile. Is anything obvs causing trouble here: > > > > BASE=../../../.. > > include $(BASE)/build/modmake.rules > > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > > LOCAL_LDFLAGS+=-lboost_program_options > > strategy.o: strategy.cpp > > ladspa_strategy.o: ladspa_strategy.cpp > > dsp_strategy.o: dsp_strategy.cpp > > param_strategy.o: param_strategy.cpp > > load.o: load.cpp > > tokenizer.o: tokenizer.cpp > > validators.o: validators.cpp > > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > > local_depend: $(LOCAL_OBJS) > > > > Thanks, Chris > > > > > > > > On Friday, March 4, 2016, Chris Mandra < mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> <mailto:mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>>> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> > <mailto:mandra@gmail.com <javascript:;> <mailto: mandra@gmail.com <javascript:;>>>');>> wrote: > > > > 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? > > Thanks, > > Chris > > > > On Thursday, March 3, 2016, Chris Mandra < mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> <mailto:mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>>>> wrote: > > > > Does that make anything come to mind? > > > > On Wednesday, March 2, 2016, Chris Mandra < mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> <mailto:mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>>>> wrote: > > > > 1.6 > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org <javascript:;> <mailto:krice@freeswitch.org <javascript:;>> <mailto:krice@freeswitch.org <javascript:;> <mailto: krice@freeswitch.org <javascript:;>>>> wrote: > > > > What version of FreeSWITCH are you building this against? ____ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > *From:* freeswitch-users-bounces@lists.freeswitch.org <javascript:;> <mailto: freeswitch-users-bounces@lists.freeswitch.org <javascript:;>> <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;> <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;>>> > > [mailto: freeswitch-users-bounces@lists.freeswitch.org <javascript:;> <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;>> <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;> <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;>>>] *On Behalf > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 10:37 AM > > *To:* FreeSWITCH Users Help < freeswitch-users@lists.freeswitch.org <javascript:;> <mailto:freeswitch-users@lists.freeswitch.org <javascript:;>> <mailto:freeswitch-users@lists.freeswitch.org <javascript:;> <mailto:freeswitch-users@lists.freeswitch.org <javascript:;>>>> > > *Subject:* [Freeswitch-users] module question____ > > > > __ __ > > > > I unload, wipe the file reload and it says it's reloaded > > This makes no sense > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>> <mailto:nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>>>> > wrote:____ > > > > 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 > > fly to test new changes. > > > > -- Nathan > > > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > > Have you completely shut FreeSwitch down? There is a chance when you unload a > module, that > > module doesn’t actually > > > unload, its still loaded, just deactivated. You can easily verify this by making > sure the .so > > for the module is gone, > > > and restarting FreeSWITCH completely. > > > > > > *From:* freeswitch-users-bounces@lists.freeswitch.org <javascript:;> <mailto: freeswitch-users-bounces@lists.freeswitch.org <javascript:;>> > <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;> <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;>>> > > [mailto: freeswitch-users-bounces@lists.freeswitch.org <javascript:;> <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;>
> <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;> <mailto:freeswitch-users-bounces@lists.freeswitch.org <javascript:;>>>] *On Behalf > > > Of *Chris Mandra > > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > > *To:* FreeSWITCH Users Help < freeswitch-users@lists.freeswitch.org <javascript:;> <mailto: freeswitch-users@lists.freeswitch.org <javascript:;>> > <mailto:freeswitch-users@lists.freeswitch.org <javascript:;> <mailto:freeswitch-users@lists.freeswitch.org <javascript:;>>>> > > > *Subject:* Re: [Freeswitch-users] module question > > > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>> > <mailto:nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>>> <mailto:nneul@mst.edu <javascript:;> <mailto: nneul@mst.edu <javascript:;>> <mailto:nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>>>>> wrote: > > > > > > Is there any chance you are running freeswitch chroot'd? > > > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > > Thank you for writing Stephen, I've already tried that, and that's how I > know it's > > reporting what it's reporting > > > and how > > > > it doesn't make any sense. > > > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto: steveayre@gmail.com <javascript:;>> > <mailto:steveayre@gmail.com <javascript:;> <mailto: steveayre@gmail.com <javascript:;>>> <javascript:;> > > <mailto:steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;>> <mailto:steveayre@gmail.com <javascript:;> <mailto: steveayre@gmail.com <javascript:;>>> > > > <javascript:;>>> wrote: > > > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the > 'lsof -p $PID | > > grep mod_' command... > > > it'll show > > > > you a list of the modules FreeSWITCH currently has loaded. See if it's > loading > > from a different path that way. > > > > > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <mailto: mandra@gmail.com <javascript:;>> > <mailto:mandra@gmail.com <javascript:;> <mailto: mandra@gmail.com <javascript:;>>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> <mailto:mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>>> > <javascript:;>');>> wrote: > > > > > > > > Any other ideas? > > > > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <mailto: mandra@gmail.com <javascript:;>> > <mailto:mandra@gmail.com <javascript:;> <mailto: mandra@gmail.com <javascript:;>>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> <mailto:mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>>> > <javascript:;>');>> wrote: > > > > > > > > Thanks for your responses so far guys. Italo, its only built > from source > > so I don't think that's the > > > issue. > > > > This is baffling. I've tried it in more one machine, same result. > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <mailto:mandra@gmail.com <javascript:;>> > <mailto:mandra@gmail.com <javascript:;> <mailto: mandra@gmail.com <javascript:;>>> <javascript:;>> > > wrote: > > > > > > > > So, FS is reporting > > > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > <nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>> <mailto:nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu <javascript:;>>> > > <javascript:;>> wrote: > > > > > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > > > after i remove the .so files (and make sure they're > gone from my > > disk) it still reports it > > > successfully reloads > > > > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for > the path to > > the .so file that it > > > loaded. It's > > > > likely pulling it in > > > > from a different location. > > > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > PID_OF_FREESWITCH', then > > issue the reload, then kill the > > > > strace and look for what > > > > file/path it searched/etc. > > > > > > > > -- Nathan > > > > > > > > >
> > > >
Nathan Neulinger nneul@mst.edu <javascript:;>
<mailto:nneul@mst.edu <javascript:;>> <mailto:nneul@mst.edu
<javascript:;> <mailto:nneul@mst.edu <javascript:;>>>
> <javascript:;> > > > >
Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412>
> <tel:%28573%29%20612-1412> > > <tel:%28573%29%20612-1412>
<tel:%28573%29%20612-1412>
> > > >
System Administrator - Architect
> > > > > > > > > >
_________________________________________________________________________
> > > >
Professional FreeSWITCH Consulting Services:
> > > >
consulting@freeswitch.org <javascript:;> <mailto:consulting@freeswitch.org <javascript:;>>
<mailto:consulting@freeswitch.org <javascript:;> <mailto:
consulting@freeswitch.org <javascript:;>>> <javascript:;>
> > > >
http://www.freeswitchsolutions.com
> > > > > > > >
Official FreeSWITCH Sites
> > > >
> > > >
http://confluence.freeswitch.org
> > > >http://www.cluecon.com > > > > > > > >
FreeSWITCH-users mailing list
> > > >
FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>>
<javascript:;>
> > > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > >
> > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > >
c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>
> <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281
<tel:410.258.5281> <tel:410.258.5281
<tel:410.258.5281>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > >
c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>
> <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281
<tel:410.258.5281> <tel:410.258.5281
<tel:410.258.5281>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > >
c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>
> <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281
<tel:410.258.5281> <tel:410.258.5281
<tel:410.258.5281>>> > > > > > > > >
_________________________________________________________________________
> > > > Professional
FreeSWITCH Consulting Services:
> > > >
consulting@freeswitch.org <javascript:;> <mailto:consulting@freeswitch.org <javascript:;>>
<mailto:consulting@freeswitch.org <javascript:;> <mailto:
consulting@freeswitch.org <javascript:;>>> <javascript:;>
> > <javascript:_e(%7B%7D,'cvml','
consulting@freeswitch.org <javascript:;>
<mailto:consulting@freeswitch.org <javascript:;>> <mailto:
consulting@freeswitch.org <javascript:;> <mailto:consulting@freeswitch.org <javascript:;>>>
<javascript:;>');> > > > >
http://www.freeswitchsolutions.com
> > > > > > > > Official
FreeSWITCH Sites
> > > >
> > > >
http://confluence.freeswitch.org
> > > >http://www.cluecon.com > > > > > > > >
FreeSWITCH-users mailing list
> > > >
FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>>
<javascript:;>
> > >
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>>
<javascript:;>');>
> > > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > >
> > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281
<tel:410.258.5281> <tel:410.258.5281
<tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281>
<tel:410.258.5281 <tel:410.258.5281>>>
> > > > > > > > > > > >
_________________________________________________________________________
> > > > Professional
FreeSWITCH Consulting Services:
> > > >
consulting@freeswitch.org <javascript:;> <mailto:consulting@freeswitch.org <javascript:;>>
<mailto:consulting@freeswitch.org <javascript:;> <mailto:
consulting@freeswitch.org <javascript:;>>> <javascript:;>
> > > >
http://www.freeswitchsolutions.com
> > > > > > > > Official FreeSWITCH
Sites
> > > >
> > > >
http://confluence.freeswitch.org
> > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users
mailing list
> > > >
FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>>
<javascript:;>
> > > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > >
> > > > > > > > > > -- > > >
------------------------------------------------------------
> > > Nathan
Neulingernneul@mst.edu <javascript:;> <mailto:Neulingernneul@mst.edu <javascript:;>>
<mailto:nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu
<javascript:;>>> <javascript:;>
> > > Missouri S&T Information
Technology(573) 612-1412
<tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412>
<tel:%28573%29%20612-1412>
> > > System Administrator -
Architect
> > > > > >
_________________________________________________________________________
> > > Professional FreeSWITCH
Consulting Services:
> > >consulting@freeswitch.org
<javascript:;> <mailto:consulting@freeswitch.org <javascript:;>>
<mailto:consulting@freeswitch.org <javascript:;> <mailto:
consulting@freeswitch.org <javascript:;>>> <javascript:;>
> > >
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@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>>
<javascript:;>
> > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > >http://www.freeswitch.org > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281
<tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>
<tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281
<tel:410.258.5281>>>
> > > > > > > > > > > >
_________________________________________________________________________
> > > Professional FreeSWITCH
Consulting Services:
> > >consulting@freeswitch.org
<javascript:;> <mailto:consulting@freeswitch.org <javascript:;>>
<mailto:consulting@freeswitch.org <javascript:;> <mailto:
consulting@freeswitch.org <javascript:;>>>
> > >
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@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>> > > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > >http://www.freeswitch.org > > > > > > > -- > >
------------------------------------------------------------
> > Nathan Neulingernneul@mst.edu
<javascript:;> <mailto:Neulingernneul@mst.edu <javascript:;>>
<mailto:nneul@mst.edu <javascript:;> <mailto:nneul@mst.edu
<javascript:;>>>
> > Missouri S&T Information
Technology(573) 612-1412 <tel:%28573%29%20612-1412>
<tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > System Administrator - Architect > > > >
_________________________________________________________________________
> > Professional FreeSWITCH
Consulting Services:
> >consulting@freeswitch.org <javascript:;> <mailto:
consulting@freeswitch.org <javascript:;>> <mailto: consulting@freeswitch.org <javascript:;>
<mailto:consulting@freeswitch.org <javascript:;>>> > >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@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> >http://www.freeswitch.org____ > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281>
<tel:410.258.5281 <tel:410.258.5281>>
<tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281
<tel:410.258.5281>>>____
> > > > > >
_________________________________________________________________________
> > Professional FreeSWITCH Consulting
Services:
> > consulting@freeswitch.org <javascript:;> <mailto:
consulting@freeswitch.org <javascript:;>> <mailto: consulting@freeswitch.org <javascript:;>
<mailto:consulting@freeswitch.org <javascript:;>>> > >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@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org <javascript:;>>>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> >http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281>
<tel:410.258.5281 <tel:410.258.5281>>
> > > > > > > > -- > > mandra > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281
<tel:410.2> > > > <mailto:> <mailto:> > > >
-- mandra c:410.258.5281
sounds like a bug in boost or some sort of misuse..
On Mar 5, 2016, at 8:46 AM, Chris Mandra <mandra@gmail.com> wrote:
Hi guys. After much slething I figured it out: this line:
std::string const& s = po::validators::get_single_string(values);
this is something from boost::program_options
it throws an exception if it is false
and for some reason if that line is in my code, even if it's not invoked, causes the library to not unload. Do you know why this might be? Is there some flag I should throw in my makefile to allow the boost library to be used in a way that's more compatible with free switch? Thanks, Chris
On Friday, March 4, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote: No, what I mean was I don't see the symptom unloading various modules on my system. You should try the same (modules OTHER than yours) to see if the symtom is general or specific to your code.
-- Nathan
On 03/04/2016 01:01 PM, Chris Mandra wrote:
Hi Nathan - this is a module I'm working on, that's why it's not on your system. I know the problem is specific to my module, I'm trying to figure out why. freeswitch reports module unloaded, but lsof reports that fs is still talking to it, meaning freeswitch still reports it as open file.
chris
On Fri, Mar 4, 2016 at 1:15 PM, Nathan Neulinger <nneul@mst.edu <> <mailto:nneul@mst.edu <>>> wrote:
I certainly don't see it with other modules on my system.
Are you able to test it with other modules on yours? i.e. try unloading something like mod_opus (unless you are using it). And see if the same behavior exists. If it doesn't, problem is specific to the module being unloaded.
-- Nathan
On 03/04/2016 12:10 PM, Chris Mandra wrote: > It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both? > > Am I the only one running into this sort of thing? > > thanks for all your help, > chris > > On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <><mailto:mandra@gmail.com <>>>> wrote: > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > after > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > both the same after loading and unloading > > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger <nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>>> wrote: > > If you do the lsof before and then after the unload, does the lsof still show the same filename as opened? > > -- Nathan > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > > this doesn't make sense to me… > > > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>>>> wrote: > > > > Nevermind. > > It's still not working. > > > > Couple of questions: > > I'm writing this I'm c++. Could that be causing problems? > > Here's my makefile. Is anything obvs causing trouble here: > > > > BASE=../../../.. > > include $(BASE)/build/modmake.rules > > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > > LOCAL_LDFLAGS+=-lboost_program_options > > strategy.o: strategy.cpp > > ladspa_strategy.o: ladspa_strategy.cpp > > dsp_strategy.o: dsp_strategy.cpp > > param_strategy.o: param_strategy.cpp > > load.o: load.cpp > > tokenizer.o: tokenizer.cpp > > validators.o: validators.cpp > > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > > local_depend: $(LOCAL_OBJS) > > > > Thanks, Chris > > > > > > > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <> <mailto:mandra@gmail.com <>> > <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>>');>> wrote: > > > > 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? > > Thanks, > > Chris > > > > On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <><mailto:mandra@gmail.com <>>>> wrote: > > > > Does that make anything come to mind? > > > > On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <><mailto:mandra@gmail.com <>>>> wrote: > > > > 1.6 > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org <> <mailto:krice@freeswitch.org <>> <mailto:krice@freeswitch.org <><mailto:krice@freeswitch.org <>>>> wrote: > > > > What version of FreeSWITCH are you building this against? ____ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > *From:*freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>> <mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>>> > > [mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>> <mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>>>] *On Behalf > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 10:37 AM > > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <> <mailto:freeswitch-users@lists.freeswitch.org <>> <mailto:freeswitch-users@lists.freeswitch.org <> <mailto:freeswitch-users@lists.freeswitch.org <>>>> > > *Subject:* [Freeswitch-users] module question____ > > > > __ __ > > > > I unload, wipe the file reload and it says it's reloaded > > This makes no sense > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>>> > wrote:____ > > > > 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 > > fly to test new changes. > > > > -- Nathan > > > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > > Have you completely shut FreeSwitch down? There is a chance when you unload a > module, that > > module doesn’t actually > > > unload, its still loaded, just deactivated. You can easily verify this by making > sure the .so > > for the module is gone, > > > and restarting FreeSWITCH completely. > > > > > > *From:*freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>> > <mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>>> > > [mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>> > <mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>>>] *On Behalf > > > Of *Chris Mandra > > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <> <mailto:freeswitch-users@lists.freeswitch.org <>> > <mailto:freeswitch-users@lists.freeswitch.org <> <mailto:freeswitch-users@lists.freeswitch.org <>>>> > > > *Subject:* Re: [Freeswitch-users] module question > > > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <> <mailto:nneul@mst.edu <>> > <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>>>> wrote: > > > > > > Is there any chance you are running freeswitch chroot'd? > > > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > > Thank you for writing Stephen, I've already tried that, and that's how I > know it's > > reporting what it's reporting > > > and how > > > > it doesn't make any sense. > > > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <> <mailto:steveayre@gmail.com <>> > <mailto:steveayre@gmail.com <> <mailto:steveayre@gmail.com <>>> <javascript:;> > > <mailto:steveayre@gmail.com <> <mailto:steveayre@gmail.com <>> <mailto:steveayre@gmail.com <> <mailto:steveayre@gmail.com <>>> > > > <javascript:;>>> wrote: > > > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the > 'lsof -p $PID | > > grep mod_' command... > > > it'll show > > > > you a list of the modules FreeSWITCH currently has loaded. See if it's > loading > > from a different path that way. > > > > > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> > <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> > <javascript:;>');>> wrote: > > > > > > > > Any other ideas? > > > > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> > <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> > <javascript:;>');>> wrote: > > > > > > > > Thanks for your responses so far guys. Italo, its only built > from source > > so I don't think that's the > > > issue. > > > > This is baffling. I've tried it in more one machine, same result. > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> > <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <javascript:;>> > > wrote: > > > > > > > > So, FS is reporting > > > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > <nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> > > <javascript:;>> wrote: > > > > > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > > > after i remove the .so files (and make sure they're > gone from my > > disk) it still reports it > > > successfully reloads > > > > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for > the path to > > the .so file that it > > > loaded. It's > > > > likely pulling it in > > > > from a different location. > > > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > PID_OF_FREESWITCH', then > > issue the reload, then kill the > > > > strace and look for what > > > > file/path it searched/etc. > > > > > > > > -- Nathan > > > > > > > > > ------------------------------------------------------------ > > > > Nathan Neulinger nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> > <javascript:;> > > > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> > <tel:%28573%29%20612-1412> > > <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > > > System Administrator - Architect > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;> > > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> > <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> > <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> > <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;> > > <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;>');> > > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;>');> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;> > > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > -- > > > ------------------------------------------------------------ > > > Nathan Neulingernneul@mst.edu <> <mailto:Neulingernneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> <javascript:;> > > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > > System Administrator - Architect > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;> > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > FreeSWITCH-users mailing list > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;> > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > FreeSWITCH-users mailing list > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > -- > > ------------------------------------------------------------ > > Nathan Neulingernneul@mst.edu <> <mailto:Neulingernneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > Official FreeSWITCH Sites > >http://www.freeswitch.org <http://www.freeswitch.org/> > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > >http://www.cluecon.com <http://www.cluecon.com/> > > > > FreeSWITCH-users mailing list > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > >http://www.freeswitch.org____ <http://www.freeswitch.org____/> > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>____ > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > Official FreeSWITCH Sites > >http://www.freeswitch.org <http://www.freeswitch.org/> > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > >http://www.cluecon.com <http://www.cluecon.com/> > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > > > > > > > > -- > > mandra > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.2 <tel:410.2>> > > <>> <mailto: <>> <mailto: <>> > > > >
-- mandra c:410.258.5281 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Michael, it happens with other things too not just boost. things that aren't shared libraries. I'm wondering if this is bc of C++ or my makefile. Am I doing something obviously wrong here as far as freeswitch and my makefile is concerned? Is writing the module in advanced C++ an issue?: **************** include $(BASE)/build/modmake.rules LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive LOCAL_LDFLAGS+= strategy.o: strategy.cpp ladspa_strategy.o: ladspa_strategy.cpp dsp_strategy.o: dsp_strategy.cpp param_strategy.o: param_strategy.cpp load.o: load.cpp docopt.o: docopt.cpp LOCAL_OBJS+= ladspa_strategy.o strategy.o dsp_strategy.o load.o param_strategy.o docopt.o local_depend: $(LOCAL_OBJS) ARCH := $(shell getconf LONG_BIT) *************** If I load the module - even if I don't invoke the code - it doesn't unload. Having to restart FS each time I'm trying something is taking a lot of time. thanks, chris On Wednesday, March 9, 2016, Michael Jerris <mike@jerris.com> wrote:
sounds like a bug in boost or some sort of misuse..
On Mar 5, 2016, at 8:46 AM, Chris Mandra <mandra@gmail.com> wrote:
Hi guys. After much slething I figured it out: this line:
std::string const& s = po::validators::get_single_string(values);
this is something from boost::program_options
it throws an exception if it is false
and for some reason if that line is in my code, even if it's not invoked, causes the library to not unload. Do you know why this might be? Is there some flag I should throw in my makefile to allow the boost library to be used in a way that's more compatible with free switch? Thanks, Chris
On Friday, March 4, 2016, Nathan Neulinger <nneul@mst.edu> wrote:
No, what I mean was I don't see the symptom unloading various modules on my system. You should try the same (modules OTHER than yours) to see if the symtom is general or specific to your code.
-- Nathan
On 03/04/2016 01:01 PM, Chris Mandra wrote:
Hi Nathan - this is a module I'm working on, that's why it's not on your system. I know the problem is specific to my module, I'm trying to figure out why. freeswitch reports module unloaded, but lsof reports that fs is still talking to it, meaning freeswitch still reports it as open file.
chris
On Fri, Mar 4, 2016 at 1:15 PM, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu>> wrote:
I certainly don't see it with other modules on my system.
Are you able to test it with other modules on yours? i.e. try unloading something like mod_opus (unless you are using it). And see if the same behavior exists. If it doesn't, problem is specific to the module being unloaded.
-- Nathan
On 03/04/2016 12:10 PM, Chris Mandra wrote: > It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both? > > Am I the only one running into this sort of thing? > > thanks for all your help, > chris > > On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com<mailto: mandra@gmail.com>>> wrote: > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > after > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > both the same after loading and unloading > > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger < nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto: nneul@mst.edu>>> wrote: > > If you do the lsof before and then after the unload, does the lsof still show the same filename as opened? > > -- Nathan > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > > this doesn't make sense to me… > > > > On Friday, March 4, 2016, Chris Mandra < mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <mailto:mandra@gmail.com <mailto:mandra@gmail.com> <mailto: mandra@gmail.com <mailto:mandra@gmail.com>>>> wrote: > > > > Nevermind. > > It's still not working. > > > > Couple of questions: > > I'm writing this I'm c++. Could that be causing problems? > > Here's my makefile. Is anything obvs causing trouble here: > > > > BASE=../../../.. > > include $(BASE)/build/modmake.rules > > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > > LOCAL_LDFLAGS+=-lboost_program_options > > strategy.o: strategy.cpp > > ladspa_strategy.o: ladspa_strategy.cpp > > dsp_strategy.o: dsp_strategy.cpp > > param_strategy.o: param_strategy.cpp > > load.o: load.cpp > > tokenizer.o: tokenizer.cpp > > validators.o: validators.cpp > > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > > local_depend: $(LOCAL_OBJS) > > > > Thanks, Chris > > > > > > > > On Friday, March 4, 2016, Chris Mandra < mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com> > <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>');>> wrote: > > > > 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? > > Thanks, > > Chris > > > > On Thursday, March 3, 2016, Chris Mandra < mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>> wrote: > > > > Does that make anything come to mind? > > > > On Wednesday, March 2, 2016, Chris Mandra < mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>> wrote: > > > > 1.6 > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org <mailto:krice@freeswitch.org> <mailto: krice@freeswitch.org<mailto:krice@freeswitch.org>>> wrote: > > > > What version of FreeSWITCH are you building this against? ____ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > *From:* freeswitch-users-bounces@lists.freeswitch.org <mailto: freeswitch-users-bounces@lists.freeswitch.org> <mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto: freeswitch-users-bounces@lists.freeswitch.org>> > > [mailto: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> <mailto: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>>] *On Behalf > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 10:37 AM > > *To:* FreeSWITCH Users Help < freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org> <mailto: freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>>> > > *Subject:* [Freeswitch-users] module question____ > > > > __ __ > > > > I unload, wipe the file reload and it says it's reloaded > > This makes no sense > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu
> wrote:____ > > > > 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 > > fly to test new changes. > > > > -- Nathan > > > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > > Have you completely shut FreeSwitch down? There is a chance when you unload a > module, that > > module doesn’t actually > > > unload, its still loaded, just deactivated. You can easily verify this by making > sure the .so > > for the module is gone, > > > and restarting FreeSWITCH completely. > > > > > > *From:* freeswitch-users-bounces@lists.freeswitch.org <mailto: freeswitch-users-bounces@lists.freeswitch.org> > <mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> > > [mailto: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > <mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>>] *On Behalf > > > Of *Chris Mandra > > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto: freeswitch-users@lists.freeswitch.org> > <mailto:freeswitch-users@lists.freeswitch.org <mailto: freeswitch-users@lists.freeswitch.org>>> > > > *Subject:* Re: [Freeswitch-users] module question > > > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> > <mailto:nneul@mst.edu <mailto:nneul@mst.edu>> <mailto: nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>>>> wrote: > > > > > > Is there any chance you are running freeswitch chroot'd? > > > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > > Thank you for writing Stephen, I've already tried that, and that's how I > know it's > > reporting what it's reporting > > > and how > > > > it doesn't make any sense. > > > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com> > <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com>> <javascript:;> > > <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com> <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com>> > > > <javascript:;>>> wrote: > > > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the > 'lsof -p $PID | > > grep mod_' command... > > > it'll show > > > > you a list of the modules FreeSWITCH currently has loaded. See if it's > loading > > from a different path that way. > > > > > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> > <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto: mandra@gmail.com>> > <javascript:;>');>> wrote: > > > > > > > > Any other ideas? > > > > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto:mandra@gmail.com> > <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto: mandra@gmail.com>> > <javascript:;>');>> wrote: > > > > > > > > Thanks for your responses so far guys. Italo, its only built > from source > > so I don't think that's the > > > issue. > > > > This is baffling. I've tried it in more one machine, same result. > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <mailto: mandra@gmail.com> > <mailto:mandra@gmail.com <mailto:mandra@gmail.com>> <javascript:;>> > > wrote: > > > > > > > > So, FS is reporting > > > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > <nneul@mst.edu <mailto:nneul@mst.edu> <mailto: nneul@mst.edu <mailto:nneul@mst.edu>> > > <javascript:;>> wrote: > > > > > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > > after i remove the .so files (and make sure they're > gone from my > > disk) it still reports it > > > successfully reloads > > > > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for > the path to > > the .so file that it > > > loaded. It's > > > > likely pulling it in > > > > from a different location. > > > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > PID_OF_FREESWITCH', then > > issue the reload, then kill the > > > > strace and look for what > > > > file/path it searched/etc. > > > > > > > > -- Nathan > > > > > > > > >
> > > >
Nathan Neulinger nneul@mst.edu
<mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu
> <javascript:;> > > > >
Missouri S&T Information Technology(573) 612-1412 < tel:%28573%29%20612-1412 <%28573%29%20612-1412>>
> <tel:%28573%29%20612-1412 <%28573%29%20612-1412>> > > <tel:%28573%29%20612-1412
<%28573%29%20612-1412>> <tel:%28573%29%20612-1412 <%28573%29%20612-1412>>
> > > >
System Administrator - Architect
> > > > > > > > > >
_________________________________________________________________________
> > > >
Professional FreeSWITCH Consulting Services:
> > > >
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
<mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>>
<javascript:;>
> > > >
http://www.freeswitchsolutions.com
> > > > > > > >
Official FreeSWITCH Sites
> > > >
> > > >
http://confluence.freeswitch.org
> > > >http://www.cluecon.com > > > > > > > >
FreeSWITCH-users mailing list
> > > >
FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:
FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;> > > > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > >
> > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:
410.258.5281 <tel:410.258.5281 <410.258.5281>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>
> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281
<410.258.5281>>>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>> <tel:410.258.5281 <410.258.5281>
<tel:410.258.5281 <410.258.5281>>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:
410.258.5281 <tel:410.258.5281 <410.258.5281>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>
> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281
<410.258.5281>>>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>> <tel:410.258.5281 <410.258.5281>
<tel:410.258.5281 <410.258.5281>>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:
410.258.5281 <tel:410.258.5281 <410.258.5281>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>
> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281
<410.258.5281>>>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>> <tel:410.258.5281 <410.258.5281>
<tel:410.258.5281 <410.258.5281>>>> > > > > > > > >
_________________________________________________________________________
> > > > Professional
FreeSWITCH Consulting Services:
> > > >
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
<mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>>
<javascript:;>
> > <javascript:_e(%7B%7D,'cvml','
consulting@freeswitch.org
<mailto:consulting@freeswitch.org> <mailto:
consulting@freeswitch.org <mailto:consulting@freeswitch.org>>
<javascript:;>');> > > > >
http://www.freeswitchsolutions.com
> > > > > > > > Official
FreeSWITCH Sites
> > > >
> > > >
http://confluence.freeswitch.org
> > > >http://www.cluecon.com > > > > > > > >
FreeSWITCH-users mailing list
> > > >
FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:
FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;> > > >
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:
FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;>');> > > > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > >
> > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <
tel:410.258.5281 <410.258.5281>> <tel:410.258.5281 <410.258.5281>
<tel:410.258.5281 <410.258.5281>>> <tel:410.258.5281 <410.258.5281>
<tel:410.258.5281 <410.258.5281>> <tel:410.258.5281 <410.258.5281> < tel:410.258.5281 <410.258.5281>>>>
> > > > > > > > > > > >
_________________________________________________________________________
> > > > Professional
FreeSWITCH Consulting Services:
> > > >
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
<mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>>
<javascript:;>
> > > >
http://www.freeswitchsolutions.com
> > > > > > > > Official FreeSWITCH
Sites
> > > >
> > > >
http://confluence.freeswitch.org
> > > >http://www.cluecon.com > > > > > > > > FreeSWITCH-users
mailing list
> > > >
FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:
FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;> > > > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > > >
> > > > > > > > > > -- > > >
------------------------------------------------------------
> > > Nathan
Neulingernneul@mst.edu <mailto:Neulingernneul@mst.edu>
<mailto:nneul@mst.edu <mailto:nneul@mst.edu>> <javascript:;> > > > Missouri S&T
Information Technology(573) 612-1412
<tel:%28573%29%20612-1412 <%28573%29%20612-1412>> <
tel:%28573%29%20612-1412 <%28573%29%20612-1412>> < tel:%28573%29%20612-1412 <%28573%29%20612-1412>>
> > > System Administrator -
Architect
> > > > > >
_________________________________________________________________________
> > > Professional FreeSWITCH
Consulting Services:
> > >consulting@freeswitch.org
<mailto:consulting@freeswitch.org>
<mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>>
<javascript:;>
> > >
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@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:
FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;> > > >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> > >http://www.freeswitch.org > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 <
tel:410.258.5281 <410.258.5281>> <tel:410.258.5281 <410.258.5281> < tel:410.258.5281 <410.258.5281>>>
<tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>
<tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>>>
> > > > > > > > > > > >
_________________________________________________________________________
> > > Professional FreeSWITCH
Consulting Services:
> > >consulting@freeswitch.org
<mailto:consulting@freeswitch.org>
<mailto:consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:
FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@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 Neulingernneul@mst.edu
<mailto:Neulingernneul@mst.edu>
<mailto:nneul@mst.edu <mailto:nneul@mst.edu>> > > Missouri S&T Information
Technology(573) 612-1412 <tel:%28573%29%20612-1412 <%28573%29%20612-1412>
<tel:%28573%29%20612-1412 <%28573%29%20612-1412>> <
tel:%28573%29%20612-1412 <%28573%29%20612-1412>>
> > System Administrator - Architect > > > >
_________________________________________________________________________
> > Professional FreeSWITCH
Consulting Services:
> >consulting@freeswitch.org <mailto:
consulting@freeswitch.org> <mailto:consulting@freeswitch.org
<mailto:consulting@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@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>
<mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> >http://www.freeswitch.org____ > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281
<410.258.5281>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>>
<tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>
<tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>>>____
> > > > > >
_________________________________________________________________________
> > Professional FreeSWITCH Consulting
Services:
> > consulting@freeswitch.org <mailto:
consulting@freeswitch.org> <mailto:consulting@freeswitch.org
<mailto:consulting@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@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>
<mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:
FreeSWITCH-users@lists.freeswitch.org>>
> >
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-users
> >http://www.freeswitch.org > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281
<410.258.5281>> <tel:410.258.5281 <410.258.5281> <tel:410.258.5281 <410.258.5281>>>
> > > > > > > > -- > > mandra > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281 <410.258.5281>> <
tel:410.258.5281 <410.258.5281> <tel:410.2 <410.2>> > > > <mailto:> <mailto:> > > > >
Nothing i can see wrong in the makefile. We have modules that use C++ that work fine, although i have never seen anyone refer to something called "advanced C++" so not sure exactly what that is.
On Mar 9, 2016, at 6:47 PM, Chris Mandra <mandra@gmail.com> wrote:
Hi Michael, it happens with other things too not just boost. things that aren't shared libraries. I'm wondering if this is bc of C++ or my makefile. Am I doing something obviously wrong here as far as freeswitch and my makefile is concerned? Is writing the module in advanced C++ an issue?:
****************
include $(BASE)/build/modmake.rules
LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive
LOCAL_LDFLAGS+=
strategy.o: strategy.cpp
ladspa_strategy.o: ladspa_strategy.cpp
dsp_strategy.o: dsp_strategy.cpp
param_strategy.o: param_strategy.cpp
load.o: load.cpp
docopt.o: docopt.cpp
LOCAL_OBJS+= ladspa_strategy.o strategy.o dsp_strategy.o load.o param_strategy.o docopt.o
local_depend: $(LOCAL_OBJS)
ARCH := $(shell getconf LONG_BIT)
***************
If I load the module - even if I don't invoke the code - it doesn't unload. Having to restart FS each time I'm trying something is taking a lot of time.
thanks, chris
On Wednesday, March 9, 2016, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote: sounds like a bug in boost or some sort of misuse..
On Mar 5, 2016, at 8:46 AM, Chris Mandra <mandra@gmail.com <>> wrote:
Hi guys. After much slething I figured it out: this line:
std::string const& s = po::validators::get_single_string(values);
this is something from boost::program_options
it throws an exception if it is false
and for some reason if that line is in my code, even if it's not invoked, causes the library to not unload. Do you know why this might be? Is there some flag I should throw in my makefile to allow the boost library to be used in a way that's more compatible with free switch? Thanks, Chris
On Friday, March 4, 2016, Nathan Neulinger <nneul@mst.edu <>> wrote: No, what I mean was I don't see the symptom unloading various modules on my system. You should try the same (modules OTHER than yours) to see if the symtom is general or specific to your code.
-- Nathan
On 03/04/2016 01:01 PM, Chris Mandra wrote:
Hi Nathan - this is a module I'm working on, that's why it's not on your system. I know the problem is specific to my module, I'm trying to figure out why. freeswitch reports module unloaded, but lsof reports that fs is still talking to it, meaning freeswitch still reports it as open file.
chris
On Fri, Mar 4, 2016 at 1:15 PM, Nathan Neulinger <nneul@mst.edu <> <mailto:nneul@mst.edu <>>> wrote:
I certainly don't see it with other modules on my system.
Are you able to test it with other modules on yours? i.e. try unloading something like mod_opus (unless you are using it). And see if the same behavior exists. If it doesn't, problem is specific to the module being unloaded.
-- Nathan
On 03/04/2016 12:10 PM, Chris Mandra wrote: > It seems to me that the problem is that the library is not being unloaded, or it's not properly loaded or both? > > Am I the only one running into this sort of thing? > > thanks for all your help, > chris > > On Fri, Mar 4, 2016 at 10:49 AM, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <><mailto:mandra@gmail.com <>>>> wrote: > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > after > > freeswitc 10760 freeswitch DEL REG 8,1 157457 /usr/local/freeswitch/mod/mod_skeleton.so > > both the same after loading and unloading > > > On Fri, Mar 4, 2016 at 9:16 AM, Nathan Neulinger <nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>>> wrote: > > If you do the lsof before and then after the unload, does the lsof still show the same filename as opened? > > -- Nathan > > On 03/04/2016 07:53 AM, Chris Mandra wrote: > > And I want to stress, that I delete the file from disc unload the module, reload the module and it says it loads, so > > this doesn't make sense to me… > > > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>>>> wrote: > > > > Nevermind. > > It's still not working. > > > > Couple of questions: > > I'm writing this I'm c++. Could that be causing problems? > > Here's my makefile. Is anything obvs causing trouble here: > > > > BASE=../../../.. > > include $(BASE)/build/modmake.rules > > LOCAL_CFLAGS=-I./include -std=c++0x -DBUILD_VERSION=\"$(BUILD_VERSION)\" -Iinclude$(LOCAL_CFLAGS_$(ARCH)) -fpermissive > > LOCAL_LDFLAGS+=-lboost_program_options > > strategy.o: strategy.cpp > > ladspa_strategy.o: ladspa_strategy.cpp > > dsp_strategy.o: dsp_strategy.cpp > > param_strategy.o: param_strategy.cpp > > load.o: load.cpp > > tokenizer.o: tokenizer.cpp > > validators.o: validators.cpp > > LOCAL_OBJS+=ladspa_strategy.o strategy.o dsp_strategy.o load.o tokenizer.o param_strategy.o > > local_depend: $(LOCAL_OBJS) > > > > Thanks, Chris > > > > > > > > On Friday, March 4, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <> <mailto:mandra@gmail.com <>> > <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>>');>> wrote: > > > > 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? > > Thanks, > > Chris > > > > On Thursday, March 3, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <><mailto:mandra@gmail.com <>>>> wrote: > > > > Does that make anything come to mind? > > > > On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <><mailto:mandra@gmail.com <>>>> wrote: > > > > 1.6 > > > > On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org <> <mailto:krice@freeswitch.org <>> <mailto:krice@freeswitch.org <><mailto:krice@freeswitch.org <>>>> wrote: > > > > What version of FreeSWITCH are you building this against? ____ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > __ __ > > > > *From:*freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>> <mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>>> > > [mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>> <mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>>>] *On Behalf > Of *Chris Mandra > > *Sent:* Wednesday, March 2, 2016 10:37 AM > > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <> <mailto:freeswitch-users@lists.freeswitch.org <>> <mailto:freeswitch-users@lists.freeswitch.org <> <mailto:freeswitch-users@lists.freeswitch.org <>>>> > > *Subject:* [Freeswitch-users] module question____ > > > > __ __ > > > > I unload, wipe the file reload and it says it's reloaded > > This makes no sense > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>>> > wrote:____ > > > > 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 > > fly to test new changes. > > > > -- Nathan > > > > On 03/02/2016 08:59 AM, Ken Rice wrote: > > > Have you completely shut FreeSwitch down? There is a chance when you unload a > module, that > > module doesn’t actually > > > unload, its still loaded, just deactivated. You can easily verify this by making > sure the .so > > for the module is gone, > > > and restarting FreeSWITCH completely. > > > > > > *From:*freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>> > <mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>>> > > [mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>> > <mailto:freeswitch-users-bounces@lists.freeswitch.org <> <mailto:freeswitch-users-bounces@lists.freeswitch.org <>>>] *On Behalf > > > Of *Chris Mandra > > > *Sent:* Wednesday, March 2, 2016 8:30 AM > > > *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <> <mailto:freeswitch-users@lists.freeswitch.org <>> > <mailto:freeswitch-users@lists.freeswitch.org <> <mailto:freeswitch-users@lists.freeswitch.org <>>>> > > > *Subject:* Re: [Freeswitch-users] module question > > > > > > No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile? > > > > > > On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <> <mailto:nneul@mst.edu <>> > <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>>>> wrote: > > > > > > Is there any chance you are running freeswitch chroot'd? > > > > > > On 03/02/2016 06:14 AM, Chris Mandra wrote: > > > > Thank you for writing Stephen, I've already tried that, and that's how I > know it's > > reporting what it's reporting > > > and how > > > > it doesn't make any sense. > > > > > > > > Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <> <mailto:steveayre@gmail.com <>> > <mailto:steveayre@gmail.com <> <mailto:steveayre@gmail.com <>>> <javascript:;> > > <mailto:steveayre@gmail.com <> <mailto:steveayre@gmail.com <>> <mailto:steveayre@gmail.com <> <mailto:steveayre@gmail.com <>>> > > > <javascript:;>>> wrote: > > > > > > > > When the file is loaded use find FreeSWITCH's PID and then use the > 'lsof -p $PID | > > grep mod_' command... > > > it'll show > > > > you a list of the modules FreeSWITCH currently has loaded. See if it's > loading > > from a different path that way. > > > > > > > > On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> > <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> > <javascript:;>');>> wrote: > > > > > > > > Any other ideas? > > > > > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> > <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <> <mailto:mandra@gmail.com <>> <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> > <javascript:;>');>> wrote: > > > > > > > > Thanks for your responses so far guys. Italo, its only built > from source > > so I don't think that's the > > > issue. > > > > This is baffling. I've tried it in more one machine, same result. > > > > > > > > On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <> <mailto:mandra@gmail.com <>> > <mailto:mandra@gmail.com <> <mailto:mandra@gmail.com <>>> <javascript:;>> > > wrote: > > > > > > > > So, FS is reporting > > > > > > > > reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so > > > > > > > > however that file doesn’t even exist > > > > > > > > and yet it still says it’s loading it > > > > > > > > how is that possible? > > > > > > > > > > > > On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger > <nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> > > <javascript:;>> wrote: > > > > > > > > > > > > > > > > On 03/01/2016 09:41 AM, Chris Mandra wrote: > > > > > thanks for the reply Nathan - this is really weird: > > > > > > > > > > after i remove the .so files (and make sure they're > gone from my > > disk) it still reports it > > > successfully reloads > > > > > > > > > > > > > Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for > the path to > > the .so file that it > > > loaded. It's > > > > likely pulling it in > > > > from a different location. > > > > > > > > Or 'strace -v -f -s 500 -o /tmp/trc -p > PID_OF_FREESWITCH', then > > issue the reload, then kill the > > > > strace and look for what > > > > file/path it searched/etc. > > > > > > > > -- Nathan > > > > > > > > > ------------------------------------------------------------ > > > > Nathan Neulinger nneul@mst.edu <> <mailto:nneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> > <javascript:;> > > > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> > <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> > > <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> > > > > System Administrator - Architect > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;> > > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>> > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> > <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>> > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;> > > <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;>');> > > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;> > > > <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;>');> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > > > > > > > > > > > -- > > > > mandra > > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>> > > > > > > > > > > > > _________________________________________________________________________ > > > > Professional FreeSWITCH Consulting Services: > > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;> > > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > > > Official FreeSWITCH Sites > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > > > FreeSWITCH-users mailing list > > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;> > > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > -- > > > ------------------------------------------------------------ > > > Nathan Neulingernneul@mst.edu <> <mailto:Neulingernneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> <javascript:;> > > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> > > > System Administrator - Architect > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> <javascript:;> > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > FreeSWITCH-users mailing list > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> <javascript:;> > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > > > -- > > > mandra > > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>> > > > > > > > > > > > > _________________________________________________________________________ > > > Professional FreeSWITCH Consulting Services: > > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> > > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > > > Official FreeSWITCH Sites > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > > >http://www.cluecon.com <http://www.cluecon.com/> > > > > > > FreeSWITCH-users mailing list > > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> > > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > -- > > ------------------------------------------------------------ > > Nathan Neulingernneul@mst.edu <> <mailto:Neulingernneul@mst.edu <>> <mailto:nneul@mst.edu <> <mailto:nneul@mst.edu <>>> > > Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> <tel:%28573%29%20612-1412 <tel:%28573%29%20612-1412>> > > System Administrator - Architect > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > >consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > Official FreeSWITCH Sites > >http://www.freeswitch.org <http://www.freeswitch.org/> > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > >http://www.cluecon.com <http://www.cluecon.com/> > > > > FreeSWITCH-users mailing list > >FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > >http://www.freeswitch.org____ <http://www.freeswitch.org____/> > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>>>____ > > > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>> <mailto:consulting@freeswitch.org <> <mailto:consulting@freeswitch.org <>>> > >http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> > > > > Official FreeSWITCH Sites > >http://www.freeswitch.org <http://www.freeswitch.org/> > >http://confluence.freeswitch.org <http://confluence.freeswitch.org/> > >http://www.cluecon.com <http://www.cluecon.com/> > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>> <mailto:FreeSWITCH-users@lists.freeswitch.org <> <mailto:FreeSWITCH-users@lists.freeswitch.org <>>> > >http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> > >http://www.freeswitch.org <http://www.freeswitch.org/> > > > > > > > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>>> > > > > > > > > -- > > mandra > > > > -- > > mandra > > c:410.258.5281 <tel:410.258.5281> <tel:410.258.5281 <tel:410.258.5281>> <tel:410.258.5281 <tel:410.258.5281> <tel:410.2 <tel:410.2>> > > <>> <mailto: <>> <mailto: <>> > > > >
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Piotr, here you go: g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.9.2 (Debian 4.9.2-10) On Thu, Mar 10, 2016 at 6:42 AM, Piotr Gregor <piotrek.gregor@gmail.com> wrote:
Chris, could you show us the output of g++ -v please?
cheers, Piotr
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
Hi Chris, -fpermissive flag might hide some nasty errors. It is described as: "Downgrade some diagnostics about nonconformant code from errors to warnings. Thus, using -fpermissive allows some nonconforming code to compile." Will your module compile without -fpermissive flag? cheers, Piotr On 10 March 2016 at 12:43, Chris Mandra <mandra@gmail.com> wrote:
Hi Piotr, here you go:
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
On Thu, Mar 10, 2016 at 6:42 AM, Piotr Gregor <piotrek.gregor@gmail.com> wrote:
Chris, could you show us the output of g++ -v please?
cheers, Piotr
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Piotr Gregor ----------------------------------------------------------------------------- mobile: 00447503707797 ------------------------------------------------------------------------------
I'll let you know what I find with the fpermissive flag removed. Is there anything special I need to do if I'm if I'm writing module in C++, for instance do I need to explicitly use swig or something? Is there a set of predefined variables and directives or best practices that I should be following for this? Thanks, Chris On Thursday, March 10, 2016, Piotr Gregor <piotrek.gregor@gmail.com> wrote:
Hi Chris, -fpermissive flag might hide some nasty errors. It is described as: "Downgrade some diagnostics about nonconformant code from errors to warnings. Thus, using -fpermissive allows some nonconforming code to compile." Will your module compile without -fpermissive flag?
cheers, Piotr
On 10 March 2016 at 12:43, Chris Mandra <mandra@gmail.com <javascript:_e(%7B%7D,'cvml','mandra@gmail.com');>> wrote:
Hi Piotr, here you go:
g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.9.2-10' --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.9 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.9-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.9-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.9.2 (Debian 4.9.2-10)
On Thu, Mar 10, 2016 at 6:42 AM, Piotr Gregor <piotrek.gregor@gmail.com <javascript:_e(%7B%7D,'cvml','piotrek.gregor@gmail.com');>> wrote:
Chris, could you show us the output of g++ -v please?
cheers, Piotr
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@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@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Piotr Gregor
----------------------------------------------------------------------------- mobile: 00447503707797
------------------------------------------------------------------------------
-- mandra c:410.258.5281
Hi Chris, have you fixed your problems with module reloading? cheers, Piotr
I'd try the strace route or throw some debug in switch_loadable module. Where is the module actually being installed if not in the mod directory?
On Mar 2, 2016, at 10:13 AM, Nathan Neulinger <nneul@mst.edu> wrote:
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 fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote:
Have you completely shut FreeSwitch down? There is a chance when you unload a module, that module doesn’t actually unload, its still loaded, just deactivated. You can easily verify this by making sure the .so for the module is gone, and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf Of *Chris Mandra *Sent:* Wednesday, March 2, 2016 8:30 AM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@lists.freeswitch.org>> *Subject:* Re: [Freeswitch-users] module question
No, not chroot'd. I'm compiling a bunch of my own classes, could be my makefile?
On Wednesday, March 2, 2016, Nathan Neulinger <nneul@mst.edu <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote:
Thank you for writing Stephen, I've already tried that, and that's how I know it's reporting what it's reporting and how it doesn't make any sense.
Fs is reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Wednesday, March 2, 2016, Steven Ayre <steveayre@gmail.com <javascript:;> <mailto:steveayre@gmail.com <javascript:;>>> wrote:
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command... it'll show you a list of the modules FreeSWITCH currently has loaded. See if it's loading from a different path that way.
On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote:
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote:
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the issue. This is baffling. I've tried it in more one machine, same result.
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>> wrote:
So, FS is reporting
reporting this: /usr/local/freeswitch/mod/mod_test_dsp.so
however that file doesn’t even exist
and yet it still says it’s loading it
how is that possible?
On Tue, Mar 1, 2016 at 12:34 PM, Nathan Neulinger <nneul@mst.edu <javascript:;>> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote:
thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it loaded. It's likely pulling it in from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p PID_OF_FREESWITCH', then issue the reload, then kill the strace and look for what file/path it searched/etc.
-- Nathan
------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 <tel:%28573%29%20612-1412> System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
-- mandra c:410.258.5281 <tel:410.258.5281>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org <javascript:;>');> 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@lists.freeswitch.org <javascript:;> <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;>');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <javascript:;> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:;> 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@lists.freeswitch.org <javascript:;> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
You have, by any chance, installed FS with packages and then switched to compiling from source? 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 you are in fact starting the compiled from source one.. Ítalo Rossi italo@freeswitch.org IRC chat.freenode.net #freeswitch #freeswitch-dev Bugs? https://freeswitch.org/jira Docs? https://freeswitch.org/jira Chat? https://hipchat.freeswitch.org/gUdAgy0m6
On Mar 1 2016, at 12:44 pm, Chris Mandra <mandra@gmail.com> wrote:
thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're gone from my disk) it still reports it successfully reloads
__
[_[___](https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049)
[10:33](https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049)
[_]___](https://soniccloud.slack.com/archives/D02UEC39S/p1456846404000049)
freeswitch@internal> reload mod_sc_dsp
+OK Reloading XML
+OK module unloaded
+OK module loaded
2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:978 Deleting Application 'test_dsp_run'
2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:980 Write lock interface 'test_dsp_run' to wait for existing references.
2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:1033 Deleting API Function 'uuid_test_dsp'
2016-03-01 15:33:05.511747 [DEBUG] switch_loadable_module.c:1035 Write lock interface 'uuid_test_dsp' to wait for existing references.
2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1876 Stopping: mod_test_dsp
2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1896 mod_test_dsp unloaded.
2016-03-01 15:33:05.511747 [INFO] mod_enum.c:876 ENUM Reloaded
2016-03-01 15:33:05.511747 [CONSOLE] switch_loadable_module.c:1409 Successfully Loaded [mod_test_dsp]
2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:267 Adding Application 'test_dsp_run'
2016-03-01 15:33:05.511747 [NOTICE] switch_loadable_module.c:313 Adding API Function 'uuid_test_dsp'
2016-03-01 15:33:05.511747 [INFO] switch_time.c:1191 Timezone reloaded 530 definitions
freeswitch@internal> freeswitch@internal>
[_[___](https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050)
[10:33](https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050)
[_]___](https://soniccloud.slack.com/archives/D02UEC39S/p1456846407000050)
how is that possible -what does it mean if when i delete the shared objects it still reports loading?
On Tue, Mar 1, 2016 at 9:33 AM, Nathan Neulinger <[nneul@mst.edu](mailto:nneul@mst.edu)> wrote:
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@gmail.com](mailto:mandra@gmail.com) <mailto:[mandra@gmail.com](mailto:mandra@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#Reloa ding_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@freeswitch.org](mailto:consulting@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@lists.freeswitch.org](mailto:FreeSWITCH- users@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@mst.edu](mailto:nneul@mst.edu) Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect _________________________________________________________________________ Professional FreeSWITCH Consulting Services: [consulting@freeswitch.org](mailto:consulting@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@lists.freeswitch.org](mailto:FreeSWITCH- users@lists.freeswitch.org) <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:<http://lists.freeswitch.org/mailman/options/freeswitch-users> <http://www.freeswitch.org>
\--
mandra c:410.258.5281
participants (8)
-
Chris Mandra
-
Ken Rice
-
Kevin Wormington
-
Michael Jerris
-
Nathan Neulinger
-
Piotr Gregor
-
Steven Ayre
-
Ítalo Rossi