Summary: | ASTERISK-07730: [patch] Redirecting a call with the management API can cause a call to hangup | ||
Reporter: | JBluestein (jaredbluestein) | Labels: | |
Date Opened: | 2006-09-12 11:46:58 | Date Closed: | 2011-06-07 14:03:04 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) pbx_redirect_patch.diff | |
Description: | If a call is actively running a dialplan and the "Redirect" command moves the call to another extension, the call can terminate. This occurs if the application that is executing when the redirect occurs returns a success code of "0" instead of a failure. Most applications that cause the system to wait return a -1 failure. ****** ADDITIONAL INFORMATION ****** The problem isn't with the application, it occurs in __ast_pbx_run. The value of c->_softhangup needs to be checked for AST_SOFTHANGUP_ASYNCGOTO after ast_spawn_extension gets executed even if the app didn't return an error. I believe this problem exists in the trunk code also. | ||
Comments: | By: Serge Vecher (serge-v) 2006-09-13 11:20:36 Jared: thanks for the patch. If possible, please: 1) Get a disclaimer on file (see bottom of http://bugs.digium.com/main_page.php) and confirm here with a note when you fax it in. 2) Review the CODING GUIDELINES document, there are some spacing issues in your patch. By: JBluestein (jaredbluestein) 2006-09-14 12:17:59 A disclaimer for me has been faxed to Digium. I have REREAD the coding guidelines. While I do admit that adding a single line to a 2 line change does mean that my code was 33% inaccurate, I hardly think it deserves a "spacing issues" note. By: jmls (jmls) 2006-11-02 12:09:21.000-0600 can we confirm that the disclaimer was received ? Thanks. JaredBluestein: please would you be able to upload the latest version of the patch ? Many thanks. By: Anthony LaMantia (alamantia) 2006-11-06 15:29:12.000-0600 we are checking this out right now, it will most likely be until tommrow before i get a response. By: Anthony LaMantia (alamantia) 2006-11-07 13:59:42.000-0600 aftering asking kpfleming, we have no copy of your disclaimer on file, can you please fax another one into to us as soon as you can. By: Tilghman Lesher (tilghman) 2006-12-10 23:56:16.000-0600 Housekeeping ping. Jared, have you resent your disclaimer? By: JBluestein (jaredbluestein) 2006-12-22 10:06:18.000-0600 I have asked management in my company to resend the disclaimer. Since I am developing for a company with a license from you, its not something I can personally fill out. By: Tilghman Lesher (tilghman) 2007-02-05 16:02:45.000-0600 Without a disclaimer, there is no way we can proceed. Please feel free to reopen this issue when you have filed a disclaimer. |