process-rxfax.py Python Script and FreeSWITCH 1.2.3
I'm using the process-rxfax.py Python script found on the mod_spandsp wiki page (http://wiki.freeswitch.org/wiki/Mod_spandsp). It's worked great up until I just upgraded two FreeSWITCH boxes to version 1.2.3 from 1.2.1. Does anyone know if there was a change in mod_spandsp that would have broken the script? When a fax call is received FreeSWITCH immediately hangs up with a DESTINATION_OUT_OF_ORDER. The error that gets thrown in the cli is: 2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid Application rxfax If need be, I'll open a jira. My thought though was that it may be a problem with the script needing an update rather than an issue with FreeSWITCH itself. Thanks, Jason Komar
If the rxfax app is not found that sounds like possibly a problem with mod_spandsp. You might want to reconfig spandsp. Go to your fs src directory and do this: make spandsp-reconf && make install Then restart FreeSWITCH and see if you get the rxfax app back. If not, you need to look at the logs when FS starts up and look for errors. Possibly something isn't loading properly and usually the error message will give you a clue, like a missing .so file. -MC On Wed, Oct 24, 2012 at 8:50 AM, Komar, Jason <jkomar@jbox.ca> wrote:
I'm using the process-rxfax.py Python script found on the mod_spandsp wiki page (http://wiki.freeswitch.org/wiki/Mod_spandsp). It's worked great up until I just upgraded two FreeSWITCH boxes to version 1.2.3 from 1.2.1.
Does anyone know if there was a change in mod_spandsp that would have broken the script? When a fax call is received FreeSWITCH immediately hangs up with a DESTINATION_OUT_OF_ORDER.
The error that gets thrown in the cli is:
2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid Application rxfax
If need be, I'll open a jira. My thought though was that it may be a problem with the script needing an update rather than an issue with FreeSWITCH itself.
Thanks,
Jason Komar
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
On Wed, Oct 24, 2012 at 09:50:01AM -0600, Komar, Jason wrote:
I'm using the process-rxfax.py Python script found on the mod_spandsp wiki page ([1]http://wiki.freeswitch.org/wiki/Mod_spandsp). It's worked great up until I just upgraded two FreeSWITCH boxes to version 1.2.3 from 1.2.1.
The error that gets thrown in the cli is:
2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid Application rxfax
This sounds like you do not have rxfax/spandsp compiled on the new version? Maybe see what you get if you run: module_exists mod_spandsp from fs_cli? You may need to recompile freeswitch after running: make spandsp-reconf Regards,
I recompiled everything and tried to load mod_spandsp from cli. Here's the output: +OK log level [7] freeswitch@internal> load mod_spandsp +OK Reloading XML -ERR [module load file routine returned an error] 2012-10-24 11:31:43.797883 [INFO] mod_enum.c:871 ENUM Reloaded 2012-10-24 11:31:43.797883 [INFO] switch_time.c:1163 Timezone reloaded 530 definitions 2012-10-24 11:31:43.797883 [CRIT] switch_loadable_module.c:1310 Error Loading module /opt/freeswitch/mod/mod_spandsp.so **/opt/freeswitch/mod/mod_spandsp.so: undefined symbol: lzma_stream_encoder** Thanks. Jason On Wed, Oct 24, 2012 at 10:45 AM, Paul Cupis <paul@cupis.co.uk> wrote:
On Wed, Oct 24, 2012 at 09:50:01AM -0600, Komar, Jason wrote:
I'm using the process-rxfax.py Python script found on the mod_spandsp wiki page ([1]http://wiki.freeswitch.org/wiki/Mod_spandsp). It's worked great up until I just upgraded two FreeSWITCH boxes to version 1.2.3 from 1.2.1.
The error that gets thrown in the cli is:
2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid Application rxfax
This sounds like you do not have rxfax/spandsp compiled on the new version?
Maybe see what you get if you run:
module_exists mod_spandsp
from fs_cli?
You may need to recompile freeswitch after running:
make spandsp-reconf
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
It sounds like spandsp didn't get updated properly. You may want to try a fresh clone and rebuild from scratch to make sure nothing happened when you updated. -MC On Wed, Oct 24, 2012 at 10:34 AM, Komar, Jason <jkomar@jbox.ca> wrote:
I recompiled everything and tried to load mod_spandsp from cli. Here's the output:
+OK log level [7] freeswitch@internal> load mod_spandsp +OK Reloading XML -ERR [module load file routine returned an error]
2012-10-24 11:31:43.797883 [INFO] mod_enum.c:871 ENUM Reloaded 2012-10-24 11:31:43.797883 [INFO] switch_time.c:1163 Timezone reloaded 530 definitions 2012-10-24 11:31:43.797883 [CRIT] switch_loadable_module.c:1310 Error Loading module /opt/freeswitch/mod/mod_spandsp.so **/opt/freeswitch/mod/mod_spandsp.so: undefined symbol: lzma_stream_encoder**
Thanks. Jason
On Wed, Oct 24, 2012 at 10:45 AM, Paul Cupis <paul@cupis.co.uk> wrote:
On Wed, Oct 24, 2012 at 09:50:01AM -0600, Komar, Jason wrote:
I'm using the process-rxfax.py Python script found on the mod_spandsp wiki page ([1]http://wiki.freeswitch.org/wiki/Mod_spandsp). It's worked great up until I just upgraded two FreeSWITCH boxes to version 1.2.3 from 1.2.1.
The error that gets thrown in the cli is:
2012-10-24 09:30:38.257880 [ERR] switch_core_session.c:2369 Invalid Application rxfax
This sounds like you do not have rxfax/spandsp compiled on the new version?
Maybe see what you get if you run:
module_exists mod_spandsp
from fs_cli?
You may need to recompile freeswitch after running:
make spandsp-reconf
Regards,
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
participants (3)
-
Komar, Jason
-
Michael Collins
-
Paul Cupis