VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
stevecrozz at gmail.com Guest
|
Posted: Tue May 05, 2009 12:14 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
We had our first big issues with our freeswitch system today. During at least 2 conferences, audio became jittery and there were three occasions where everyone was dropped from a conference. Even so, conference recording was not interrupted, and the freeswitch debug log doesn't show anything unusual.
Our hardware monitoring software doesn't show any kind of unusual resources usage, and our web host claims there were no outages during the time when we were experiencing problems.
We're currently running revision 12259.
How should I proceed in diagnosing this issue?
--Stephen |
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Tue May 05, 2009 12:28 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
Stephen Crosby <stevecrozz@gmail.com> wrote:
Quote: | We had our first big issues with our freeswitch system today. During at
least 2 conferences, audio became jittery and there were three occasions
where everyone was dropped from a conference. Even so, conference recording
was not interrupted, and the freeswitch debug log doesn't show anything
unusual.
|
My suspicion is that it's a network problem unrelated to FreeSWITCH.
Did you try pinging the host while the problems were occurring?
What did FreeSWITCH report in the log as the reason for terminating the calls
to the conference?
_______________________________________________
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 |
|
|
stevecrozz at gmail.com Guest
|
Posted: Tue May 05, 2009 12:53 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
Network problem is what I'm still thinking. Take a look at this log snippet:
http://pastebin.freeswitch.org/8813
I'm CALLER_A, and you can see me calling back in on line 8 after I got dropped. But that was only seconds prior. There really seems to be nothing in the log at the time the calls were dropped.
--Stephen
On Mon, May 4, 2009 at 10:27 PM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
|
|
Back to top |
|
|
stevecrozz at gmail.com Guest
|
Posted: Tue May 05, 2009 12:56 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
To answer the other question, I did not try pinging the host while the problems were occurring, but I was able to call back in with no problem only a few seconds after I got dropped (less than 20), so if it is a network issue it would have to have been very brief.
--Stephen
On Mon, May 4, 2009 at 10:52 PM, Stephen Crosby <stevecrozz@gmail.com (stevecrozz@gmail.com)> wrote:
Quote: | Network problem is what I'm still thinking. Take a look at this log snippet:
http://pastebin.freeswitch.org/8813
I'm CALLER_A, and you can see me calling back in on line 8 after I got dropped. But that was only seconds prior. There really seems to be nothing in the log at the time the calls were dropped.
--Stephen
On Mon, May 4, 2009 at 10:27 PM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
|
|
|
Back to top |
|
|
stevecrozz at gmail.com Guest
|
Posted: Tue May 05, 2009 1:09 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
Sorry for the extra messages, but I've just discovered something that probably helps pinpoint the problem:
http://pastebin.freeswitch.org/8814
It seems that the callers were disconnected, but freeswitch had to wait a timeout period before it actually hangs up which looks like about 5 minutes. So I was disconnected from a conference, then I called back in, then freeswitch later hung up on the first call. This seems very much like a network problem.
What can I do to fix it?
--Stephen
On Mon, May 4, 2009 at 10:55 PM, Stephen Crosby <stevecrozz@gmail.com (stevecrozz@gmail.com)> wrote:
Quote: | To answer the other question, I did not try pinging the host while the problems were occurring, but I was able to call back in with no problem only a few seconds after I got dropped (less than 20), so if it is a network issue it would have to have been very brief.
--Stephen
On Mon, May 4, 2009 at 10:52 PM, Stephen Crosby <stevecrozz@gmail.com (stevecrozz@gmail.com)> wrote:
Quote: | Network problem is what I'm still thinking. Take a look at this log snippet:
http://pastebin.freeswitch.org/8813
I'm CALLER_A, and you can see me calling back in on line 8 after I got dropped. But that was only seconds prior. There really seems to be nothing in the log at the time the calls were dropped.
--Stephen
On Mon, May 4, 2009 at 10:27 PM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
|
|
|
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Tue May 05, 2009 1:12 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
Stephen Crosby <stevecrozz@gmail.com> wrote:
Quote: | Network problem is what I'm still thinking. Take a look at this log snippet:
http://pastebin.freeswitch.org/8813
I'm CALLER_A, and you can see me calling back in on line 8 after I got
dropped. But that was only seconds prior. There really seems to be nothing
in the log at the time the calls were dropped.
|
In particular, the "dropped" calls weren't shown to have terminated at that
point. Can you search through the logs and find out when they did terminate,
and why? A time-out, perhaps? Assuming that FreeSWITCH didn't crash, and show
channels indicates that those sessions aren't still current, they must have
timed out or otherwise terminated at some point, which would have left log
messages.
I've been in situations involving brief network outages (say, 10 seconds)
after which FreeSWITCH conferences have resumed as normal, with no dropped
connections. However, those circumstances involved FreeSWITCH instances on
both ends of the call; it is possible, though uninformed speculation on my
part, that some other devices might time out quicker in the event of network
issues.
Another test you could try, if this persists, is to run FreeSWITCH locally and
use it to call the conference. If the call terminates abnormally, you will
then have the logs at both ends.
Of course, your phone might have logs itself, but the FreeSWITCH ones are
probably better.
Your report of jitter is also indicative of a less than reliable network.
_______________________________________________
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 |
|
|
jason at jasonjgw.net Guest
|
Posted: Tue May 05, 2009 1:24 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
Stephen Crosby <stevecrozz@gmail.com> wrote:
Quote: | Sorry for the extra messages, but I've just discovered something that
probably helps pinpoint the problem:
http://pastebin.freeswitch.org/8814
It seems that the callers were disconnected, but freeswitch had to wait a
timeout period before it actually hangs up which looks like about 5 minutes.
So I was disconnected from a conference, then I called back in, then
freeswitch later hung up on the first call. This seems very much like a
network problem.
|
Yes, and it was the device at your end that terminated the call.
I would start by setting up alarm pings (say, ping -a) on my local machine and
listening for jitter and drop-outs. If it turns out to be a network problem,
then it's very likely an issue between you and your hosting provider at that
point.
_______________________________________________
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 |
|
|
stevecrozz at gmail.com Guest
|
Posted: Tue May 05, 2009 1:34 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
I was on this conference and there were 4 of us that got dropped at the same time. By the way, these were all regular PSTN lines calling through our SIP provider and being routed to our freeswitch instance which is being hosted on a VPS.
When you say a device on my end terminated the call, do you mean our home telephones which we used to dial in or the freeswitch box?
--Stephen
On Mon, May 4, 2009 at 11:22 PM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
|
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Tue May 05, 2009 1:49 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
Stephen Crosby <stevecrozz@gmail.com> wrote:
Quote: | I was on this conference and there were 4 of us that got dropped at the same
time. By the way, these were all regular PSTN lines calling through our SIP
provider and being routed to our freeswitch instance which is being hosted
on a VPS.
When you say a device on my end terminated the call, do you mean our home
telephones which we used to dial in or the freeswitch box?
|
No, I mean the SIP device managing your end of the connection, which in that
case would be your SIP -> PSTN provider.
_______________________________________________
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 |
|
|
brian at freeswitch.org Guest
|
Posted: Tue May 05, 2009 5:50 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
First off you're not on SVN trunk secondly Are you executing the conference app inside your js file? If so then there could be the problem! You have also forgotten to include anything about Distro, OS, CPU and Memory.
/b
On May 5, 2009, at 12:12 AM, Stephen Crosby wrote:
Quote: | We had our first big issues with our freeswitch system today. During at least 2 conferences, audio became jittery and there were three occasions where everyone was dropped from a conference. Even so, conference recording was not interrupted, and the freeswitch debug log doesn't show anything unusual.
Our hardware monitoring software doesn't show any kind of unusual resources usage, and our web host claims there were no outages during the time when we were experiencing problems.
We're currently running revision 12259.
How should I proceed in diagnosing this issue?
--Stephen |
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
stevecrozz at gmail.com Guest
|
Posted: Tue May 05, 2009 9:48 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
I know I'm not on svn trunk, but this is a production server and it's just not feasible to update it constantly. I can update it though if you think I need to. I am routing callers to the conference app with javascript like this:
session.execute("conference", xyz);
Can you tell me more about the problems I could have?
The machine running freeswitch has 1024MB memory and I'm not sure about the CPU since its a VPS.
--Stephen
On Tue, May 5, 2009 at 3:49 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
|
|
Back to top |
|
|
stevecrozz at gmail.com Guest
|
Posted: Tue May 05, 2009 9:56 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
Forgot to add that my OS is Ubuntu 8.04LTS (hardy heron).
--Stephen
On Tue, May 5, 2009 at 7:42 AM, Stephen Crosby <stevecrozz@gmail.com (stevecrozz@gmail.com)> wrote:
Quote: | I know I'm not on svn trunk, but this is a production server and it's just not feasible to update it constantly. I can update it though if you think I need to. I am routing callers to the conference app with javascript like this:
session.execute("conference", xyz);
Can you tell me more about the problems I could have?
The machine running freeswitch has 1024MB memory and I'm not sure about the CPU since its a VPS.
--Stephen
On Tue, May 5, 2009 at 3:49 AM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
|
|
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Tue May 05, 2009 10:31 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
You should rule out the network problems first, which sound more likely.
you can reduce the overuse of JS if you transfer the call to a regular extension with a dynamic regex.
session.execute("transfer", "conf-xyz");
then make a regex in your xml dialplan to pick up ^conf-(.*) and execute conference $1
On Tue, May 5, 2009 at 9:48 AM, Stephen Crosby <stevecrozz@gmail.com (stevecrozz@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
mfedyk at mikefedyk.com Guest
|
Posted: Thu May 14, 2009 11:41 am Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
Why is initiating a conference from a dial plan entry better than
directly from an internal script? Is there a page that details what
is and isn't script abuse?
On 5/5/09, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Quote: | You should rule out the network problems first, which sound more likely.
you can reduce the overuse of JS if you transfer the call to a regular
extension with a dynamic regex.
session.execute("transfer", "conf-xyz");
then make a regex in your xml dialplan to pick up ^conf-(.*) and execute
conference $1
On Tue, May 5, 2009 at 9:48 AM, Stephen Crosby <stevecrozz@gmail.com> wrote:
Quote: | Forgot to add that my OS is Ubuntu 8.04LTS (hardy heron).
--Stephen
On Tue, May 5, 2009 at 7:42 AM, Stephen Crosby
<stevecrozz@gmail.com>wrote:
Quote: | I know I'm not on svn trunk, but this is a production server and it's
just
not feasible to update it constantly. I can update it though if you think
I
need to. I am routing callers to the conference app with javascript like
this:
session.execute("conference", xyz);
Can you tell me more about the problems I could have?
The machine running freeswitch has 1024MB memory and I'm not sure about
the CPU since its a VPS.
--Stephen
On Tue, May 5, 2009 at 3:49 AM, Brian West <brian@freeswitch.org> wrote:
Quote: | First off you're not on SVN trunk secondly Are you executing the
conference app inside your js file? If so then there could be the
problem!
You have also forgotten to include anything about Distro, OS, CPU and
Memory.
/b
On May 5, 2009, at 12:12 AM, Stephen Crosby wrote:
We had our first big issues with our freeswitch system today. During at
least 2 conferences, audio became jittery and there were three occasions
where everyone was dropped from a conference. Even so, conference
recording
was not interrupted, and the freeswitch debug log doesn't show anything
unusual.
Our hardware monitoring software doesn't show any kind of unusual
resources usage, and our web host claims there were no outages during
the
time when we were experiencing problems.
We're currently running revision 12259.
How should I proceed in diagnosing this issue?
--Stephen
Brian West
brian@freeswitch.org
-- Meet us at ClueCon! 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
|
|
_______________________________________________
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
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
pstn:213-799-1400
|
--
Sent from my mobile device
_______________________________________________
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 |
|
|
msc at freeswitch.org Guest
|
Posted: Thu May 14, 2009 12:00 pm Post subject: [Freeswitch-users] help with mod_conference stability |
|
|
Javascript has it's own issues. Tony wrote FreeSWITCH, including the dialplan parser. The less you can use JS, especially in a high-volume environment, the better. The happy medium is to use Lua. It is small, lightweight, easy, and designed to be embedded. Tony has had 3000 Lua session up simultaneously with no issues. I guarantee you that JS would have a meltdown at a fraction of that volume...
-MC
On Thu, May 14, 2009 at 9:32 AM, Mike Fedyk <mfedyk@mikefedyk.com (mfedyk@mikefedyk.com)> wrote:
Quote: | Why is initiating a conference from a dial plan entry better than
directly from an internal script? Is there a page that details what
is and isn't script abuse?
On 5/5/09, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | You should rule out the network problems first, which sound more likely.
you can reduce the overuse of JS if you transfer the call to a regular
extension with a dynamic regex.
session.execute("transfer", "conf-xyz");
then make a regex in your xml dialplan to pick up ^conf-(.*) and execute
conference $1
On Tue, May 5, 2009 at 9:48 AM, Stephen Crosby <stevecrozz@gmail.com (stevecrozz@gmail.com)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email]) <MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])<PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email]) <sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])>
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])<googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])>
pstn:213-799-1400
|
--
Sent from my mobile device
_______________________________________________
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
|
|
|
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
|