075de98c93
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r136726 | murf | 2008-08-07 18:15:34 -0600 (Thu, 07 Aug 2008) | 32 lines (closes issue #13236) Reported by: korihor Wow, this one was a challenge! I regrouped and ran a new strategy for setting the ~~MACRO~~ value; I set it once per extension, up near the top. It is only set if there is a switch in the extension. So, I had to put in a chunk of code to detect a switch in the pval tree. I moved the code to insert the set of ~~exten~~ up to the beginning of the gen_prios routine, instead of down in the switch code. I learned that I have to push the detection of the switches down into the code, so everywhere I create a new exten in gen_prios, I make sure to pass onto it the values of the mother_exten first, and the exten next. I had to add a couple fields to the exten struct to accomplish this, in the ael_structs.h file. The checked field makes it so we don't repeat the switch search if it's been done. I also updated the regressions. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@136746 f38db490-d61c-443f-a65b-d21fe96a405b |
||
---|---|---|
.. | ||
ael-ntest9 | ||
ael-ntest10 | ||
ael-ntest12 | ||
ael-ntest22 | ||
ael-ntest23 | ||
ael-ntest24 | ||
ael-test1 | ||
ael-test2 | ||
ael-test3 | ||
ael-test4 | ||
ael-test5 | ||
ael-test6 | ||
ael-test7 | ||
ael-test8 | ||
ael-test11 | ||
ael-test14 | ||
ael-test15 | ||
ael-test16 | ||
ael-test18 | ||
ael-test19 | ||
ael-test20 | ||
ael-vtest13 | ||
ael-vtest17 | ||
ael-vtest21 | ||
ref.ael-ntest9 | ||
ref.ael-ntest10 | ||
ref.ael-ntest12 | ||
ref.ael-ntest22 | ||
ref.ael-ntest23 | ||
ref.ael-ntest24 | ||
ref.ael-test1 | ||
ref.ael-test2 | ||
ref.ael-test3 | ||
ref.ael-test4 | ||
ref.ael-test5 | ||
ref.ael-test6 | ||
ref.ael-test7 | ||
ref.ael-test8 | ||
ref.ael-test11 | ||
ref.ael-test14 | ||
ref.ael-test15 | ||
ref.ael-test16 | ||
ref.ael-test18 | ||
ref.ael-test19 | ||
ref.ael-test20 | ||
ref.ael-vtest13 | ||
ref.ael-vtest17 | ||
ref.ael-vtest21 | ||
runtests | ||
setref |