Summary: | ASTERISK-04895: [patch] AEL does not properly parse Apps with equals in the arguments | ||
Reporter: | Beau Hargis (beaufrog) | Labels: | |
Date Opened: | 2005-08-24 14:36:19 | Date Closed: | 2008-01-15 15:45:46.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | PBX/pbx_ael |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) pbx_ael.c-assign.diff | |
Description: | Apps like Curl and Cut require an equals sign for their arguments. The function match_assignment in pbx_ael.c does not take this into account and improperly make an assignment out of the statement. ****** ADDITIONAL INFORMATION ****** I have a small, quick patch to have it ignore the equals sign if it is between parens, but not if it is outsize of parens like the assignments for setting TIMEOUTs. Needs to be made a bit more robust, but works for me at the moment and allows me to continue to create Applications with AEL. | ||
Comments: | By: Michael Jerris (mikej) 2005-08-24 16:26:43 can you please confirm if you have a disclaimer with digium? By: Beau Hargis (beaufrog) 2005-08-24 17:19:36 I have faxed a disclaimer in today. By: Kevin P. Fleming (kpfleming) 2005-08-26 16:06:58 Committed to CVS HEAD, thanks! By: Digium Subversion (svnbot) 2008-01-15 15:45:46.000-0600 Repository: asterisk Revision: 6424 U trunk/pbx/pbx_ael.c ------------------------------------------------------------------------ r6424 | kpfleming | 2008-01-15 15:45:46 -0600 (Tue, 15 Jan 2008) | 2 lines ignore equals-signs inside parens (issue ASTERISK-4895) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=6424 |