Calls being cut off while recording a message
Hi, I'm using freeswitch as a glorified answering machine. FS registers with a VOIP gateway and all calls into the gateway go through an ivr menu and are allowed to leave a message which gets recorded to a file. The FS box is behind a NAT firewall. Everything works fine except that intermittently, calls keep getting cut off after a number of seconds. I've attached a snapshot of the log at the point that the call gets cut off, can anyone suggest why this is happening or how I can prevent it? Many thanks Andy
I'm going to guess you're not on SVN trunk? what rev are you on? /b On Mar 31, 2009, at 8:04 AM, Andy Ayers wrote:
Hi,
I'm using freeswitch as a glorified answering machine. FS registers with a VOIP gateway and all calls into the gateway go through an ivr menu and are allowed to leave a message which gets recorded to a file. The FS box is behind a NAT firewall. Everything works fine except that intermittently, calls keep getting cut off after a number of seconds.
I've attached a snapshot of the log at the point that the call gets cut off, can anyone suggest why this is happening or how I can prevent it?
Many thanks Andy <log-snippet.txt>_______________________________________________ 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
Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com
Hi Brian, 1.03 Thanks Andy -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 31 March 2009 14:27 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Calls being cut off while recording a message I'm going to guess you're not on SVN trunk? what rev are you on? /b On Mar 31, 2009, at 8:04 AM, Andy Ayers wrote: Hi, I'm using freeswitch as a glorified answering machine. FS registers with a VOIP gateway and all calls into the gateway go through an ivr menu and are allowed to leave a message which gets recorded to a file. The FS box is behind a NAT firewall. Everything works fine except that intermittently, calls keep getting cut off after a number of seconds. I've attached a snapshot of the log at the point that the call gets cut off, can anyone suggest why this is happening or how I can prevent it? Many thanks Andy <log-snippet.txt>_______________________________________________ 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 Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Please try SVN trunk. /b On Mar 31, 2009, at 8:36 AM, Andy Ayers wrote:
Hi Brian,
1.03
Thanks Andy
Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com
Hi Brian, I've upgraded to svn trunk but am now getting errors on load which are preventing it from working: 2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_shout.so **/usr/local/freeswitch/mod/mod_shout.so: undefined symbol: ogg_stream_pagein** 2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey.so **/usr/local/freeswitch/lib/libjs.so.1: undefined symbol: PR_LocalTimeParameters** Sorry if this is obvious but what have I done wrong? Thanks for your help Andy -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 31 March 2009 14:40 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Calls being cut off while recording a message Please try SVN trunk. /b On Mar 31, 2009, at 8:36 AM, Andy Ayers wrote: Hi Brian, 1.03 Thanks Andy Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Hi Brian, I've upgraded to svn trunk but am now getting errors on load which are preventing it from working: 2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_shout.so **/usr/local/freeswitch/mod/mod_shout.so: undefined symbol: ogg_stream_pagein** 2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey.so **/usr/local/freeswitch/lib/libjs.so.1: undefined symbol: PR_LocalTimeParameters** Sorry if this is obvious but what have I done wrong? Thanks for your help Andy -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 31 March 2009 14:40 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Calls being cut off while recording a message Please try SVN trunk. /b On Mar 31, 2009, at 8:36 AM, Andy Ayers wrote: Hi Brian, 1.03 Thanks Andy Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Please update... rebootstrap.. you caught SVN with the libtool patch which kinda broken a few things linking. /b On Apr 6, 2009, at 4:07 AM, Andy Ayers wrote:
Hi Brian,
I've upgraded to svn trunk but am now getting errors on load which are preventing it from working:
2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/ freeswitch/mod/mod_shout.so **/usr/local/freeswitch/mod/mod_shout.so: undefined symbol: ogg_stream_pagein** 2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/ freeswitch/mod/mod_spidermonkey.so **/usr/local/freeswitch/lib/libjs.so.1: undefined symbol: PR_LocalTimeParameters**
Sorry if this is obvious but what have I done wrong?
Thanks for your help Andy
Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com
Hi Brian, Ok, all up to date, the errors have gone and the software is basically working but the cut off problem still exists. I have an identical software install running on a machine that is not behind a firewall and the cut off doesn't seem to occur. This would seem to suggest it's firewall related. Any clues? regards Andy -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 06 April 2009 14:24 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Calls being cut off while recording a message Please update... rebootstrap.. you caught SVN with the libtool patch which kinda broken a few things linking. /b On Apr 6, 2009, at 4:07 AM, Andy Ayers wrote: Hi Brian, I've upgraded to svn trunk but am now getting errors on load which are preventing it from working: 2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_shout.so **/usr/local/freeswitch/mod/mod_shout.so: undefined symbol: ogg_stream_pagein** 2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey.so **/usr/local/freeswitch/lib/libjs.so.1: undefined symbol: PR_LocalTimeParameters** Sorry if this is obvious but what have I done wrong? Thanks for your help Andy Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Don't record in Mp3, I don't recommend it.. /b On Apr 6, 2009, at 11:10 AM, Andy Ayers wrote:
Hi Brian,
Ok, all up to date, the errors have gone and the software is basically working but the cut off problem still exists. I have an identical software install running on a machine that is not behind a firewall and the cut off doesn't seem to occur. This would seem to suggest it's firewall related. Any clues?
regards Andy
Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com
Hi Brian, Just doing some more testing, simplified the call by not even trying to record the incoming audio and placing a while (session.ready()) {} loop in the ivr code instead and the calls all now terminate with RECOVERY_ON_TIMER_EXPIRE. Does this shed any light on the subject at all? regards Andy -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 06 April 2009 14:24 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Calls being cut off while recording a message Please update... rebootstrap.. you caught SVN with the libtool patch which kinda broken a few things linking. /b On Apr 6, 2009, at 4:07 AM, Andy Ayers wrote: Hi Brian, I've upgraded to svn trunk but am now getting errors on load which are preventing it from working: 2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_shout.so **/usr/local/freeswitch/mod/mod_shout.so: undefined symbol: ogg_stream_pagein** 2009-04-03 11:35:52 [CRIT] switch_loadable_module.c:871 switch_loadable_module_load_file() Error Loading module /usr/local/freeswitch/mod/mod_spidermonkey.so **/usr/local/freeswitch/lib/libjs.so.1: undefined symbol: PR_LocalTimeParameters** Sorry if this is obvious but what have I done wrong? Thanks for your help Andy Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Three letters come to mind... N A T! ;) What is your network topo? /b On Apr 6, 2009, at 11:31 AM, Andy Ayers wrote:
Hi Brian,
Just doing some more testing, simplified the call by not even trying to record the incoming audio and placing a while (session.ready()) {} loop in the ivr code instead and the calls all now terminate with RECOVERY_ON_TIMER_EXPIRE.
Does this shed any light on the subject at all?
regards Andy
Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com
Hi Brian, The freeswitch server is connect to the internet via a Cisico ASA firewall currently running in NAT mode. I believe it's that simple but can't be sure of the equipment between my firewall and the internet. regards Andy -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 06 April 2009 17:39 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Calls being cut off while recording a message Three letters come to mind... N A T! ;) What is your network topo? /b On Apr 6, 2009, at 11:31 AM, Andy Ayers wrote: Hi Brian, Just doing some more testing, simplified the call by not even trying to record the incoming audio and placing a while (session.ready()) {} loop in the ivr code instead and the calls all now terminate with RECOVERY_ON_TIMER_EXPIRE. Does this shed any light on the subject at all? regards Andy Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
Hi Brian, Is NAT a known problem? Is there a work around? The messages on the lists seem to imply other folks have this working ok behind NAT firewalls. What's your recommendation for how I should proceed? regards Andy -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: 06 April 2009 17:39 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Calls being cut off while recording a message Three letters come to mind... N A T! ;) What is your network topo? /b On Apr 6, 2009, at 11:31 AM, Andy Ayers wrote: Hi Brian, Just doing some more testing, simplified the call by not even trying to record the incoming audio and placing a while (session.ready()) {} loop in the ivr code instead and the calls all now terminate with RECOVERY_ON_TIMER_EXPIRE. Does this shed any light on the subject at all? regards Andy Brian West brian@freeswitch.org -- Meet us a ClueCon! http://www.cluecon.com <http://www.cluecon.com/>
participants (2)
-
Andy Ayers
-
Brian West