|Summary:||ASTERISK-12407: [patch] If context wasn't found in extensions.conf - don't give up, look in RT.|
|Reporter:||Sergey Tamkovich (sergee)||Labels:|
|Date Opened:||2008-07-18 03:04:41||Date Closed:||2011-06-07 14:02:43|
|Environment:||Attachments:||( 0) remove-6019-trunk-r131907.diff|
( 1) rt-contexts-16-r131907.diff
|Description:||Idea: i don't want to edit extensions.conf each time i add new context. Iwant to store contexts directly in RT engine.|
This issue relates to 6019. Code 6019, doesn't work as expected, so here is another implementation of the same idea.
How it works: if context not found in memory (extensions.conf) and alwayscheckrt is present in extensions.conf, asterisk will perfom search in configured RT engine.
- very similar to Switch=> syntax.
****** ADDITIONAL INFORMATION ******
There are 2 patches:
1. Made against 1.6.0 branch - adds a new option 'alwayscheckrt' to asterisk.
2. Made against Trunk - removes code from 6019, as it doesn't work as stated.
Tested with 1.6.0 and trunk
|Comments:||By: Tilghman Lesher (tilghman) 2008-08-11 11:47:30|
The right thing to do here is to actually fix the code in ASTERISK-5860, not disable it. The switch type is the right way to do this, as you may want to enable realtime lookup in some contexts, but not others, and you may want to have realtime lookup in a realtime context that does not match the name of the extensions.conf context.
By: Tilghman Lesher (tilghman) 2008-09-17 16:42:53
No response from reporter.