[Home]

Summary:ASTERISK-05789: originate action causes server to drop tcp session
Reporter:Bill Michaelson (billmichaelson)Labels:
Date Opened:2005-12-06 14:01:20.000-0600Date Closed:2005-12-15 07:45:44.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The summary says it all.  It can be reproduced with telnet.  My (Java) client recovers by reconnecting immediately, but that is a work-around, and strictly speaking, I suppose that events could be lost.

Version is:

CVS HEAD built by root@hack on a i686 running Linux on 2005-10-12 00:14:50 UTC
Comments:By: Bill Michaelson (billmichaelson) 2005-12-06 16:14:29.000-0600

Further testing confirmed my fears about missed event reports.  I ran a telnet connection to the Manager in parallel to my application.  The application issued the originate action and immediately reconnected to the server.  Comparison of the data received by telnet against the application indicated several missed events which my application required in order to report on the progress of the call.

I will try working around this by starting a separate thread to open a parallel manager session in order to issue the originate command, so that the primary thread can monitor the event report stream without interruption.

I think this moves the severity to minor or higher. I don't know how to change it.

By: Kevin P. Fleming (kpfleming) 2005-12-12 22:31:52.000-0600

There have been _zero_ other reports of this behavior; please provide us a complete (verbose/debug) console trace of your Asterisk console when this problem occurs.

By: Russell Bryant (russell) 2005-12-13 00:47:59.000-0600

Indeed, this is kind of bizarre ...

Since your code is a little bit out of date, please update to the svn trunk or version 1.2 and see if this problem still exists.  There were a lot of changes to manager.c around the time that your code was built.

By: Bill Michaelson (billmichaelson) 2005-12-14 11:32:02.000-0600

Before I undertake the project you have assigned me, please indicate whether either responder has actually opened a telnet manager session with a current Asterisk release, and issued an originate to see what happens?

Because if you have, and you could not reproduce the behavior, I will assume the problem has been corrected, accidentally or otherwise, and live with my work-around until upgrade.  I'm sure you can well appreciate that I don't want to spend time chasing a bug that no longer exists, nor do I want to update my otherwise stable installation unnecessarily.

And if you haven't tried it, I'll weigh my options, and you can weigh yours.

By: BJ Weschke (bweschke) 2005-12-14 20:14:28.000-0600

I've done it. It doesn't drop me. Pls, if you'd like for the issue to stop, take the advice of kpfleming and drumkilla. If you're fine doing your workaround, then we will close out this bug as we are unable to reproduce it with the current version.

By: Bill Michaelson (billmichaelson) 2005-12-15 06:25:47.000-0600

Thank you.  Close it out.