Summary: | ASTERISK-16836: [patch] A call locks when sending SIP originate from AMI script | ||
Reporter: | sustav (sustav) | Labels: | |
Date Opened: | 2010-10-19 17:48:08 | Date Closed: | 2010-10-21 11:46:17 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/ManagerInterface |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) bt_and_coreshowlocks ( 1) manager_locking_v1.diff | |
Description: | Reproducible but only on a single unit. Can not reproduce on the other. | ||
Comments: | By: David Vossel (dvossel) 2010-10-19 17:53:15 I'm looking into this. By: sustav (sustav) 2010-10-20 13:20:54 Without the patch a channel consistently gets locked. With the patch does not lock. By: Digium Subversion (svnbot) 2010-10-21 11:14:34 Repository: asterisk Revision: 292595 U branches/1.8/main/manager.c ------------------------------------------------------------------------ r292595 | dvossel | 2010-10-21 11:14:34 -0500 (Thu, 21 Oct 2010) | 14 lines Fixes recursive lock problem in manager.c It is possible for a AMI session to freeze because of invalid use of recursive locks during the EVENT processing. This patch removes the unnecessary locks. (closes issue ASTERISK-16836) Reported by: sustav Patches: manager_locking_v1.diff uploaded by dvossel (license 671) Tested by: sustav ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=292595 By: Digium Subversion (svnbot) 2010-10-21 11:46:16 Repository: asterisk Revision: 292597 _U trunk/ U trunk/main/manager.c ------------------------------------------------------------------------ r292597 | dvossel | 2010-10-21 11:46:16 -0500 (Thu, 21 Oct 2010) | 19 lines Merged revisions 292595 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r292595 | dvossel | 2010-10-21 11:14:33 -0500 (Thu, 21 Oct 2010) | 14 lines Fixes recursive lock problem in manager.c It is possible for a AMI session to freeze because of invalid use of recursive locks during the EVENT processing. This patch removes the unnecessary locks. (closes issue ASTERISK-16836) Reported by: sustav Patches: manager_locking_v1.diff uploaded by dvossel (license 671) Tested by: sustav ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=292597 |