Summary: | ASTERISK-04886: [patch] Cannot jump to an n(label) priority | ||
Reporter: | Trevor Hammonds (trevmeister) | Labels: | |
Date Opened: | 2005-08-24 05:19:26 | Date Closed: | 2008-01-15 15:45:30.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20050824__random_fix.diff.txt | |
Description: | Random() does function like Goto() when using n(label) priorities. Using the following command: exten => 1234,1,Random(50:label) I get the following error: app_random.c:86 random_exec: Priority 'label' must be a number > 0 | ||
Comments: | By: Tilghman Lesher (tilghman) 2005-08-24 12:08:48 Patch uploaded. Disclaimer on file. By: Clod Patry (junky) 2005-08-24 17:31:40 Trevmeister: could you confirm it works for you too? By: Trevor Hammonds (trevmeister) 2005-08-24 20:37:58 Junky: The patch works! Thanks, guys. Let me know if I need to do anything else (I am new to Mantis). By: Kevin P. Fleming (kpfleming) 2005-08-25 00:02:34 Committed to CVS HEAD, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:45:30.000-0600 Repository: asterisk Revision: 6406 U trunk/apps/app_random.c ------------------------------------------------------------------------ r6406 | kpfleming | 2008-01-15 15:45:29 -0600 (Tue, 15 Jan 2008) | 2 lines ensure that Random() can support priority labels as targets (issue ASTERISK-4886) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6406 |