VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
krice at freeswitch.org Guest
|
Posted: Wed Mar 02, 2016 10:02 am Post subject: [Freeswitch-users] module question |
|
|
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 (nneul@mst.edu)> wrote: Quote: |
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote:
Quote: | 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 <[url=javascript:;]steveayre@gmail.com[/url] <mailto:[url=javascript:;]steveayre@gmail.com[/url]>> 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 <[url=javascript:;]mandra@gmail.com[/url] <javascript:_e(%7B%7D,'cvml','[url=javascript:;]mandra@gmail.com[/url]');>> wrote:
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <[url=javascript:;]mandra@gmail.com[/url] <javascript:_e(%7B%7D,'cvml','[url=javascript:;]mandra@gmail.com[/url]');>> 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 <[url=javascript:;]mandra@gmail.com[/url]> 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 <[url=javascript:;]nneul@mst.edu[/url]> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote:
Quote: | 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 [url=javascript:;]nneul@mst.edu[/url]
Missouri S&T Information Technology (573) 612-1412 <[url=tel:%28573%29%20612-1412]tel:%28573%29%20612-1412[/url]>
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
[url=javascript:;]consulting@freeswitch.org[/url]
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
[url=javascript:;]FreeSWITCH-users@lists.freeswitch.org[/url]
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 <[url=tel:410.258.5281]tel:410.258.5281[/url]>
--
mandra
c:410.258.5281 <[url=tel:410.258.5281]tel:410.258.5281[/url]>
--
mandra
c:410.258.5281 <[url=tel:410.258.5281]tel:410.258.5281[/url]>
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
[url=javascript:;]consulting@freeswitch.org[/url] <javascript:_e(%7B%7D,'cvml','[url=javascript:;]consulting@freeswitch.org[/url]');>
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
[url=javascript:;]FreeSWITCH-users@lists.freeswitch.org[/url] <javascript:_e(%7B%7D,'cvml','[url=javascript:;]FreeSWITCH-users@lists.freeswitch.org[/url]');>
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:
[url=javascript:;]consulting@freeswitch.org[/url]
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
[url=javascript:;]FreeSWITCH-users@lists.freeswitch.org[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
------------------------------------------------------------
Nathan Neulinger [url=javascript:;]nneul@mst.edu[/url]
Missouri S&T Information Technology (573) 612-1412
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
[url=javascript:;]consulting@freeswitch.org[/url]
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
[url=javascript:;]FreeSWITCH-users@lists.freeswitch.org[/url]
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 |
|
Back to top |
|
|
nneul at mst.edu Guest
|
Posted: Wed Mar 02, 2016 10:15 am Post subject: [Freeswitch-users] module question |
|
|
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:
Quote: | 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:
Quote: | 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
Quote: | 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:
Quote: |
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command...
| it'll show
Quote: | 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:
Quote: |
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>
| <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote:
Quote: |
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the
| issue.
Quote: | 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:
Quote: | 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
Quote: |
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it
| loaded. It's
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;>');>
--
------------------------------------------------------------
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
_________________________________________________________________________
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 |
|
Back to top |
|
|
mandra at gmail.com Guest
|
Posted: Wed Mar 02, 2016 11:38 am Post 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 <[url=javascript:_e(%7B%7D,'cvml','nneul@mst.edu');]nneul@mst.edu[/url]> wrote:
Quote: | 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:
Quote: | 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
_________________________________________________________________________
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 |
|
Back to top |
|
|
krice at freeswitch.org Guest
|
Posted: Wed Mar 02, 2016 11:59 am Post subject: [Freeswitch-users] module question |
|
|
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 <[url=javascript:_e(%7B%7D,'cvml','nneul@mst.edu');]nneul@mst.edu[/url]> wrote: Quote: |
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:
Quote: | 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 (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 ([email]nneul@mst.edu%20%3cmailto:nneul@mst.edu[/email])>> wrote:
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote:
Quote: | 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
Quote: | 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:; ([email]steveayre@gmail.com%20%3cjavascript:;[/email])> <mailto:steveayre@gmail.com
| <javascript:;>>> wrote:
Quote: |
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID | grep mod_' command...
| it'll show
Quote: | 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:; ([email]mandra@gmail.com%20%3cjavascript:;[/email])>
| <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote:
Quote: |
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:; ([email]mandra@gmail.com%20%3cjavascript:;[/email])>
| <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote:
Quote: |
Thanks for your responses so far guys. Italo, its only built from source so I don't think that's the
| issue.
Quote: | This is baffling. I've tried it in more one machine, same result.
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:; ([email]mandra@gmail.com%20%3cjavascript:;[/email])>> 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:; ([email]nneul@mst.edu%20%3cjavascript:;[/email])>> wrote:
On 03/01/2016 09:41 AM, Chris Mandra wrote:
Quote: | 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
Quote: |
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to the .so file that it
| loaded. It's
<javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org <javascript:;>');>
--
------------------------------------------------------------
Nathan Neulinger nneul@mst.edu (nneul@mst.edu) <javascript:;>
Missouri S&T Information Technology (573) 612-1412
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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 (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 (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 (nneul@mst.edu)
Missouri S&T Information Technology (573) 612-1412
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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 |
|
Back to top |
|
|
mandra at gmail.com Guest
|
Posted: Wed Mar 02, 2016 1:02 pm Post subject: [Freeswitch-users] module question |
|
|
1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org (krice@freeswitch.org)> wrote:
Quote: |
What version of FreeSWITCH are you building this against?
Â
Â
Â
Â
Â
From: freeswitch-users-bounces@lists.freeswitch.org (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 10:37 AM
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (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: Quote: |
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:
Quote: | 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 (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 (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 ([email]nneul@mst.edu%20%3cmailto:nneul@mst.edu[/email])>> 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:; ([email]steveayre@gmail.com%20%3cjavascript:;[/email])> <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:; ([email]mandra@gmail.com%20%3cjavascript:;[/email])>
   <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (mandra@gmail.com) <javascript:;>');>> wrote:
   >
   >     Any other ideas?
   >
   >
   >     On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:; ([email]mandra@gmail.com%20%3cjavascript:;[/email])>
   <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (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:; ([email]mandra@gmail.com%20%3cjavascript:;[/email])>> 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:; ([email]nneul@mst.edu%20%3cjavascript:;[/email])>> 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 (nneul@mst.edu) <javascript:;>
   >           Missouri S&T Information Technology [url=tel:%28573%29%20612-1412](573) 612-1412[/url] <[url=tel:%28573%29%20612-1412]tel:%28573%29%20612-1412[/url]>
   >           System Administrator - Architect
   >
   >           _________________________________________________________________________
   >           Professional FreeSWITCH Consulting Services:
   > consulting@freeswitch.org (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 (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:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >       --
   >       mandra
   >       c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >     --
   >     mandra
   >     c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >     _________________________________________________________________________
   >     Professional FreeSWITCH Consulting Services:
   > consulting@freeswitch.org (consulting@freeswitch.org) <javascript:;> <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <javascript:;>
   <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org (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:[url=tel:410.258.5281]410.258.5281[/url]
   >
   >
   > _________________________________________________________________________
   > Professional FreeSWITCH Consulting Services:
   > consulting@freeswitch.org (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 (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 (nneul@mst.edu) <javascript:;>
   Missouri S&T Information Technology  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
   System Administrator - Architect
   _________________________________________________________________________
   Professional FreeSWITCH Consulting Services:
   consulting@freeswitch.org (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 (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:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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 (nneul@mst.edu)
Missouri S&T Information Technology  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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 |
|
Back to top |
|
|
mandra at gmail.com Guest
|
Posted: Thu Mar 03, 2016 8:09 am Post subject: [Freeswitch-users] module question |
|
|
Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com (mandra@gmail.com)> wrote:
Quote: | 1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <[url=javascript:_e(%7B%7D,'cvml','krice@freeswitch.org');]krice@freeswitch.org[/url]> wrote:
Quote: |
What version of FreeSWITCH are you building this against?
Â
Â
Â
Â
Â
From: [url=javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');]freeswitch-users-bounces@lists.freeswitch.org[/url] [mailto:[url=javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');]freeswitch-users-bounces@lists.freeswitch.org[/url]] On Behalf Of Chris Mandra
Sent: Wednesday, March 2, 2016 10:37 AM
To: FreeSWITCH Users Help <[url=javascript:_e(%7B%7D,'cvml','freeswitch-users@lists.freeswitch.org');]freeswitch-users@lists.freeswitch.org[/url]>
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: Quote: |
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:
Quote: | 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:*[url=javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');]freeswitch-users-bounces@lists.freeswitch.org[/url] [[url=javascript:_e(%7B%7D,'cvml','freeswitch-users-bounces@lists.freeswitch.org');]mailto:freeswitch-users-bounces@lists.freeswitch.org[/url]] *On Behalf
Of *Chris Mandra
*Sent:* Wednesday, March 2, 2016 8:30 AM
*To:* FreeSWITCH Users Help <[url=javascript:_e(%7B%7D,'cvml','freeswitch-users@lists.freeswitch.org');]freeswitch-users@lists.freeswitch.org[/url]>
*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 <[url=javascript:_e(%7B%7D,'cvml','nneul@mst.edu+%5Cx3cmailto:nneul@mst.edu');]nneul@mst.edu <mailto:nneul@mst.edu[/url]>> 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 <[url=javascript:_e(%7B%7D,'cvml','steveayre@gmail.com+%5Cx3cjavascript:;');]steveayre@gmail.com <javascript:;[/url]> <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 <[url=javascript:_e(%7B%7D,'cvml','mandra@gmail.com+%5Cx3cjavascript:;');]mandra@gmail.com <javascript:;[/url]>
   <javascript:_e(%7B%7D,'cvml','[url=javascript:_e(%7B%7D,'cvml','mandra@gmail.com');]mandra@gmail.com[/url] <javascript:;>');>> wrote:
   >
   >     Any other ideas?
   >
   >
   >     On Tuesday, March 1, 2016, Chris Mandra <[url=javascript:_e(%7B%7D,'cvml','mandra@gmail.com+%5Cx3cjavascript:;');]mandra@gmail.com <javascript:;[/url]>
   <javascript:_e(%7B%7D,'cvml','[url=javascript:_e(%7B%7D,'cvml','mandra@gmail.com');]mandra@gmail.com[/url] <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 <[url=javascript:_e(%7B%7D,'cvml','mandra@gmail.com+%5Cx3cjavascript:;');]mandra@gmail.com <javascript:;[/url]>> 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 <[url=javascript:_e(%7B%7D,'cvml','nneul@mst.edu+%5Cx3cjavascript:;');]nneul@mst.edu <javascript:;[/url]>> 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 [url=javascript:_e(%7B%7D,'cvml','nneul@mst.edu');]nneul@mst.edu[/url] <javascript:;>
   >           Missouri S&T Information Technology [url=tel:%28573%29%20612-1412](573) 612-1412[/url] <[url=tel:%28573%29%20612-1412]tel:%28573%29%20612-1412[/url]>
   >           System Administrator - Architect
   >
   >           _________________________________________________________________________
   >           Professional FreeSWITCH Consulting Services:
   > [url=javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');]consulting@freeswitch.org[/url] <javascript:;>
   > http://www.freeswitchsolutions.com
   >
   >           Official FreeSWITCH Sites
   > http://www.freeswitch.org
   > http://confluence.freeswitch.org
   > http://www.cluecon.com
   >
   >           FreeSWITCH-users mailing list
   > [url=javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');]FreeSWITCH-users@lists.freeswitch.org[/url] <javascript:;>
   > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
   >           UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
   > http://www.freeswitch.org
   >
   >
   >
   >
   >         --
   >         mandra
   >         c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >       --
   >       mandra
   >       c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >     --
   >     mandra
   >     c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >     _________________________________________________________________________
   >     Professional FreeSWITCH Consulting Services:
   > [url=javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');]consulting@freeswitch.org[/url] <javascript:;> <javascript:_e(%7B%7D,'cvml','[url=javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');]consulting@freeswitch.org[/url] <javascript:;>');>
   > http://www.freeswitchsolutions.com
   >
   >     Official FreeSWITCH Sites
   > http://www.freeswitch.org
   > http://confluence.freeswitch.org
   > http://www.cluecon.com
   >
   >     FreeSWITCH-users mailing list
   > [url=javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');]FreeSWITCH-users@lists.freeswitch.org[/url] <javascript:;>
   <javascript:_e(%7B%7D,'cvml','[url=javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');]FreeSWITCH-users@lists.freeswitch.org[/url] <javascript:;>');>
   > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
   >     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
   > http://www.freeswitch.org
   >
   >
   >
   >
   > --
   > mandra
   > c:[url=tel:410.258.5281]410.258.5281[/url]
   >
   >
   > _________________________________________________________________________
   > Professional FreeSWITCH Consulting Services:
   > [url=javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');]consulting@freeswitch.org[/url] <javascript:;>
   > http://www.freeswitchsolutions.com
   >
   > Official FreeSWITCH Sites
   > http://www.freeswitch.org
   > http://confluence.freeswitch.org
   > http://www.cluecon.com
   >
   > FreeSWITCH-users mailing list
   > [url=javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');]FreeSWITCH-users@lists.freeswitch.org[/url] <javascript:;>
   > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
   > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
   > http://www.freeswitch.org
   >
   --
   ------------------------------------------------------------
   Nathan Neulinger [url=javascript:_e(%7B%7D,'cvml','nneul@mst.edu');]nneul@mst.edu[/url] <javascript:;>
   Missouri S&T Information Technology  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
   System Administrator - Architect
   _________________________________________________________________________
   Professional FreeSWITCH Consulting Services:
   [url=javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');]consulting@freeswitch.org[/url] <javascript:;>
   http://www.freeswitchsolutions.com
   Official FreeSWITCH Sites
   http://www.freeswitch.org
   http://confluence.freeswitch.org
   http://www.cluecon.com
   FreeSWITCH-users mailing list
   [url=javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');]FreeSWITCH-users@lists.freeswitch.org[/url] <javascript:;>
   http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
   UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
   http://www.freeswitch.org
--
mandra
c:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
[url=javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');]consulting@freeswitch.org[/url]
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
[url=javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');]FreeSWITCH-users@lists.freeswitch.org[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
------------------------------------------------------------
Nathan Neulinger            [url=javascript:_e(%7B%7D,'cvml','nneul@mst.edu');]nneul@mst.edu[/url]
Missouri S&T Information Technology  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
[url=javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');]consulting@freeswitch.org[/url]
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
[url=javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');]FreeSWITCH-users@lists.freeswitch.org[/url]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
--
mandra
c:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
[url=javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');]consulting@freeswitch.org[/url]
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
[url=javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');]FreeSWITCH-users@lists.freeswitch.org[/url]
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 |
|
Back to top |
|
|
mandra at gmail.com Guest
|
Posted: Fri Mar 04, 2016 8:19 am Post subject: [Freeswitch-users] module question |
|
|
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 (mandra@gmail.com)> wrote:
Quote: | Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <[url=javascript:_e(%7B%7D,'cvml','mandra@gmail.com');]mandra@gmail.com[/url]> wrote:
Quote: | 1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org> wrote:
Quote: |
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: Quote: |
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:
Quote: | 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 [url=tel:%28573%29%20612-1412](573) 612-1412[/url] <[url=tel:%28573%29%20612-1412]tel:%28573%29%20612-1412[/url]>
   >           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:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >       --
   >       mandra
   >       c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >     --
   >     mandra
   >     c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >     _________________________________________________________________________
   >     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:[url=tel:410.258.5281]410.258.5281[/url]
   >
   >
   > _________________________________________________________________________
   > 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  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
   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:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
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  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
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:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
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 |
|
Back to top |
|
|
mandra at gmail.com Guest
|
Posted: Fri Mar 04, 2016 8:42 am Post subject: [Freeswitch-users] module question |
|
|
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 (mandra@gmail.com)> wrote:
Quote: | 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 <[url=javascript:_e(%7B%7D,'cvml','mandra@gmail.com');]mandra@gmail.com[/url]> wrote:
Quote: | Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com> wrote:
Quote: | 1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org> wrote:
Quote: |
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: Quote: |
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:
Quote: | 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 [url=tel:%28573%29%20612-1412](573) 612-1412[/url] <[url=tel:%28573%29%20612-1412]tel:%28573%29%20612-1412[/url]>
   >           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:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >       --
   >       mandra
   >       c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >     --
   >     mandra
   >     c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >     _________________________________________________________________________
   >     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:[url=tel:410.258.5281]410.258.5281[/url]
   >
   >
   > _________________________________________________________________________
   > 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  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
   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:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
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  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
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:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
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 |
|
Back to top |
|
|
mandra at gmail.com Guest
|
Posted: Fri Mar 04, 2016 8:55 am Post subject: [Freeswitch-users] module question |
|
|
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 (mandra@gmail.com)> wrote:
Quote: | 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 <[url=javascript:_e(%7B%7D,'cvml','mandra@gmail.com');]mandra@gmail.com[/url]> wrote:
Quote: | 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:
Quote: | Does that make anything come to mind?
On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com> wrote:
Quote: | 1.6
On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org> wrote:
Quote: |
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: Quote: |
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:
Quote: | 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 [url=tel:%28573%29%20612-1412](573) 612-1412[/url] <[url=tel:%28573%29%20612-1412]tel:%28573%29%20612-1412[/url]>
   >           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:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >       --
   >       mandra
   >       c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >
   >
   >     --
   >     mandra
   >     c:[url=tel:410.258.5281]410.258.5281[/url] <[url=tel:410.258.5281]tel:410.258.5281[/url]>
   >
   >     _________________________________________________________________________
   >     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:[url=tel:410.258.5281]410.258.5281[/url]
   >
   >
   > _________________________________________________________________________
   > 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  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
   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:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
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  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
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:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
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 |
|
Back to top |
|
|
nneul at mst.edu Guest
|
Posted: Fri Mar 04, 2016 9:17 am Post subject: [Freeswitch-users] module question |
|
|
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:
Quote: | 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:
Quote: | Have you completely shut FreeSwitch down? There is a chance when you unload a module, that
| module doesn’t actually
Quote: | unload, its still loaded, just deactivated. You can easily verify this by making sure the .so
| for the module is gone,
Quote: | and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org
| [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf
Quote: | 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:
Quote: | Thank you for writing Stephen, I've already tried that, and that's how I know it's
|
| reporting what it's reporting
Quote: | and how
Quote: | 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
Quote: | <javascript:;>>> wrote:
Quote: |
When the file is loaded use find FreeSWITCH's PID and then use the 'lsof -p $PID |
|
| grep mod_' command...
Quote: | it'll show
Quote: | you a list of the modules FreeSWITCH currently has loaded. See if it's loading
|
| from a different path that way.
Quote: | Quote: |
On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com <javascript:;>
| <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote:
Quote: |
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com <javascript:;>
| <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <javascript:;>');>> wrote:
Quote: |
Thanks for your responses so far guys. Italo, its only built from source
|
| so I don't think that's the
Quote: | issue.
Quote: | 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:
Quote: | Quote: |
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:
Quote: | Quote: |
On 03/01/2016 09:41 AM, Chris Mandra wrote:
Quote: | 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
Quote: | successfully reloads
Quote: |
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for the path to
|
| the .so file that it
Quote: | loaded. It's
Quote: | 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
Quote: | Quote: | 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>
Quote: | Quote: | System Administrator - Architect
|
| _________________________________________________________________________
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote: | Quote: | 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:;>');>
--
------------------------------------------------------------
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
_________________________________________________________________________
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 |
|
Back to top |
|
|
mandra at gmail.com Guest
|
Posted: Fri Mar 04, 2016 10:51 am Post subject: [Freeswitch-users] module question |
|
|
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 (nneul@mst.edu)> wrote:
Quote: | 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:
Quote: | 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 (mandra@gmail.com) <mailto:mandra@gmail.com (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 (mandra@gmail.com) <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (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 (mandra@gmail.com)> wrote:
       Does that make anything come to mind?
       On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com (mandra@gmail.com)> wrote:
         1.6
         On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org (krice@freeswitch.org)> wrote:
           What version of FreeSWITCH are you building this against? ____
           __ __
           __ __
           __ __
           __ __
           __ __
           *From:*freeswitch-users-bounces@lists.freeswitch.org (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 10:37 AM
           *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (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 (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 (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 (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 (nneul@mst.edu) <mailto:nneul@mst.edu (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 (steveayre@gmail.com) <javascript:;>
             <mailto:steveayre@gmail.com (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 (mandra@gmail.com) <javascript:;>
             >   <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (mandra@gmail.com) <javascript:;>');>> wrote:
             >   >
             >   >     Any other ideas?
             >   >
             >   >
             >   >     On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com (mandra@gmail.com) <javascript:;>
             >   <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (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 (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 (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 (nneul@mst.edu) <javascript:;>
             >   >           Missouri S&T Information Technology [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
|
--
------------------------------------------------------------
Nathan Neulinger            nneul@mst.edu (nneul@mst.edu)
Missouri S&T Information Technology  (573) 612-1412
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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 |
|
Back to top |
|
|
mandra at gmail.com Guest
|
Posted: Fri Mar 04, 2016 1:12 pm Post subject: [Freeswitch-users] module question |
|
|
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 (mandra@gmail.com)> wrote:
Quote: |
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 (nneul@mst.edu)> wrote:
Quote: | 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:
Quote: | 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 (mandra@gmail.com) <mailto:mandra@gmail.com (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 (mandra@gmail.com) <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (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 (mandra@gmail.com)> wrote:
       Does that make anything come to mind?
       On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com (mandra@gmail.com)> wrote:
         1.6
         On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org (krice@freeswitch.org)> wrote:
           What version of FreeSWITCH are you building this against? ____
           __ __
           __ __
           __ __
           __ __
           __ __
           *From:*freeswitch-users-bounces@lists.freeswitch.org (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 10:37 AM
           *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (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 (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 (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 (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 (nneul@mst.edu) <mailto:nneul@mst.edu (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 (steveayre@gmail.com) <javascript:;>
             <mailto:steveayre@gmail.com (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 (mandra@gmail.com) <javascript:;>
             >   <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (mandra@gmail.com) <javascript:;>');>> wrote:
             >   >
             >   >     Any other ideas?
             >   >
             >   >
             >   >     On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com (mandra@gmail.com) <javascript:;>
             >   <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (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 (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 (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 (nneul@mst.edu) <javascript:;>
             >   >           Missouri S&T Information Technology [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
|
--
------------------------------------------------------------
Nathan Neulinger            nneul@mst.edu (nneul@mst.edu)
Missouri S&T Information Technology  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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:[url=tel:410.258.5281]410.258.5281[/url]
|
--
mandra
c:410.258.5281 |
|
Back to top |
|
|
nneul at mst.edu Guest
|
Posted: Fri Mar 04, 2016 1:17 pm Post subject: [Freeswitch-users] module question |
|
|
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:
Quote: | 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:
Quote: | 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:
Quote: |
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
Quote: | *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:____
Quote: |
I think he said earlier that if he shuts down completely, it works fine, but he's
| wanting to be
Quote: | able to reload on the
fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote:
Quote: | Have you completely shut FreeSwitch down? There is a chance when you unload a
|
| module, that
Quote: | module doesn’t actually
Quote: | unload, its still loaded, just deactivated. You can easily verify this by making
|
| sure the .so
Quote: | for the module is gone,
Quote: | and restarting FreeSWITCH completely.
*From:*freeswitch-users-bounces@lists.freeswitch.org
|
| <mailto:freeswitch-users-bounces@lists.freeswitch.org>
Quote: | [mailto:freeswitch-users-bounces@lists.freeswitch.org
| <mailto:freeswitch-users-bounces@lists.freeswitch.org>] *On Behalf
Quote: | Quote: | 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>>
Quote: | Quote: | *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:
Quote: | Quote: |
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote:
Quote: | Thank you for writing Stephen, I've already tried that, and that's how I
|
|
| know it's
Quote: | reporting what it's reporting
Quote: | and how
Quote: | 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:;>
Quote: | <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com>
Quote: | <javascript:;>>> wrote:
Quote: |
When the file is loaded use find FreeSWITCH's PID and then use the
|
|
| 'lsof -p $PID |
Quote: | grep mod_' command...
Quote: | it'll show
Quote: | you a list of the modules FreeSWITCH currently has loaded. See if it's
|
|
| loading
Quote: | from a different path that way.
Quote: | Quote: |
On 2 March 2016 at 02:52, Chris Mandra <mandra@gmail.com
|
|
| <mailto:mandra@gmail.com> <javascript:;>
Quote: | Quote: | <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com>
|
| <javascript:;>');>> wrote:
Quote: | Quote: | Quote: |
Any other ideas?
On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com
|
|
| <mailto:mandra@gmail.com> <javascript:;>
Quote: | Quote: | <javascript:_e(%7B%7D,'cvml','mandra@gmail.com <mailto:mandra@gmail.com>
|
| <javascript:;>');>> wrote:
Quote: | Quote: | Quote: |
Thanks for your responses so far guys. Italo, its only built
|
|
| from source
Quote: | so I don't think that's the
Quote: | issue.
Quote: | 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:;>>
Quote: | wrote:
Quote: | Quote: |
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>
Quote: | <javascript:;>> wrote:
Quote: | Quote: |
On 03/01/2016 09:41 AM, Chris Mandra wrote:
Quote: | thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're
|
|
|
| gone from my
Quote: | disk) it still reports it
Quote: | successfully reloads
Quote: |
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for
|
|
| the path to
Quote: | the .so file that it
Quote: | loaded. It's
Quote: | likely pulling it in
from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p
|
|
| PID_OF_FREESWITCH', then
Quote: | issue the reload, then kill the
Quote: | Quote: | strace and look for what
file/path it searched/etc.
-- Nathan
|
|
| ------------------------------------------------------------
<javascript:;>
Quote: | Quote: | Quote: | Missouri S&T Information Technology (573) 612-1412
|
|
| <tel:%28573%29%20612-1412>
Quote: | <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412>
Quote: | Quote: | System Administrator - Architect
|
| _________________________________________________________________________
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote: | Quote: | 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>>
Quote: | Quote: | Quote: |
--
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>>
Quote: | Quote: | Quote: |
--
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>>
--
------------------------------------------------------------
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
_________________________________________________________________________
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 |
|
Back to top |
|
|
mandra at gmail.com Guest
|
Posted: Fri Mar 04, 2016 2:03 pm Post subject: [Freeswitch-users] module question |
|
|
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 (nneul@mst.edu)> wrote:
Quote: | 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:
Quote: | 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 (mandra@gmail.com) <mailto:mandra@gmail.com (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 (nneul@mst.edu) <mailto:nneul@mst.edu (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 (mandra@gmail.com) <mailto:mandra@gmail.com (mandra@gmail.com)> <mailto:mandra@gmail.com (mandra@gmail.com) <mailto:mandra@gmail.com (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 (mandra@gmail.com) <mailto:mandra@gmail.com (mandra@gmail.com)> <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (mandra@gmail.com)
     <mailto:mandra@gmail.com (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 (mandra@gmail.com) <mailto:mandra@gmail.com (mandra@gmail.com)>> wrote:
     >
     >       Does that make anything come to mind?
     >
     >       On Wednesday, March 2, 2016, Chris Mandra <mandra@gmail.com (mandra@gmail.com) <mailto:mandra@gmail.com (mandra@gmail.com)>> wrote:
     >
     >         1.6
     >
     >         On Wed, Mar 2, 2016 at 11:57 AM, Ken Rice <krice@freeswitch.org (krice@freeswitch.org) <mailto:krice@freeswitch.org (krice@freeswitch.org)>> wrote:
     >
     >           What version of FreeSWITCH are you building this against? ____
     >
     >           __ __
     >
     >           __ __
     >
     >           __ __
     >
     >           __ __
     >
     >           __ __
     >
     >           *From:*freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) <mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)>
     >           [mailto:freeswitch-users-bounces@lists.freeswitch.org (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 10:37 AM
     >           *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org) <mailto:freeswitch-users@lists.freeswitch.org (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 (nneul@mst.edu) <mailto:nneul@mst.edu (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 (freeswitch-users-bounces@lists.freeswitch.org)
     <mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)>
     >             [mailto:freeswitch-users-bounces@lists.freeswitch.org (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 (freeswitch-users@lists.freeswitch.org)
     <mailto:freeswitch-users@lists.freeswitch.org (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 (nneul@mst.edu)
     <mailto:nneul@mst.edu (nneul@mst.edu)> <mailto:nneul@mst.edu (nneul@mst.edu) <mailto:nneul@mst.edu (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 (steveayre@gmail.com)
     <mailto:steveayre@gmail.com (steveayre@gmail.com)> <javascript:;>
     >             <mailto:steveayre@gmail.com (steveayre@gmail.com) <mailto:steveayre@gmail.com (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 (mandra@gmail.com)
     <mailto:mandra@gmail.com (mandra@gmail.com)> <javascript:;>
     >             >   <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (mandra@gmail.com) <mailto:mandra@gmail.com (mandra@gmail.com)>
     <javascript:;>');>> wrote:
     >             >   >
     >             >   >     Any other ideas?
     >             >   >
     >             >   >
     >             >   >     On Tuesday, March 1, 2016, Chris Mandra <mandra@gmail.com (mandra@gmail.com)
     <mailto:mandra@gmail.com (mandra@gmail.com)> <javascript:;>
     >             >   <javascript:_e(%7B%7D,'cvml','mandra@gmail.com (mandra@gmail.com) <mailto:mandra@gmail.com (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 (mandra@gmail.com)
     <mailto:mandra@gmail.com (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 (nneul@mst.edu) <mailto:nneul@mst.edu (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 (nneul@mst.edu) <mailto:nneul@mst.edu (nneul@mst.edu)>
     <javascript:;>
     >             >   >           Missouri S&T Information Technology [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
     <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 (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (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:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]> <tel:[url=tel:410.258.5281]410.258.5281[/url]
     <tel:[url=tel:410.258.5281]410.258.5281[/url]>> <tel:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>>
     >             >   >
     >             >   >
     >             >   >
     >             >   >       --
     >             >   >       mandra
     >             >   >       c:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]> <tel:[url=tel:410.258.5281]410.258.5281[/url]
     <tel:[url=tel:410.258.5281]410.258.5281[/url]>> <tel:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>>
     >             >   >
     >             >   >
     >             >   >
     >             >   >     --
     >             >   >     mandra
     >             >   >     c:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]> <tel:[url=tel:410.258.5281]410.258.5281[/url]
     <tel:[url=tel:410.258.5281]410.258.5281[/url]>> <tel:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>>
     >             >   >
     >             >   >     _________________________________________________________________________
     >             >   >     Professional FreeSWITCH Consulting Services:
     >             >   >consulting@freeswitch.org (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (consulting@freeswitch.org)> <javascript:;>
     >             <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)> <javascript:;>
     >             >   <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (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:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]> <tel:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>>
     >             >   >
     >             >   >
     >             >   > _________________________________________________________________________
     >             >   > Professional FreeSWITCH Consulting Services:
     >             >   >consulting@freeswitch.org (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (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 (Neulingernneul@mst.edu) <mailto:nneul@mst.edu (nneul@mst.edu)> <javascript:;>
     >             >   Missouri S&T Information Technology[url=tel:%28573%29%20612-1412](573) 612-1412[/url] <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412>
     >             >   System Administrator - Architect
     >             >
     >             >   _________________________________________________________________________
     >             >   Professional FreeSWITCH Consulting Services:
     >             >consulting@freeswitch.org (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (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:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]> <tel:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>>
     >             >
     >             >
     >             >
     >             > _________________________________________________________________________
     >             > Professional FreeSWITCH Consulting Services:
     >             >consulting@freeswitch.org (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (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 (Neulingernneul@mst.edu) <mailto:nneul@mst.edu (nneul@mst.edu)>
     >             Missouri S&T Information Technology[url=tel:%28573%29%20612-1412](573) 612-1412[/url] <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412>
     >             System Administrator - Architect
     >
     >             _________________________________________________________________________
     >             Professional FreeSWITCH Consulting Services:
     >consulting@freeswitch.org (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (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:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]> <tel:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>>____
     >
     >
     >           _________________________________________________________________________
     >           Professional FreeSWITCH Consulting Services:
     > consulting@freeswitch.org (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (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:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>
     >
     >
     >
     >       --
     >       mandra
     >       c:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>
     >
     >
     >
     >     --
     >     mandra
     >     c:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>
     >
     >
     >
     >   --
     >   mandra
     >   c:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>
     >
     >
     >
     > --
     > mandra
     > c:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>
     >
     >
     > _________________________________________________________________________
     > Professional FreeSWITCH Consulting Services:
     > consulting@freeswitch.org (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (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 (nneul@mst.edu) <mailto:nneul@mst.edu (nneul@mst.edu)>
     Missouri S&T Information Technology [url=tel:%28573%29%20612-1412](573) 612-1412[/url] <tel:%28573%29%20612-1412>
     System Administrator - Architect
     _________________________________________________________________________
     Professional FreeSWITCH Consulting Services:
     consulting@freeswitch.org (consulting@freeswitch.org) <mailto:consulting@freeswitch.org (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 (FreeSWITCH-users@lists.freeswitch.org) <mailto:FreeSWITCH-users@lists.freeswitch.org (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:[url=tel:410.258.5281]410.258.5281[/url] <tel:[url=tel:410.258.5281]410.258.5281[/url]>
--
mandra
c:[url=tel:410.258.5281]410.258.5281[/url]
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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 (nneul@mst.edu)
Missouri S&T Information Technology  [url=tel:%28573%29%20612-1412](573) 612-1412[/url]
System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org (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 (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:[url=tel:410.258.5281]410.258.5281[/url] |
|
Back to top |
|
|
nneul at mst.edu Guest
|
Posted: Fri Mar 04, 2016 2:29 pm Post subject: [Freeswitch-users] module question |
|
|
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:
Quote: | 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:
Quote: | 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:
Quote: | 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:
Quote: | Quote: |
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>
Quote: | <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>');>> wrote:
Quote: |
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>>
Quote: | Quote: | [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
Quote: | Of *Chris Mandra
Quote: | *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>>>
Quote: | Quote: | *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>>>
Quote: | wrote:____
Quote: |
I think he said earlier that if he shuts down completely, it works fine, but he's
| wanting to be
Quote: | able to reload on the
fly to test new changes.
-- Nathan
On 03/02/2016 08:59 AM, Ken Rice wrote:
Quote: | Have you completely shut FreeSwitch down? There is a chance when you unload a
|
| module, that
Quote: | module doesn’t actually
Quote: | unload, its still loaded, just deactivated. You can easily verify this by making
|
| sure the .so
Quote: | for the module is gone,
Quote: | 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>>
Quote: | [mailto:freeswitch-users-bounces@lists.freeswitch.org
|
| <mailto:freeswitch-users-bounces@lists.freeswitch.org>
Quote: | <mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>>] *On Behalf
Quote: | Quote: | 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>>>
Quote: | Quote: | *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:
Quote: | Quote: | Quote: |
Is there any chance you are running freeswitch chroot'd?
On 03/02/2016 06:14 AM, Chris Mandra wrote:
Quote: | Thank you for writing Stephen, I've already tried that, and that's how I
|
|
| know it's
Quote: | reporting what it's reporting
Quote: | and how
Quote: | 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:;>
Quote: | <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com>
|
| <mailto:steveayre@gmail.com <mailto:steveayre@gmail.com>>
Quote: | Quote: | Quote: | <javascript:;>>> wrote:
Quote: |
When the file is loaded use find FreeSWITCH's PID and then use the
|
|
| 'lsof -p $PID |
Quote: | grep mod_' command...
Quote: | it'll show
Quote: | you a list of the modules FreeSWITCH currently has loaded. See if it's
|
|
| loading
Quote: | from a different path that way.
Quote: | Quote: |
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:;>
Quote: | Quote: | <javascript:_e(%7B%7D,'cvml','mandra@gmail.com
|
|
| <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>
Quote: | <javascript:;>');>> wrote:
Quote: | Quote: | Quote: |
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:;>
Quote: | Quote: | <javascript:_e(%7B%7D,'cvml','mandra@gmail.com
|
|
| <mailto:mandra@gmail.com> <mailto:mandra@gmail.com <mailto:mandra@gmail.com>>
Quote: | <javascript:;>');>> wrote:
Quote: | Quote: | Quote: |
Thanks for your responses so far guys. Italo, its only built
|
|
| from source
Quote: | so I don't think that's the
Quote: | issue.
Quote: | 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:;>>
Quote: | wrote:
Quote: | Quote: |
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>>
Quote: | <javascript:;>> wrote:
Quote: | Quote: |
On 03/01/2016 09:41 AM, Chris Mandra wrote:
Quote: | thanks for the reply Nathan - this is really weird:
after i remove the .so files (and make sure they're
|
|
|
| gone from my
Quote: | disk) it still reports it
Quote: | successfully reloads
Quote: |
Ok, so issue 'lsof -p PID_OF_FREESWITCH' and look for
|
|
| the path to
Quote: | the .so file that it
Quote: | loaded. It's
Quote: | likely pulling it in
from a different location.
Or 'strace -v -f -s 500 -o /tmp/trc -p
|
|
| PID_OF_FREESWITCH', then
Quote: | issue the reload, then kill the
Quote: | Quote: | strace and look for what
file/path it searched/etc.
-- Nathan
|
|
| ------------------------------------------------------------
| <mailto:nneul@mst.edu> <mailto:nneul@mst.edu <mailto:nneul@mst.edu>>
Quote: | <javascript:;>
Quote: | Quote: | Quote: | Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412>
|
|
| <tel:%28573%29%20612-1412>
Quote: | <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412>
Quote: | Quote: | System Administrator - Architect
|
| _________________________________________________________________________
|
| <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;>
Quote: | Quote: | Quote: | Quote: | http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
|
| UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote: | Quote: | 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>>>
Quote: | Quote: | Quote: | Quote: |
--
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>>>
Quote: | Quote: | Quote: | Quote: |
--
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>>>
Quote: | Quote: | Quote: | Quote: |
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
|
|
|
| <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> <javascript:;>
Quote: | Quote: | <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org
|
| <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>>
<javascript:;>');>
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;>
Quote: | Quote: | Quote: | <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:;>');>
Quote: | Quote: | Quote: | Quote: | 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>>>
Quote: | Quote: | Quote: | Quote: |
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
|
|
|
| <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;>
Quote: | Quote: | Quote: | Quote: | 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:;>
Quote: | Quote: | Quote: | Missouri S&T Information Technology(573) 612-1412
|
|
| <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412>
Quote: | Quote: | Quote: | System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
|
|
| <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>> <javascript:;>
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>> <javascript:;>
Quote: | Quote: | Quote: | 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>>>
Quote: | Quote: | Quote: |
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org>
|
|
| <mailto:consulting@freeswitch.org <mailto:consulting@freeswitch.org>>
<mailto:FreeSWITCH-users@lists.freeswitch.org> <mailto:FreeSWITCH-users@lists.freeswitch.org
<mailto:FreeSWITCH-users@lists.freeswitch.org>>
Quote: | Quote: | Quote: | 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>>
Quote: | Quote: | Missouri S&T Information Technology(573) 612-1412 <tel:%28573%29%20612-1412>
|
| <tel:%28573%29%20612-1412> <tel:%28573%29%20612-1412>
Quote: | Quote: | System Administrator - Architect
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org
|
| <mailto:consulting@freeswitch.org>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>>
Quote: | Quote: | 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>>>____
Quote: | Quote: |
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org <mailto:consulting@freeswitch.org> <mailto:consulting@freeswitch.org
|
| <mailto:consulting@freeswitch.org>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>>
Quote: | Quote: | 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>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org>>
Quote: | Quote: | 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>>
<mailto:FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.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
_________________________________________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|