Summary: | ASTERISK-07609: [patch] "save dialplan" doesn't save labels | ||
Reporter: | Stefano Brandimarte (stevens) | Labels: | |
Date Opened: | 2006-08-28 07:11:19 | Date Closed: | 2006-08-29 07:32:43 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/Configuration |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) pbx_config_savelabel+genvars.diff ( 1) pbx_config+savelabel+general-1.2.11.diff | |
Description: | The "save dialplan" cli command write an incomplete "extensions.conf" file. If there're priority labels they won't be written out. ****** STEPS TO REPRODUCE ****** put something like: exten => something,1(testlabel),NoOp(dummy extension) then issue a: CLI*> save dialplan and check the resulting extensions.conf file. ****** ADDITIONAL INFORMATION ****** bug related to 1.2.x branch also; patch for SVN attached. I marked this bug as "minor", even if the saved dialplan will cause serious errors (every jump to a label won't work anymore). | ||
Comments: | By: Stefano Brandimarte (stevens) 2006-08-28 07:31:59 patch added for asterisk 1.2.11. By: Serge Vecher (serge-v) 2006-08-28 09:13:23 stevens: thanks for the patch. Can you please make sure that you use c-style (*/), not c++-style (//) comments? Thanks... By: Stefano Brandimarte (stevens) 2006-08-28 09:21:59 vechers: ok will do. Latest patch is against 1.2.11 and includes fix for the "general" context that now has these other variables thrown away when saving extensions.conf by issuing a "save dialplan" CLI command: autofallthrough clearglobalvars priorityjumping By: Stefano Brandimarte (stevens) 2006-08-28 09:31:17 patch added for SVN-trunk-r40928M that includes the "general" context variables. By: Steve Murphy (murf) 2006-08-29 07:29:40 Many thanks for the patches! I have revision numbers 41262 and 41267 for the 1.2 and trunk patches. By: Steve Murphy (murf) 2006-08-29 07:32:43 With patches applied, it appears this bug can be closed. Many thanks to stevens! |