[Home]

Summary:ASTERISK-09669: GROUP_LIST() issue
Reporter:dario (dario)Labels:
Date Opened:2007-06-13 10:29:59Date Closed:2007-06-14 10:25:27
Priority:BlockerRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) group_list-cpuusage.diff
( 1) group_list-cpuusage-1.4.diff
Description:I have a dialplan:
exten => _227X,1,NoOp(Group Count: ${GROUP_COUNT(Alex)})
exten => _227X,2,Set(GROUP()=Alexander)
exten => _227X,3,NoOp(Group List: ${GROUP_LIST()})
exten => _227X,4,NoOp(Group Count: ${GROUP_COUNT()})
exten => _227X,5,NoOp(Group Count2: ${GROUP_COUNT(Alex)})
exten => _227X,6,GotoIf($[${GROUP_COUNT(Alex)} > 6]?103)
exten => _227X,7,Dial(SIP/${EXTEN},60,tTr)
exten => _227X,108,congestion()

I make a call to 2273, phone is ringing, then I make a call to 2274 and second phone is ringing but asterisk takes 99% cpu. When I hangup both connection asterisk still takes 99% cpu. I have check that problem is ${GROUP_LIST()}. If I remove this command asterisk works OK.


****** ADDITIONAL INFORMATION ******

I checked this on 1.4.4 and this version is affected too.
Comments:By: Jason Parker (jparker) 2007-06-13 10:47:17

I just uploaded two patches - one for 1.4 and one for 1.2.  Please try them, and let me know if it still happens.

By: dario (dario) 2007-06-14 02:56:46

It works OK :)

By: Jason Parker (jparker) 2007-06-14 10:25:26

Fixed in svn branches 1.2, 1.4, and trunk in revisions 69258, 69259, and 69260