Summary: | ASTERISK-11194: GROUP_COUNT called in macro cause crash | ||
Reporter: | Igor Goncharovsky (igorg) | Labels: | |
Date Opened: | 2008-01-09 23:22:23.000-0600 | Date Closed: | 2008-01-10 09:10:09.000-0600 |
Priority: | Critical | Regression? | No |
Status: | Closed/Complete | Components: | Functions/func_groupcount |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) bt_core_group.txt ( 1) group_count.v1.patch | |
Description: | After update to latest SVN I have issue with crashing asterisk on outgoing calls using following macro: [macro-dialout-elecom] exten => s,1,Set(GROUP()=ELECOM) exten => s,n,GotoIf($[${GROUP_COUNT()} >= ${LIMIT}] ?limit) | ||
Comments: | By: Igor Goncharovsky (igorg) 2008-01-10 02:03:51.000-0600 Patch uploaded, also corrected description of function and warning due to function changed behavior. By: Digium Subversion (svnbot) 2008-01-10 09:07:35.000-0600 Repository: asterisk Revision: 97697 U branches/1.4/funcs/func_groupcount.c ------------------------------------------------------------------------ r97697 | file | 2008-01-10 09:07:34 -0600 (Thu, 10 Jan 2008) | 6 lines Don't try to copy the category from the group if no category exists. (closes issue ASTERISK-11194) Reported by: IgorG Patches: group_count.v1.patch uploaded by IgorG (license 20) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=97697 By: Digium Subversion (svnbot) 2008-01-10 09:10:09.000-0600 Repository: asterisk Revision: 97698 _U trunk/ U trunk/funcs/func_groupcount.c ------------------------------------------------------------------------ r97698 | file | 2008-01-10 09:10:06 -0600 (Thu, 10 Jan 2008) | 14 lines Merged revisions 97697 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r97697 | file | 2008-01-10 11:07:12 -0400 (Thu, 10 Jan 2008) | 6 lines Don't try to copy the category from the group if no category exists. (closes issue ASTERISK-11194) Reported by: IgorG Patches: group_count.v1.patch uploaded by IgorG (license 20) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=97698 |